IsObjectMoving
From SA-MP Wiki
Checks if the given objectid is moving.
(objectid)
| objectid | The objectid you want to check if is moving. |
| Returns | 1 if the object is moving, 0 if not. |
if(IsObjectMoving(objectid)) StopObject(objectid);
Related Functions
The following functions might be useful, as they're related to this callback in one way or another.
- MoveObject: Move an object.
- StopObject: Stop an object from moving.
Related Callbacks
The following callbacks might be useful as well, as they're related to this callback in one way or another.
- OnObjectMoved: Called when an object stops moving.
