GetObjectInPlayerRange - 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: GetObjectInPlayerRange (
/showthread.php?tid=408038)
GetObjectInPlayerRange -
yos136 - 16.01.2013
return the ID of the closes GTA OBJECT to player.
Cloud help for looking object ID or sometinhg
the fuction name have to be change... dippandes ...
AW: GetObjectInPlayerRange -
Drebin - 16.01.2013
You can script that yourself.
Re: GetObjectInPlayerRange -
Vince - 16.01.2013
The closest object is always the ground under your feet. I don't know how that would be helpful at all.
And oh:
https://sampforum.blast.hk/showthread.php?tid=405830
@Drebin: I think he means GTA WORLD object, not a server object.
Re: GetObjectInPlayerRange -
kurta999 - 16.01.2013
You can do something similar with SelectOject(playerid);