OnPlayerLeaveRaceCheckpoint

From SA-MP Wiki

Jump to: navigation, search

OnPlayerLeaveRaceCheckpoint


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


Parameters:
(playerid)
playeridThe player who left 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 OnPlayerLeaveRaceCheckpoint(playerid)
{
    printf("Player %d left 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.


Related Callbacks

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

Personal tools