Skip to main content

OnPlayerLeaveRaceCheckpoint

คำอธิบาย

This callback is called when a player leaves the race checkpoint.

NameDescription
playeridThe ID of the player that left the race checkpoint.

ส่งคืน

มันถูกเรียกในฟิลเตอร์สคริปต์ก่อนเสมอ

ตัวอย่าง

public OnPlayerLeaveRaceCheckpoint(playerid)
{
printf("Player %d left a race checkpoint!", playerid);
return 1;
}

บันทึก

tip

NPC สามารถเรียก Callback นี้ได้

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