Quote:
Originally Posted by mavtias
pawn Код:
if (strcmp("/afk", cmdtext, true, 10) == 0) { new name[MAX_PLAYER_NAME], string[256]; GetPlayerName(playerid, name, sizeof(name)); format(string, sizeof(string), "[AFK]%s.", name ); SetPlayerName(playerid,string); format(string, sizeof(string), "%s is Afk,:(.", name ); SendClientMessageToAll(GREEN,string); return 1; }
Try that?
|
Sorry,didnt work too,still nothing happens with the name