OnPlayerEnterRaceCheckpoint

From SA-MP Wiki

Jump to: navigation, search

OnPlayerEnterRaceCheckpoint


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


Parameters:
(playerid)
playeridThe ID of the player who entered the race checkpoint.


ReturnsReturning 0 in this callback will call this callback in other scripts


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