22.04.2014, 10:06
The SA-MP nametag can now show the alt-tab/paused status of a player. Use the client command /nametagstatus to toggle this feature on/off.
In script something,
The player who typed /hidetag will not be able to see any other players nametag
https://sampwiki.blast.hk/wiki/ShowPlayerNameTagForPlayer
https://sampwiki.blast.hk/wiki/ShowNameTags
In script something,
pawn Код:
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;
}
https://sampwiki.blast.hk/wiki/ShowPlayerNameTagForPlayer
https://sampwiki.blast.hk/wiki/ShowNameTags