Elvileg mindent megcsináltam amit mondtál, de még így is ez a hiba fent áll. Vagy valamit elkurtam :\'D
public OnPlayerConnect(playerid){for(new x = 0; x < 100; x++) SendClientMessage(playerid, 0x00000000, \" \");SendClientMessage(playerid, COLOR_LIGHTGREEN, \"Betöltés folyamatban... kérlek várj...\");AC_Figyelmeztetes[playerid] = 0; Fegyver[playerid] = {false, false, false, false, false, false, false, false, false, false, false, false}; Tolteny[playerid] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};Sisak[playerid] = 0; SisakotVesz[playerid] = 0;Aukciozik[playerid] = false; Harcol[playerid] = false; HarcolTerulet[playerid] = NINCS; Tamasi[playerid] = false; AJSzokesek[playerid] = 0; KocsitSokkolt[playerid] = 0;Rejtett[playerid] = 0; Jelzes[playerid] = 0; JelzesIdo[playerid] = 0; Varosban[playerid] = false; Ugrasok[playerid] = {0,0,0}; TaxiHivas[playerid] = false; MentoHivas[playerid] = false;Vizsgafajta[playerid] = 0; AnimIdo[playerid] = 0; SzemBekotve[playerid] = 0; SzajBekotve[playerid] = 0; JatekBetoltve[playerid] = false; Licitalt[playerid] = false;OvFlood[playerid] = 0; SebessegKorlat[playerid] = 0; Szunet[playerid] = false; SzunetIdo[playerid] = 0; Fbios[playerid] = NINCS; Hazbanvan[playerid] = 0;Nyomozott[playerid] = 0; JarmuKulcs[playerid] = NINCS; HazKulcs[playerid] = NINCS; NPC_ID[playerid] = NINCS;Sokkolt[playerid] = 0; Leutott[playerid] = 0; Leutve[playerid] = false; LeutveIdo[playerid] = 0; BelepesIdo[playerid] = 0; TrafiPax[playerid][tAktiv] = false; TrafiPax[playerid][tBuntetheto] = 0; Tankol[playerid][0] = 0; Kilepesek[playerid] = true;JatekosZsak[playerid] = NINCS; BenzintSzallit[playerid] = false; PlayerOnline[playerid] = true;HolTart[playerid] = NINCS; Tszin[playerid] = NINCS; Tkerek[playerid] = NINCS; Csere[playerid] = NINCS; MitCsere[playerid] = NINCS; AdminSzint[playerid] = 0; SzefEngedely[playerid] = 0;RadioHallgatas[playerid] = NINCS; LezartUtat[playerid] = 0; LezartUtZ[playerid] = 0.000000; LezartUtY[playerid] = 0.000000; LezartUtX[playerid] = 0.000000;/*MenyiABenzinAra[playerid] = NINCS; MenyitTankol[playerid] = NINCS; Tankol[playerid] = 0;*/ UresUveg[playerid] = 0; KiMergezte[playerid] = NINCS; Mergezve[playerid] = 0; VanSzelvenye[playerid] = 0; talalatok[playerid] = 0;PSzam5[playerid] = 0; PSzam6[playerid] = 0; PSzam7[playerid] = 0; PSzam8[playerid] = 0;PSzam1[playerid] = 0; PSzam2[playerid] = 0; PSzam3[playerid] = 0; PSzam4[playerid] = 0;TudReportolni[playerid] = 0; Locsolas[playerid] = NINCS; Locsolniakar[playerid] = NINCS;BViadal[playerid] = 0; Nevek[playerid] = 0; Biztos[playerid] = 0; Belepve[playerid] = 0; Fbicelpont[playerid] = NINCS;PrivatEngedely[playerid] = NINCS; PrivatAr[playerid] = NINCS; PrivatAjanlat[playerid] = NINCS; VizsgaAr[playerid] = 0; VizsgaAjanlat[playerid] = NINCS; C4Kocsiban[playerid] = NINCS; C4Z[playerid] = 0.000000; C4Y[playerid] = 0.000000; C4X[playerid] = 0.000000; C4Lerakva[playerid] = 0;CsatlakozottSzamla[playerid] = NINCS; Szondaztat[playerid] = NINCS; KereskedoKocsiElad[playerid] = NINCS; KereskedoKocsiVetel[playerid] = NINCS; Rabol[playerid] = 0; //Tankol[playerid] = 0;Edzik[playerid] = 0; TanultStilus[playerid] = 0; AdasVeteliNeki[playerid] = NINCS; AdasVeteliTipus[playerid] = NINCS; MostLepettBe[playerid] = 1; AdminJelszoMegadva[playerid] = 0; Fegyvere[playerid] = 0;HitmanDuty[playerid] = 0; HibasBelepes[playerid] = 0; tuningolo[playerid] = 0; //ov[playerid] = 0;reporttiltva[playerid] = 0; FelujitasElfogadas[playerid] = NINCS; RegEngedely[playerid] = 0; RegAdatok[playerid] = 0;ElsoSpawn[playerid] = 1; Dialog[playerid] = -1; AFKIdo[playerid] = 0; AdminDuty[playerid] = 0;AFK[playerid] = 0; Visz[playerid] = NINCS; Engedely[playerid] = 0; LopasProbalkozas[playerid] = 0;SelectChar[playerid] = 0; HidePM[playerid] = 0; PhoneOnline[playerid] = 0;SelectCharID[playerid] = 0; SelectCharPlace[playerid] = 0; ChosenSkin[playerid] = 0;GettingJob[playerid] = 0; GuardOffer[playerid] = 999; GuardPrice[playerid] = 0; ApprovedLawyer[playerid] = 0; CallLawyer[playerid] = 0; WantLawyer[playerid] = 0;KickPlayer[playerid] = 0; CurrentMoney[playerid] = 0; UsedFind[playerid] = 0;CP[playerid] = 0; Robbed[playerid] = 0; Autocp[playerid] = 0; Repulocp[playerid] = 0; Hajocp[playerid] = 0; Kamioncp[playerid] = 0; Motorcp[playerid] = 0; Jogsineki[playerid] = NINCS; Tanulofelpenz[playerid] = 0;CarOffer[playerid] = 999; CarPrice[playerid] = 0; CarID[playerid] = 0; CarCalls[playerid] = 0;RobbedTime[playerid] = 0; MoneyMessage[playerid] = 0; Condom[playerid] = 0;STDPlayer[playerid] = 0; SexOffer[playerid] = 999; SexPrice[playerid] = 0;RepairOffer[playerid] = 999; RepairPrice[playerid] = 0; RepairCar[playerid] = 0;TalkingLive[playerid] = 255; LiveOffer[playerid] = 999; TakingLesson[playerid] = 0;RefillOffer[playerid] = 999; RefillPrice[playerid] = 0; MapIconsShown[playerid] = 0;DrugOffer[playerid] = 999; PlayerCuffed[playerid] = 0; PlayerCuffedTime[playerid] = 0;DrugPrice[playerid] = 0; RegistrationStep[playerid] = 0; OnCK[playerid] = 999;DrugGram[playerid] = 0; ConnectedToPC[playerid] = 0; OrderReady[playerid] = 0; HitmanRendeles[playerid] = 0;JailPrice[playerid] = 0; MedicTime[playerid] = 0; NeedMedicTime[playerid] = 0; MedicBill[playerid] = 0;WantedPoints[playerid] = 0; PlacedNews[playerid] = 0; skine[playerid] = 0; fegyvere[playerid] = 0;OnDuty[playerid] = 0; WantedLevel[playerid] = 0; TestFishes[playerid] = 0;BoxWaitTime[playerid] = 0; SchoolSpawn[playerid] = 0; ChangePos2[playerid][1] = 0;SafeTime[playerid] = 60; TransportDuty[playerid] = 0; PlayerTied[playerid] = 0;BusCallTime[playerid] = 0; TaxiCallTime[playerid] = 0; MedicCallTime[playerid] = 0; MechanicCallTime[playerid] = 0;FindTimePoints[playerid] = 0; FindTime[playerid] = 0; JobDuty[playerid] = 0;Mobile[playerid] = 255; Music[playerid] = 0; BoxOffer[playerid] = 999; PlayerBoxing[playerid] = 0;Spectate[playerid] = 255; PlayerDrunk[playerid] = 0; PlayerDrunkTime[playerid] = 0;Unspec[playerid][sLocal] = 255; FishCount[playerid] = 0;WritingPaper[playerid] = 0; WritingPaperNumber[playerid] = 999; WritingLine[playerid] = 0; BringingPaper[playerid] = 0; GotPaper[playerid] = 0;PaperOffer[playerid] = 999; ConsumingMoney[playerid] = 0; gLastCar[playerid] = 0; FirstSpawn[playerid] = 0; gBooc[playerid] = 0; gBoocszidas[playerid] = 0;gOoc[playerid] = 0; gNews[playerid] = 0; BigEar[playerid] = 0; gDice[playerid] = 0; gFam[playerid] = 0; gReport[playerid] = 0; gInfo[playerid] = 0;gSpeedo[playerid] = 0; gGas[playerid] = 1; roadblock[playerid] = 0; block[playerid] = NINCS;gPlayerLogged[playerid] = 0; gPlayerLogTries[playerid] = 0; gPlayerAccount[playerid] = 0;gPlayerSpawned[playerid] = 0; PlayerKarting[playerid] = 0; PlayerInKart[playerid] = 0;PlayerStoned[playerid] = 0;StartTime[playerid] = 0; TicketOffer[playerid] = 999; TicketMoney[playerid] = 0;TutTime[playerid] = 0; Drogozott[playerid] = 0; Animban[playerid] = 0; Animbanemrakhato[playerid] = 1; MunkaFelvetel[playerid] = 0;NevvaltasiEngedely[playerid] = 0; Skinsel[playerid] = 0; MunkaFolyamatban[playerid] = 0; Adminseged[playerid] = 0;
public OnPlayerRequestClass(playerid, classid){if(IsPlayerNPC(playerid)) return 1;if(Logged(playerid) || !Logged(playerid) && ElsoSpawn[playerid] == 1){switch(random(7)){ case 0: PlayerPlaySound(playerid, 1183, 0.0, 0.0, 0.0); case 1: PlayerPlaySound(playerid, 1185, 0.0, 0.0, 0.0); case 2: PlayerPlaySound(playerid, 1187, 0.0, 0.0, 0.0); case 3: PlayerPlaySound(playerid, 1062, 0.0, 0.0, 0.0); case 4: PlayerPlaySound(playerid, 1068, 0.0, 0.0, 0.0); case 5: PlayerPlaySound(playerid, 1076, 0.0, 0.0, 0.0); case 6: PlayerPlaySound(playerid, 1097, 0.0, 0.0, 0.0);}}if(Logged(playerid) == 0){SpawnPlayer(playerid);SetPlayerInterior(playerid,0);SetPlayerVirtualWorld(playerid, 0);/*SetPlayerPos(playerid, 1543.207641, -1757.084716, 13.546875);SetPlayerCameraPos(playerid, 1555.392578, -1749.457031, 30.780603);SetPlayerCameraLookAt(playerid, 1504.327270, -1713.032226, 14.046875);*/SetPlayerPos(playerid, LoginSpawn[spawnHely[playerid]][3], LoginSpawn[spawnHely[playerid]][4], LoginSpawn[spawnHely[playerid]][5]);SetPlayerCameraPos(playerid, LoginSpawn[spawnHely[playerid]][0], LoginSpawn[spawnHely[playerid]][1], LoginSpawn[spawnHely[playerid]][2]);SetPlayerCameraLookAt(playerid, LoginSpawn[spawnHely[playerid]][3], LoginSpawn[spawnHely[playerid]][4], LoginSpawn[spawnHely[playerid]][5]);TogglePlayerControllable(playerid, false);if(ElsoSpawn[playerid] == 1){ SetTimer(\"Spawnolas\", 3000, false); ElsoSpawn[playerid] = 0; JatekBetoltve[playerid] = true; if(Registered(playerid) != 0) SendClientMessage(playerid, COLOR_LIGHTBLUE, \"NAME: Üdv. Regisztrálva vagy. Kérlek lépj be. (/login)\"); else SendClientMessage(playerid, COLOR_LIGHTBLUE, \"NAME: Üdv. Még nem vagy regisztrálva | Karakter regisztráció a kezelőfelületen: www.teszt.net\");}return 1;}
if(egyezik(cmd, \"/enged\")){if(!Admin(playerid, 1) && !IsAS(playerid)) return 1;if(params < 1) return Msg(playerid, \"Használata: /enged [játékos]\");new player = ReturnUser(param[1]);if(player == INVALID_PLAYER_ID) return Msg(playerid, \"Nincs ilyen játékos!\");ABroadCastFormat(COLOR_LIGHTRED, 1, \"<< %s megtanította %s-t az RPre és vállalja a felelősséget érte >>\", PlayerName(playerid), PlayerName(player));Msg(player, \"Az adminisztrátor engedélyezte a játékot számodra! Jó játékot kívánunk!\");PlayerInfo[player][pTut] = 1;SetPlayerVirtualWorld(player, 0);//SpawnPlayer(player);OnPlayerSpawn(player);return 1;}
(2321) : fatal error 107: too many error messages on one line2321) : error 029: invalid expression, assumed zero2321) : error 001: expected token: \";\", but found \")\"(2321) : error 012: invalid function call, not a valid address
forward motozas(playerid);public motozas(playerid){ new id2 = GetClosestPlayer(playerid); new kokain = GetItemAmount(id2,\"Kokain\");if(kokain < 1){ kokain = 0;}
public OnGameModeExit(){ KasszaMent( ); UzemanyagMent(); Delete3DTextLabel( eqlbtext[ eqlbbusz1 ] ); Delete3DTextLabel( lpbstext[ lpbsbusz2] ); KillTimer(ido); DestroyPickup( i_Pickup );for(new i; i < MAX_PLAYERS; i ++){ if(spawnnolt == 1) { Ment(i), Betolt(i); SaveItems(i);}}for(new i; i < MAX_HAZ; i ++){ HazMent(i); Delete3DTextLabel(HazText); DestroyPickup(HazPick);}for( new i; i < MAX_VEHICLES; i++ ){SaveVehicle( i );}print(\"- Kocsik elmentve!\"); print(\"* A mód leállt!\");return 1;}
forward motozas(playerid); //EZ ITT hanyadik sora a mododnak?public motozas(playerid){ new id2 = GetClosestPlayer(playerid); new kokain = GetItemAmount(id2,\"Kokain\"); if(kokain < 1) { kokain = 0; } [/quote]Nekem ennek kéne a vége, mivel ennek nincs meg a vége, valamint azt mond meg amit a kódba írtam.
forward motozas(playerid); //EZ ITT hanyadik sora a mododnak?public motozas(playerid){ new id2 = GetClosestPlayer(playerid); new kokain = GetItemAmount(id2,\"Kokain\"); if(kokain < 1) { kokain = 0; }
forward Rob2(playerid);public Rob2(playerid){ new S[30];format(S, sizeof(S), \"*robban a bomba*\");ProxDetector(10.0, playerid, S, 0xb97cebAA, 0xb97cebAA, 0xb97cebAA, 0xb97cebAA, 0xb97cebAA); KillTimer(bankrobtimer2); CreateExplosion(2942.5159,-1783.0486,1178.5803, 0, 5.0); folyamatban = 0; SendRendorMessage(PIROS,\"Minden egységnek figyelem!\"); SendRendorMessage(PIROS,\"Robbanást jelentettek LosSantos bank széfeinél!\"); SendRendorMessage(PIROS,\"Valószínűleg rablás van folyamatban!\"); SendRendorMessage(PIROS,\"Ellenkező utasításig mindenki induljon a bankba!\"); SendFBIMessage(PIROS,\"Minden egységnek figyelem!\"); SendFBIMessage(PIROS,\"Robbanást jelentettek LosSantos bank széfeinél!\"); SendFBIMessage(PIROS,\"Valószínűleg rablás van folyamatban!\"); SendFBIMessage(PIROS,\"Ellenkező utasításig mindenki induljon a bankba!\"); SendKatonaMessage(PIROS,\"Minden egységnek figyelem!\"); SendKatonaMessage(PIROS,\"Robbanást jelentettek LosSantos bank széfeinél!\"); SendKatonaMessage(PIROS,\"Valószínűleg rablás van folyamatban!\"); SendKatonaMessage(PIROS,\"Ellenkező utasításig mindenki induljon a bankba!\"); SendClientMessage(playerid, ZOLD, \"Az ajtó robbant, irány pakolni!!\"); bankotrabolnak = 2; pInfo[playerid][pC4] -= 1; MoveDynamicObject(bankszef, 2943.42529, -1785.18457, 1177.61902, 90.10000, 0.00000, 183.62000, 1000.00); return 1;}
main () { AntiDeAMX(); }GetWeekDay(day=0, month=0, year=0){ if (!day) getdate(year, month, day); new weekday_str[10], j, e ; if (month <= 2) { month += 12; --year; } j = year % 100; e = year / 100; switch ((day + (month+1)*26/10 + j + j/4 + e/4 - 2*e) % 7) { case 0: weekday_str = \"Szombat\"; case 1: weekday_str = \"Vasarnap\"; case 2: weekday_str = \"Hetfo\"; case 3: weekday_str = \"Kedd\"; case 4: weekday_str = \"Szerda\"; case 5: weekday_str = \"Csutortok\"; case 6: weekday_str = \"Pentek\"; } return weekday_str;}
new mS_INVALID_LISTID;
forward bool:IsValidWeapon(weaponid);
Nincsen létrehozva az egyik táblában a \"Csali\" oszlop, így nem tudja elmenteni az adott értéket. Csak hozd létre és jó lesz.
(8723) : error 017: undefined symbol \"AddItem\"(8568) : error 017: undefined symbol \"SaveItems\"(7368) : error 017: undefined symbol \"OnItemResponse\"(5066) : error 017: undefined symbol \"LoadItems\"(2361) : error 017: undefined symbol \"GetItemAmount\"
public NearSayOOC(playerid,string[],Float:X,Float:Y,Float:Z,Float:radi){ for(new i=0;i<MAX_PLAYERS;i++) { if(IsPlayerInRangeOfPoint(i,radi,X,Y,Z)) { new text[256],name[256],log[256]; date GetPlayerName(playerid, name, sizeof(name)); format(text, sizeof(text), \"{999999}(( OOC Chat %s: %s ))\", name,string); format(log,sizeof(log),\"[%d.%d.%d %d:%d:%d]%s ezt írta OOC Chatbe: %s.\",y,mo,d,h,m,s,name,string); SendClientMessage(i,COLOR_RED, text); Log(log); return 1; } } return 1;}