IsPlayerPaused
#4

pawn Код:
new IsPlayerPaused[MAX_PLAYERS]; //You must create a variable or else the compiler wont execute the function.
public AFK(playerid)
{
    if(IsPlayerPaused(playerid))  // THIS IS THE LINEEEE
    {
        Kick(playerid);
        new string[128], playername[24];
        GetPlayerName(playerid, playername, 24);
        format(string, sizeof(string), "(GC)%s e isklucen od serverot.Pricina: AFK", playername);
        SendClientMessageToAll(0xAFAFAFAA, string);
    }
    return 1;
}
For solving the error,this will do.
Reply


Messages In This Thread
IsPlayerPaused - by Vizi - 15.09.2012, 06:38
Re: IsPlayerPaused - by Silvarray - 15.09.2012, 06:41
Re: IsPlayerPaused - by C00K13M0N$73R - 15.09.2012, 07:01
Re: IsPlayerPaused - by Lordzy - 15.09.2012, 07:10
Re: IsPlayerPaused - by Jarnu - 15.09.2012, 07:12
Re: IsPlayerPaused - by Vizi - 15.09.2012, 07:12

Forum Jump:


Users browsing this thread: 2 Guest(s)