IsPlayerInCheckpoint

Description

Check if the player is currently inside a checkpoint, this could be used for properties or teleport points for example.

NameDescription
playeridThe player you want to know the status of.

Returns

false if player isn't in his checkpoint else true

Examples

if (IsPlayerInCheckpoint(playerid))
{
SetPlayerHealth(playerid, 100.0);
}

Related Functions