IsObjectMoving

warning

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

Description

Checks if the given objectid is moving.

NameDescription
objectidThe objectid you want to check if is moving.

Returns

1 if the object is moving, 0 if not.

Examples

if (IsObjectMoving(objectid))
{
StopObject(objectid);
}

Related Functions