OnPlayerTouchObject - 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: OnPlayerTouchObject (
/showthread.php?tid=86884)
OnPlayerTouchObject -
Byrner - 16.07.2009
Well, I am looking for some sort of function that will detect when a player touches a certain object.
The object is a building; so I doubt PlayerToPoint would work affectively.
Re: OnPlayerTouchObject -
refshal - 16.07.2009
I am not sure, but I actually don't think that it's possilble to even make a function like this. You can't detect when a player touches an object. But you could use the IsPlayerInArea, and use the cordinates around the object.
Re: OnPlayerTouchObject -
Kyle - 28.07.2009
There ıs no other way to do it either doing ısplayerınarea or playertopoınt