SA-MP Forums Archive
How? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How? (/showthread.php?tid=208096)



How? - Anzhelov - 07.01.2011

How can I make that the players will NOT be able to see the other player through the walls?


Re: How? - Alex_Valde - 07.01.2011

What do you mean with
Quote:
Originally Posted by Anzhelov
Посмотреть сообщение
see the other player through the walls?
?? I can't see anybody through walls. :S


Re: How? - Joe Staff - 07.01.2011

If you're using a custom map (as in objects added to the map) you can't. It will only not show through the normal San Andreas objects


Re: How? - Anzhelov - 07.01.2011

I'm using my own map ... okay than how to lower the distance of viewing the players?


Re: How? - alpha500delta - 07.01.2011

You can disable them completely (ShowNameTags I believe) its much easyer


Re: How? - Anzhelov - 07.01.2011

I know about ShowNameTags, but I want to see them when they are near me.


Re: How? - Alex_Valde - 07.01.2011

I have never used this and I'm not really sure what will this do, but you can try: DisableNameTagLOS


Re: How? - Anzhelov - 07.01.2011

Disables the nametag Line-Of-Sight checking so players can see nametags through objects.
I don't want to see them through the walls


Re: How? - bartje01 - 07.01.2011

YOu know the ALex just send you the fix right?


Re: How? - John_F - 07.01.2011

That isn't a fix for his problem, that actually worsens his problem, it makes nametags visible through ALL objects, not just some.
AFAIK there is no way to disable seeing nametags through some of the SA objects w/o disabling them completely.

if you're only concerned w/ the range, just check if a player is in range of another player and depending on the range, either disable or enable nametags for that player