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; } } }
if (strcmp("/nameoff", cmdtext, true, 5) == 0) { if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == { if (NameOff[playerid] == 0) { for(new i = 0; i < MAX_PLAYERS; i++) ShowPlayerNameTagForPlayer(i,playerid, false); SendClientMessage(playerid,COLOR_GREY,"Nobody knows your real identity now!"); NameOff[playerid] = 1; return 1; } else { for(new i = 0; i < MAX_PLAYERS; i++) ShowPlayerNameTagForPlayer(i,playerid, true); NameOff[playerid] = 0; SetPlayerName(playerid, plName[playerid]); SendClientMessage(playerid,COLOR_GREY,"You now have your real identity!"); return 1; } } } |
if (strcmp("/nameoff", cmdtext, true, 5) == 0)
{
if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == Cool
{
if (NameOff[playerid] == 0)
{
for(new i = 0; i < MAX_PLAYERS; i++){
ShowPlayerNameTagForPlayer(i,playerid, false);]
SendClientMessage(playerid,COLOR_GREY,"Nobody knows your real identity now!");
NameOff[playerid] = 1;
return 1;
}
else
{
for(new i = 0; i < MAX_PLAYERS; i++){
ShowPlayerNameTagForPlayer(i,playerid, true);}
NameOff[playerid] = 0;
SetPlayerName(playerid, plName[playerid]);
SendClientMessage(playerid,COLOR_GREY,"You now have your real identity!");
return 1;
}
}
}