IsObjectMoving

From SA-MP Wiki

Revision as of 14:18, 9 December 2016; view current revision
←Older revision | Newer revision→
Jump to: navigation, search


IsObjectMoving was added in SA-MP 0.3d This function was added in SA-MP 0.3d and will not work in earlier versions!


Description:

Checks if the given objectid is moving.


Parameters:
(objectid)
objectidThe 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.


Related Callbacks

The following callbacks might be useful as well, as they are related to this callback in one way or another.