31.03.2016, 17:36
ShowPlayerNameTagForPlayer is a native SAMP function.
https://sampwiki.blast.hk/wiki/ShowPlayerNameTagForPlayer
In order for ShowPlayerNameTagForPlayer to work, ShowNameTags must be set to 1. Also make sure you use ShowPlayerNameTagForPlayer in OnPlayerStreamIn.
Your code makes every players name tag disappear for the player writing /name off.
https://sampwiki.blast.hk/wiki/ShowPlayerNameTagForPlayer
Quote:
Hello,
i need help with my /name off & /name on. It compiles, but nothing happends. pawn Код:
hname is a diffrent script that makes the name Stranger |
pawn Код:
for(new i = GetPlayerPoolSize(); i != -1; --i) ShowPlayerNameTagForPlayer(i, playerid, false);