How to check if a player is near objects - 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: How to check if a player is near objects (
/showthread.php?tid=489539)
How to check if a player is near objects -
Soap_MacTavish - 23.01.2014
How to check if a player is near objects?
I find that if player log in where objects lies they will fall down and stuck in objects.
But I think if a sever have a lot of objects then code like this
Код:
if(IsPlayerInRangeOfPoint())
seems so silly..
Thanks for your help
Re: How to check if a player is near objects -
Jefff - 23.01.2014
For what you need this?
Re: How to check if a player is near objects -
Soap_MacTavish - 23.01.2014
Nah I mean if there is any function like IsPlayerNearObjects lol
Re: How to check if a player is near objects -
Jefff - 23.01.2014
http://forum.sa-mp.com/search.php?searchid=7699815 or use streamer functions
Re: How to check if a player is near objects -
Excelize - 23.01.2014
Not possible, as mentioned above, Streamer plugin could help.
Re: How to check if a player is near objects -
Soap_MacTavish - 23.01.2014
Thx yo guys
Re: How to check if a player is near objects -
Soap_MacTavish - 23.01.2014
Link is invalid...