13.03.2015, 23:17
I get this error
Please help me
P.S.: I have one #include <foreach>
Код:
C:\Users\PC\Desktop\ECRPG\ECRPG\gamemodes\ECRPG.pwn(6503) : error 021: symbol already defined: "Itter_OnPlayerDisconnect"
Код:
else { new rand = random(5000); rand += 2158; Jackpot += rand; SaveStuff(); format(string, sizeof(string), "Loto vesti: JackPot je povecan na $%d.", Jackpot); OOCOff(COLOR_WHITE, string); } return 1; } //------------------------------------------------------------------------------------------------------ public OnPlayerDisconnect(playerid, reason) { //It show me error here new textreason[64]; new plname[24]; GetPlayerName(playerid, plname, sizeof(plname)); new playersip[24]; GetPlayerIp(playerid, playersip, sizeof(playersip)); new string2[128]; SafeResetPlayerWeapons(playerid); if(PlayerInfo[playerid][pAdminDuty] == 1) { SafeResetPlayerWeapons(playerid); } if(Searching[playerid] == 1) { RemovePlayerMapIcon(playerid, 500 + playerid); Searching[playerid] = 0; }
P.S.: I have one #include <foreach>