C:\Users\syntexx\Desktop\Script\gamemodes\YVL.pwn(368) : error 017: undefined symbol "IsPlayerConnected"
C:\Users\syntexx\Desktop\Script\gamemodes\YVL.pwn(368) : warning 215: expression has no effect
C:\Users\syntexx\Desktop\Script\gamemodes\YVL.pwn(368) : error 001: expected token: ";", but found ")"
C:\Users\syntexx\Desktop\Script\gamemodes\YVL.pwn(368) : error 029: invalid expression, assumed zero
C:\Users\syntexx\Desktop\Script\gamemodes\YVL.pwn(368) : fatal error 107: too many error messages on one line
public EnablePingWarnAgain(playerid)
{
M_Bot[playerid][PCheckHighPing] = 1;
return 1;
}
public AFKOn(playerid)
{
if(IsPlayerConnected(playerid) && AFKKICK[playerid] == 1)
{
SendClientMessage(playerid, COLOR_WHITE,"_________________________________________________________________________________");
SendClientMessage(playerid, COLOR_YELLOW,"[AFK]Das System hat erkannt, dass du AFK bist.Du hast 60 Sekunden Zeit deinen Code einzugeben(/notafk)");
SendClientMessage(playerid, COLOR_WHITE,"_________________________________________________________________________________");
SetCodeArray(playerid);
AFKKICK[playerid] = 0;
M_Bot[playerid][PAFK] = 0;
SetTimerEx("KickAFK",60000,0,"i",playerid);
Wo ist mein Fehler ?