SA-MP Forums Archive
Question - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Question (/showthread.php?tid=375693)



Question - Eugene. - 07.09.2012

Does anybody know what do I have to set so a person far away cannot see my name ? Exemple:

If a person is away from me like 100 meters, I can see his name over his character. I saw on another servers that is something that you can set so you can see the name only when he is closer. Can someone help me out ? Thank you.


Re: Question - clarencecuzz - 07.09.2012

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


Re: Question - Eugene. - 07.09.2012

Well, Isn't this. I am talking about the Name/Health/Armour/ID over your character.


Re: Question - IceMeteor - 07.09.2012

https://sampwiki.blast.hk/wiki/CreatePlayer3DTextLabel
Make sure you set the DrawDistance more that 100.0, and 1 in testLOS


Re: Question - ReneG - 07.09.2012

It's actually
pawn Код:
SetNameTagDrawDistance(Float:distance);
Run that with the desired distance OnGameModeInit


Re: Question - Eugene. - 08.09.2012

Quote:
Originally Posted by VincentDunn
Посмотреть сообщение
It's actually
pawn Код:
SetNameTagDrawDistance(Float:distance);
Run that with the desired distance OnGameModeInit
Well. Is working. Thank you