OnPlayerEnterRaceCheckpoint

Description

This callback is called when a player enters a race checkpoint.

NameDescription
playeridThe ID of the player who entered the race checkpoint.

Returns

It is always called first in filterscripts.

Examples

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

Notes

tip

This callback can also be called by NPC.

Related Functions