SA-MP Forums Archive
Player-Name Distance - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: General (https://sampforum.blast.hk/forumdisplay.php?fid=13)
+--- Thread: Player-Name Distance (/showthread.php?tid=149578)



Player-Name Distance - Chrono - 22.05.2010

Hello,

first, sry for my bad englisch.
My question: Can i edit the distance how far away i can see players? And if, how?
Or isnt that allowed?

Can i also see players names trough walls, buildings and something?


Greetings Chrono


Re: Player-Name Distance - SiJ - 22.05.2010

Quote:
Originally Posted by Chrono
Hello,

first, sry for my bad englisch.
My question: Can i edit the distance how far away i can see players? And if, how?
Or isnt that allowed?

Can i also see players names trough walls, buildings and something?


Greetings Chrono
SetNameTagDrawDistance(70.0); (70 is default)
put this under OnGameModeInit.
No it is not possible to see trough walls, except if you TogglePlayerNames off and make a 3DTextLabels instead of PlayerNames..


Re: Player-Name Distance - Chrono - 22.05.2010

Where i have to insert
Код:
SetNameTagDrawDistance(70.0);
?

Can you explain that with the 3D Texlabels please? :/

Very thanks for the answere.

PS: Uh... i guess you meant how i can do that for my own server, right?
But i mean how i can change it only for me, to play on other server. (or if you meant that?)


Re: Player-Name Distance - Calgon - 22.05.2010

under OnGameModeInit().


Re: Player-Name Distance - Cedimedi - 22.05.2010

Quote:
Originally Posted by SiJ
Quote:
Originally Posted by Chrono
Hello,

first, sry for my bad englisch.
My question: Can i edit the distance how far away i can see players? And if, how?
Or isnt that allowed?

Can i also see players names trough walls, buildings and something?


Greetings Chrono
SetNameTagDrawDistance(70.0); (70 is default)
put this under OnGameModeInit.
, except if you TogglePlayerNames off and make a 3DTextLabels instead of PlayerNames..
Isn't DisableNameTagLOS(); to see thru walls?



Re: Player-Name Distance - Chrono - 22.05.2010

Where is "OnGameModeInit()." ? :/

pls notice this:
Quote:

PS: Uh... i guess you meant how i can do that for my own server, right?
But i mean how i can change it only for me, to play on other server. (or if you meant that?)




Re: Player-Name Distance - SiJ - 23.05.2010

Quote:
Originally Posted by Chrono
Where is "OnGameModeInit()." ? :/

pls notice this:
Quote:

PS: Uh... i guess you meant how i can do that for my own server, right?
But i mean how i can change it only for me, to play on other server. (or if you meant that?)

Nametag distance can only be set by server owner for every player, so you cannot do that on your client.