OnObjectMoved - 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: OnObjectMoved (
/showthread.php?tid=559512)
OnObjectMoved -
Riso135 - 23.01.2015
Hey there. Is there a chance how to detect which object just stopped from moving in OnObjectMoved? Just the object not his position. Thanks
Re: OnObjectMoved -
Abagail - 23.01.2015
pawn Код:
Description:
This callback is called when an object is moved after MoveObject (when it stops moving).
It's called when it stops moving, and gives the objectID as the only parameter.
Re: OnObjectMoved -
Riso135 - 23.01.2015
Lol im so dumb i forgot about the objectid
if(objectid == blabla) etc
thx anyway