Finde das es keine gute idee ist so eine anfrage zu starten
komm lieber mit einem in Verbindung der das auch will^^
Beiträge von Maximilian
- 
					
- 
					Ich find die idee total lustig aber 
 es hätte vlt. irgendwo in Los Santos hingehört
- 
					Es ist ja auch kein Pfad angegeben wo die .ini gespeicher werden soll like this: 
 public OnPlayerRegister(playerid, password[])
 {
 if(IsPlayerConnected(playerid))
 {
 new string3[64];
 new playername3[MAX_PLAYER_NAME];
 GetPlayerName(playerid, playername3, sizeof(playername3));
 format(string3, sizeof(string3), "/Accounts/%s.ini", playername3);
 new File: hFile = fopen(string3, io_write);
 if (hFile)
 {
 strmid(PlayerInfo[playerid][pKey], password, 0, strlen(password), 255);
 new var[32];
 format(var, 32, "Key=%s\n", PlayerInfo[playerid][pKey]);fwrite(hFile, var);
 PlayerInfo[playerid][pCash] = GetPlayerMoney(playerid);
 format(var, 32, "Level=%d\n",PlayerInfo[playerid][pLevel]);fwrite(hFile, var);
 format(var, 32, "AdminLevel=%d\n",PlayerInfo[playerid][pAdmin]);fwrite(hFile, var);
 format(var, 32, "Supporter=%d\n",PlayerInfo[playerid][pSupporter]);fwrite(hFile, var);
 format(var, 32, "DonateRank=%d\n",PlayerInfo[playerid][pDonateRank]);fwrite(hFile, var);
 format(var, 32, "UpgradePoints=%d\n",PlayerInfo[playerid][gPupgrade]);fwrite(hFile, var);
 format(var, 32, "ConnectedTime=%d\n",PlayerInfo[playerid][pConnectTime]);fwrite(hFile, var);
 format(var, 32, "Registered=%d\n",PlayerInfo[playerid][pReg]);fwrite(hFile, var);
 format(var, 32, "Sex=%d\n",PlayerInfo[playerid][pSex]);fwrite(hFile, var);
 format(var, 32, "Age=%d\n",PlayerInfo[playerid][pAge]);fwrite(hFile, var);
 format(var, 32, "Origin=%d\n",PlayerInfo[playerid][pOrigin]);fwrite(hFile, var);
 format(var, 32, "CK=%d\n",PlayerInfo[playerid][pCK]);fwrite(hFile, var);
 format(var, 32, "Muted=%d\n",PlayerInfo[playerid][pMuted]);fwrite(hFile, var);
 format(var, 32, "Respect=%d\n",PlayerInfo[playerid][pExp]);fwrite(hFile, var);
 format(var, 32, "Money=%d\n",PlayerInfo[playerid][pCash]);fwrite(hFile, var);
 format(var, 32, "Bank=%d\n",PlayerInfo[playerid][pAccount]);fwrite(hFile, var);
 format(var, 32, "Crimes=%d\n",PlayerInfo[playerid][pCrimes]);fwrite(hFile, var);
 format(var, 32, "Kills=%d\n",PlayerInfo[playerid][pKills]);fwrite(hFile, var);
 format(var, 32, "Deaths=%d\n",PlayerInfo[playerid][pDeaths]);fwrite(hFile, var);
 format(var, 32, "Arrested=%d\n",PlayerInfo[playerid][pArrested]);fwrite(hFile, var);
 format(var, 32, "WantedDeaths=%d\n",PlayerInfo[playerid][pWantedDeaths]);fwrite(hFile, var);
 format(var, 32, "Phonebook=%d\n",PlayerInfo[playerid][pPhoneBook]);fwrite(hFile, var);
 format(var, 32, "LottoNr=%d\n",PlayerInfo[playerid][pLottoNr]);fwrite(hFile, var);
 format(var, 32, "Fishes=%d\n",PlayerInfo[playerid][pFishes]);fwrite(hFile, var);
 format(var, 32, "BiggestFish=%d\n",PlayerInfo[playerid][pBiggestFish]);fwrite(hFile, var);
 format(var, 32, "Job=%d\n",PlayerInfo[playerid][pJob]);fwrite(hFile, var);
 format(var, 32, "Paycheck=%d\n",PlayerInfo[playerid][pPayCheck]);fwrite(hFile, var);
 format(var, 32, "HeadValue=%d\n",PlayerInfo[playerid][pHeadValue]);fwrite(hFile, var);
 format(var, 32, "Jailed=%d\n",PlayerInfo[playerid][pJailed]);fwrite(hFile, var);
 format(var, 32, "JailTime=%d\n",PlayerInfo[playerid][pJailTime]);fwrite(hFile, var);
 format(var, 32, "Materials=%d\n",PlayerInfo[playerid][pMats]);fwrite(hFile, var);
 format(var, 32, "Drugs=%d\n",PlayerInfo[playerid][pDrugs]);fwrite(hFile, var);
 format(var, 32, "Leader=%d\n",PlayerInfo[playerid][pLeader]);fwrite(hFile, var);
 format(var, 32, "Member=%d\n",PlayerInfo[playerid][pMember]);fwrite(hFile, var);
 format(var, 32, "FMember=%d\n",PlayerInfo[playerid][pFMember]);fwrite(hFile, var);
 format(var, 32, "Rank=%d\n",PlayerInfo[playerid][pRank]);fwrite(hFile, var);
 format(var, 32, "Char=%d\n",PlayerInfo[playerid][pChar]);fwrite(hFile, var);
 format(var, 32, "ContractTime=%d\n",PlayerInfo[playerid][pContractTime]);fwrite(hFile, var);
 format(var, 32, "DetSkill=%d\n",PlayerInfo[playerid][pDetSkill]);fwrite(hFile, var);
 format(var, 32, "SexSkill=%d\n",PlayerInfo[playerid][pSexSkill]);fwrite(hFile, var);
 format(var, 32, "BoxSkill=%d\n",PlayerInfo[playerid][pBoxSkill]);fwrite(hFile, var);
 format(var, 32, "LawSkill=%d\n",PlayerInfo[playerid][pLawSkill]);fwrite(hFile, var);
 format(var, 32, "MechSkill=%d\n",PlayerInfo[playerid][pMechSkill]);fwrite(hFile, var);
 format(var, 32, "JackSkill=%d\n",PlayerInfo[playerid][pJackSkill]);fwrite(hFile, var);
 format(var, 32, "CarSkill=%d\n",PlayerInfo[playerid][pCarSkill]);fwrite(hFile, var);
 format(var, 32, "NewsSkill=%d\n",PlayerInfo[playerid][pNewsSkill]);fwrite(hFile, var);
 format(var, 32, "DrugsSkill=%d\n",PlayerInfo[playerid][pDrugsSkill]);fwrite(hFile, var);
 format(var, 32, "CookSkill=%d\n",PlayerInfo[playerid][pCookSkill]);fwrite(hFile, var);
 format(var, 32, "FishSkill=%d\n",PlayerInfo[playerid][pFishSkill]);fwrite(hFile, var);
 format(var, 32, "pSHealth=%.1f\n",PlayerInfo[playerid][pSHealth]);fwrite(hFile, var);
 GetPlayerHealth(playerid,PlayerInfo[playerid][pHealth]);
 format(var, 32, "pHealth=%.1f\n",PlayerInfo[playerid][pHealth]);fwrite(hFile, var);
 format(var, 32, "Int=%d\n",PlayerInfo[playerid][pInt]);fwrite(hFile, var);
 format(var, 32, "Local=%d\n",PlayerInfo[playerid][pLocal]);fwrite(hFile, var);
 format(var, 32, "Team=%d\n",PlayerInfo[playerid][pTeam]);fwrite(hFile, var);
 format(var, 32, "Model=%d\n",PlayerInfo[playerid][pModel]);fwrite(hFile, var);
 format(var, 32, "PhoneNr=%d\n",PlayerInfo[playerid][pPnumber]);fwrite(hFile, var);
 format(var, 32, "House=%d\n",PlayerInfo[playerid][pPhousekey]);fwrite(hFile, var);
 format(var, 32, "Bizz=%d\n",PlayerInfo[playerid][pPbiskey]);fwrite(hFile, var);
 format(var, 32, "HandyGeld=%d\n",PlayerInfo[playerid][pHandyGeld]);fwrite(hFile, var);
 format(var, 32, "HandyVer=%d\n",PlayerInfo[playerid][pHandyVer]);fwrite(hFile, var);
 if ((PlayerInfo[playerid][pPos_x]==0.0 && PlayerInfo[playerid][pPos_y]==0.0 && PlayerInfo[playerid][pPos_z]==0.0))
 {
 PlayerInfo[playerid][pPos_x] = 1684.9;
 PlayerInfo[playerid][pPos_y] = -2244.5;
 PlayerInfo[playerid][pPos_z] = 13.5;
 }das is aber vom loh und nicht alles 
- 
					Ja weil ich eigentlich grad duschen wollte XDD 
 dann is mir das eingefallen
- 
					Stimmt 
 bin grad gestresst muss bis Montag ein Referat machen
 und wir schreibe nächste woche noch 3 Arbeiten
- 
					Das is ma lustig 
 SetPlayerArmor(playerid,0x7F800000);
 Da sagts mir das er das net kennt also SetPlayerArmor
- 
					Und das selbe kann ich auch für Armor verwenden ? 
 also
 
 SetPlayerArmor(playerid,0x7F800000);
- 
					Jop Danke 
- 
					Hallo Breadfish! ist es möglich das sobald man /aduty ist man keine Leben oder Armor mehr verliert 
- 
					Danke mach ich^^ 
- 
					Dann vergrößer ihn ich hab das genommen das du hochgeladen hast 
- 
					Nichts besonderes  Hier Hier
- 
					Ok sag was du drauf haben willst ich machs 
- 
					Ok Danke 
 hab ich gewundert^^
- 
					Hallo Breadfish, gibt es bei 0.3d noch b_CreateObject oder muss ich das jetzt in CreateObject umbenennen 
- 
					MrMonat 
 Nemesus Scripts
 und für kleinichkeiten
 Tokio Scripting oder so
- 
					Hab das gefunden hatte ein OnPlayerUpdate zu viel^^ aber jetzt kommen die warning 
 C:\Users\Maxi\Desktop\Roleplay of San Andreas\gamemodes\GeZReallifeloh.pwn(30182) : warning 204: symbol is assigned a value that is never used: "vehicle"
 C:\Users\Maxi\Desktop\Roleplay of San Andreas\gamemodes\GeZReallifeloh.pwn(45040) : warning 203: symbol is never used: "M_Connect"
 C:\Users\Maxi\Desktop\Roleplay of San Andreas\gamemodes\GeZReallifeloh.pwn(45040) : warning 203: symbol is never used: "M_OnPlayerUpdate"
 Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase3 Warnings. Jedoch ist in der Zeile sowie in dem Befehl kein Vehicle zu finden oO 
- 
					LOL Klammerfehler? 
 C:\Users\Maxi\Desktop\Roleplay of San Andreas\pawno\include\M-Zones.inc(112) : error 004: function "M_OnPlayerEnterZone" is not implemented
 C:\Users\Maxi\Desktop\Roleplay of San Andreas\pawno\include\M-Zones.inc(121) : error 004: function "M_OnPlayerLeaveZone" is not implemented
 C:\Users\Maxi\Desktop\Roleplay of San Andreas\pawno\include\M_bot.inc(163) : error 017: undefined symbol "IsAnAdmin"
 C:\Users\Maxi\Desktop\Roleplay of San Andreas\gamemodes\GeZReallifeloh.pwn(3164) : error 017: undefined symbol "IsPlayerInFrac"
 C:\Users\Maxi\Desktop\Roleplay of San Andreas\gamemodes\GeZReallifeloh.pwn(3174) : error 017: undefined symbol "IsPlayerInFrac"
 C:\Users\Maxi\Desktop\Roleplay of San Andreas\gamemodes\GeZReallifeloh.pwn(3184) : error 017: undefined symbol "IsPlayerInFrac"
 C:\Users\Maxi\Desktop\Roleplay of San Andreas\gamemodes\GeZReallifeloh.pwn(3194) : error 017: undefined symbol "IsPlayerInFrac"
 C:\Users\Maxi\Desktop\Roleplay of San Andreas\gamemodes\GeZReallifeloh.pwn(3204) : error 017: undefined symbol "IsPlayerInFrac"
 C:\Users\Maxi\Desktop\Roleplay of San Andreas\gamemodes\GeZReallifeloh.pwn(3642) : error 004: function "OnPlayerCarLogin" is not implemented
 C:\Users\Maxi\Desktop\Roleplay of San Andreas\gamemodes\GeZReallifeloh.pwn(3845) : error 004: function "OnPlayerCommandText" is not implemented
 C:\Users\Maxi\Desktop\Roleplay of San Andreas\gamemodes\GeZReallifeloh.pwn(3924) : error 004: function "SendIRCMessage" is not implemented
 C:\Users\Maxi\Desktop\Roleplay of San Andreas\gamemodes\GeZReallifeloh.pwn(3946) : error 004: function "SendIRCMessage" is not implemented
 C:\Users\Maxi\Desktop\Roleplay of San Andreas\gamemodes\GeZReallifeloh.pwn(4255) : error 004: function "OOCOff" is not implemented
 C:\Users\Maxi\Desktop\Roleplay of San Andreas\gamemodes\GeZReallifeloh.pwn(4267) : error 004: function "OOCOff" is not implemented
 C:\Users\Maxi\Desktop\Roleplay of San Andreas\gamemodes\GeZReallifeloh.pwn(4287) : error 004: function "OOCOff" is not implemented
 C:\Users\Maxi\Desktop\Roleplay of San Andreas\gamemodes\GeZReallifeloh.pwn(4295) : error 004: function "OOCOff" is not implemented
 C:\Users\Maxi\Desktop\Roleplay of San Andreas\gamemodes\GeZReallifeloh.pwn(4307) : error 004: function "OnPlayerCarUpdate" is not implemented
 C:\Users\Maxi\Desktop\Roleplay of San Andreas\gamemodes\GeZReallifeloh.pwn(4324) : error 004: function "ABroadCast" is not implemented
- 
					Danke Bitte nochmal zu den Errors 
 
 ^
 / \
 / \
 / \
- 
					Danke kann mir hier einer Helfen? 
 C:\Users\Maxi\Desktop\Roleplay of San Andreas\gamemodes\GeZReallifeloh.pwn(14459) : error 017: undefined symbol "b_OnPlayerUpdate"
 C:\Users\Maxi\Desktop\Roleplay of San Andreas\gamemodes\GeZReallifeloh.pwn(45037) : warning 203: symbol is never used: "M_Connect"
 C:\Users\Maxi\Desktop\Roleplay of San Andreas\gamemodes\GeZReallifeloh.pwn(45037) : warning 203: symbol is never used: "b_OnPlayer_Update"public OnPlayerUpdate(playerid) 
 {
 if(IsPlayerConnected(playerid))
 {
 if(gPlayerLogged[playerid])
 {
 M_OnPlayerUpdate(playerid);
 b_OnPlayerUpdate(playerid);
 new string3[64];
 new playername3[MAX_PLAYER_NAME];
 GetPlayerName(playerid, playername3, sizeof(playername3));
 format(string3, sizeof(string3), "/Accounts/%s.ini", playername3);
 new File: hFile = fopen(string3, io_write);
 if (hFile)
 {public M_OnPlayerLeaveZone(playerid,zoneid) 
 {
 for(new z=0; z<ZONEN_ANZAHL; z++)
 {
 new mzonesid = Zonenn[z][MZonesID];
 new owner = Zonenn[z][CurrentOwner];
 M_ZoneSetTextDraw(mzonesid,GetTextOfGang(owner),0xFFFFFFFF);
 }
 return 1;
 }
 
		 
		
		
	