---
title: "IsPlayerInRaceCheckpoint | open.mp"
description: "Check if the player is inside their current set race checkpoint (SetPlayerRaceCheckpoint)."
canonical: https://omp.itsneufox.com/tr/docs/scripting/functions/IsPlayerInRaceCheckpoint
language: tr
---

# IsPlayerInRaceCheckpoint

## Description

Check if the player is inside their current set race checkpoint (SetPlayerRaceCheckpoint).

| Name | Description |
| --- | --- |
| playerid | The ID of the player to check. |

## Returns

**true** - Player is in a race checkpoint.

**false** - Player is not in a race checkpoint.

## Examples

```c
if (IsPlayerInRaceCheckpoint(playerid))
{
    SetPlayerHealth(playerid, 100.0);
}
```

## Related Functions

-   [SetPlayerCheckpoint](https://omp.itsneufox.com/tr/docs/scripting/functions/SetPlayerCheckpoint): Create a checkpoint for a player.
-   [IsPlayerRaceCheckpointActive](https://omp.itsneufox.com/tr/docs/scripting/functions/IsPlayerRaceCheckpointActive): Check if the player currently has a race checkpoint visible.
-   [DisablePlayerCheckpoint](https://omp.itsneufox.com/tr/docs/scripting/functions/DisablePlayerCheckpoint): Disable the player's current checkpoint.
-   [IsPlayerInCheckpoint](https://omp.itsneufox.com/tr/docs/scripting/functions/IsPlayerInCheckpoint): Check if a player is in a checkpoint.
-   [SetPlayerRaceCheckpoint](https://omp.itsneufox.com/tr/docs/scripting/functions/SetPlayerRaceCheckpoint): Create a race checkpoint for a player.
-   [DisablePlayerRaceCheckpoint](https://omp.itsneufox.com/tr/docs/scripting/functions/DisablePlayerRaceCheckpoint): Disable the player's current race checkpoint.

## Related Callbacks

-   [OnPlayerEnterCheckpoint](https://omp.itsneufox.com/tr/docs/scripting/callbacks/OnPlayerEnterCheckpoint): Called when a player enters a checkpoint.
-   [OnPlayerLeaveCheckpoint](https://omp.itsneufox.com/tr/docs/scripting/callbacks/OnPlayerLeaveCheckpoint): Called when a player leaves a checkpoint.
-   [OnPlayerEnterRaceCheckpoint](https://omp.itsneufox.com/tr/docs/scripting/callbacks/OnPlayerEnterRaceCheckpoint): Called when a player enters a race checkpoint.
-   [OnPlayerLeaveRaceCheckpoint](https://omp.itsneufox.com/tr/docs/scripting/callbacks/OnPlayerLeaveRaceCheckpoint): Called when a player leaves a race checkpoint.
