Skip to main content

IsPlayerObjectMoving

warning

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

คำอธิบาย

Checks if the given player objectid is moving.

NameDescription
playeridThe ID of the player whose player-object is checked.
objectidThe player objectid you want to check if is moving.

ส่งคืน

1 if the player object is moving, 0 if not.

ตัวอย่าง

if (IsPlayerObjectMoving(playerid, objectid))
{
StopPlayerObject(playerid, objectid);
}

ฟังก์ชั่นที่เกี่ยวข้องกัน