Quote:
Originally Posted by Cjgogo
pawn Код:
COMMAND:afk(playerid,params[]) { new oName[24],aName[24],message[128];//original and afk name+message for players GetPlayerName(playerid,oName,sizeof(oName)); format(message,sizeof(message),"%s(%d) is now <AFK>",oName,playerid); SendClientMessageToAll(cyellow,message); format(aName,sizeof(aName),"%s<AFK>",oName); SetPlayerName(playerid,aName); return 1; }
Replace the whole command with what I gave you
|
That's basically the same thing, just without using
my definitions and global variables...