Hide/show player tags
#1

Can someone give me a scripts who hides player tags with command /hidetags, and show's them with /showtags?
Reply
#2

https://sampwiki.blast.hk/wiki/ShowPlayerNameTagForPlayer

There is the function you are looking for and there is example code of what you want on the wiki page.
Reply
#3

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;
}
Reply
#4

Thank you!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)