OnPlayerEnterRaceCheckpoint

From SA-MP Wiki

Jump to: navigation, search

OnPlayerEnterRaceCheckpoint


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


Parameters:
(playerid)
playeridThe player who entered the race checkpoint.
Returns0 - prevents this callback from being executed anywhere else.
Returns1 - allows execution of this callback in filterscripts loaded afterwards (except for gamemodes).


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

Related Functions

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

Personal tools