Ugrás a fő tartalomhoz

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

tanács

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.