跳到主要内容

OnPlayerLeaveRaceCheckpoint

Description

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

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

Returns

It is always called first in filterscripts.

Examples

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

Notes

提示

This callback can also be called by NPC.

The following callbacks might be useful, as they're related to this callback in one way or another.

The following functions might be useful, as they're related to this callback in one way or another.