13.03.2011, 09:00
Somewhere above in your script:
Then in the command where he goes afk:
When he goes back:
and in the OnPlayerText(playerid, text[]):
pawn Код:
new bool:AFK[MAX_PLAYERS];
pawn Код:
AFK[playerid] = true;
pawn Код:
AFK[playerid] = false;
pawn Код:
if(AFK[playerid]) return SendClientMessage(playerid, 0xFF0000AA, "You are AFK! You cannot talk");

