21.08.2011, 03:59
How can i make nobody could see anyone name tag??
ShowPlayerNameTagForPlayer(playerid, i, false)
if (strcmp("/nametagsoff", cmdtext, true) == 0)
{
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, -1, "You are not authorized to use that command!");
for(new i = 0; i < MAX_PLAYERS; i++) ShowPlayerNameTagForPlayer(playerid, i, false);
GameTextForPlayer(playerid, "~W~Nametags ~R~off", 5000, 5);
return 1;
}
CMD:nametagsoff((playerid, params[]))
{
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, -1, "You are not authorized to use that command!");
for(new i = 0; i < MAX_PLAYERS; i++) ShowPlayerNameTagForPlayer(playerid, i, false);
GameTextForPlayer(playerid, "~W~Nametags ~R~off", 5000, 5);
return 1;
}
for(new i = 0; i < MAX_PLAYERS; i++) ShowPlayerNameTagForPlayer(playerid, i, false);