Skip to main content

StopPlayerHoldingObject

คำอธิบาย

Removes attached objects.

NameDescription
playeridID of the player you want to remove the object from.

ส่งคืน

1 on success, 0 on failure

ตัวอย่าง

public OnPlayerDeath(playerid, killerid, WEAPON:reason)
{
if (IsPlayerHoldingObject(playerid))
{
StopPlayerHoldingObject(playerid);
}
return 1;
}

บันทึก

warning

This function was removed in SA-MP 0.3c. See RemovePlayerAttachedObject

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