IsObjectMoving
From SA-MP Wiki
Description:
Checks if the given objectid is moving.
(objectid)
objectid | The objectid you want to check if is moving. |
Return Values:
1 if the object is moving, 0 if not.
Example Usage:
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 are related to this callback in one way or another.
- OnObjectMoved: Called when an object stops moving.