Пређи на главни садржај

IsObjectMoving

Description

Checks if the given objectid is moving.

NameDescription
objectidThe objectid you want to check if is moving.

Returns

true if the object is moving, false if not.

Examples

new gAirportGate;

public OnGameModeInit()
{
gAirportGate = CreateObject(980, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);

MoveObject(gAirportGate, 0.0, 0.0, 15.0, 1.00);

if (IsObjectMoving(gAirportGate))
{
StopObject(gAirportGate);
}
return 1;
}

Morty Proxy This is a proxified and sanitized view of the page, visit original site.