26.05.2015, 11:29
How to make a cmd for Hide head tags : Health, armor, name tag
I have a cmd for hidetag.
Tell me How to make a Hidetag cmd for admin. If a admin do that cmd , all players tag will hidden. Please Tell me .
Or something else to make this system.
I have a cmd for hidetag.
PHP код:
CMD:hidetag(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] >= 1)
{
foreach (new i : Player)
{
ShowPlayerNameTagForPlayer(i, playerid, 0);
}
SendClientMessageEx(playerid, COLOR_GRAD1, "You have hidden your name tag.");
return 1;
}
else
{
return Error(playerid, "You aren't authorized to use this command");
}
}
Or something else to make this system.


