Skip to main content

IsPlayerInCheckpoint

คำอธิบาย

Check if the player is currently inside a checkpoint, this could be used for properties or teleport points for example.

NameDescription
playeridThe player you want to know the status of.

ส่งคืน

false if player isn't in his checkpoint else true

ตัวอย่าง

if (IsPlayerInCheckpoint(playerid))
{
SetPlayerHealth(playerid, 100.0);
}

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