IsPlayerInRaceCheckpoint

From SA-MP Wiki

Jump to: navigation, search

IsPlayerInRaceCheckpoint


Check if the player is currently inside a race checkpoint.


Parameters:
(playerid)
playeridThe player you want to know the status of.


Returnstrue if the player is in a race checkpoint, false if not.


if(IsPlayerInRaceCheckpoint(playerid)) SetPlayerHealth(playerid, 100);

Related Functions

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

Personal tools