If player is standing - 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: If player is standing (
/showthread.php?tid=77572)
If player is standing -
Sal_Kings - 12.05.2009
How do i make something like this
If a player in standing in a certian postion (X Y Z positon as ussual) then some stuff happen. Please give me a example i have been trying all day i dont know how, And what section will i place it in
Re: If player is standing -
Weirdosport - 12.05.2009
You need IsPlayerInArea, or PlayerToPoint.
IsPlayerInArea makes sure the player is standing inside a certain square, whereas PlayerToPoint checks that the player is within a certain distance of a given location. They're in Utils includes of some form, but they're relatively easy to find using the Search button.