16.05.2009, 10:38
Ok,I have this.
The nametag of the player who typed /nameoff only dissapears for 1 second.
This is really weird O_O
Код:
if (strcmp("/nameoff", cmdtext, true, 5) == 0) { if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5) { if (NameOff[playerid] == 0) { for(new i = 0; i < MAX_PLAYERS; i++) ShowPlayerNameTagForPlayer(i,playerid, false); NameOff[playerid] = 1; return 1; } else { NameOff[playerid] = 0; SetPlayerName(playerid, plName[playerid]); ShowPlayerNameTagForPlayer(i,playerid, true); return 1; } } }
This is really weird O_O