09.07.2009, 00:48
Can someone give me a scripts who hides player tags with command /hidetags, and show's them with /showtags?
if (strcmp("/hidetags", cmdtext, true) == 0)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
ShowPlayerNameTagForPlayer(playerid, i, false);
}
return 1;
}
if (strcmp("/showtags", cmdtext, true) == 0)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
ShowPlayerNameTagForPlayer(playerid, i, true);
}
return 1;
}