20.02.2013, 15:46
In case checking for /afklist
in-case like not allowind to chat or already afk
PHP Code:
new AFK[MAX_PLAYERS];
for(new i = 0; i< MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(AFK[i] == 1)
PHP Code:
new AFK [MAX_PLAYERS];
if(AFK[playerid] == 1)
{
return GameTextForPlayer(playerid, "You are already in AFK. Use /back",3000,3);
}