OnPlayerLeaveCheckpoint

From SA-MP Wiki

Jump to: navigation, search

OnPlayerLeaveCheckpoint


This callback is called when a player leaves the checkpoint set for that player.


Parameters:
(playerid)
playeridThe player who left the checkpoint.


Returns0 - prevents this callback from being executed anywhere else.
Returns1 - allows execution of this callback in filterscripts loaded afterwards (except for gamemodes).


public OnPlayerLeaveCheckpoint(playerid)
{
    printf("Player %i left a 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