06.05.2013, 07:38
any one can tell how can i make afk system for vip only that vip can use pls tell
any one can tell how can i make afk system for vip only that vip can use pls tell
|
new afk[MAX_PLAYERS]; //Top
CMD:afk(playerid, params[])
{
if(YourVIPVariablehere > 0)
{
if(afk[playerid] == 0)
{
SendClientMessage(playerid, -1, "AFK");
afk[playerid] = 1;
}
else
{
SendClientMessage(playerid, -1, "You are now back");
afk[playerid] = 0;
}
}
else return 0;
return 1;
}
Sure.
pawn Код:
P.S: Don't double post within 2 minutes |