Przejdź do głównej zawartości

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 the player isn't inside the checkpoint, otherwise true

Examples

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