ScriptRacePlayerHitCheckpoint — FiveM Natives
0x1BB299305C3E8C13 · MISC · all
Records that a player has successfully passed a checkpoint during a scripted race in GTA:Online. This native should be used after initializing the race with SCRIPT_RACE_INIT. `` NativeDB Introduced: v323 ``
Parameters
| Name | Type | Description |
|---|---|---|
| ped | Ped | The index of the Ped who hit the checkpoint. |
| checkpoint | int | The checkpoint number that the player has passed. |
| lap | int | The current lap that the player is on. |
| time | int | The time it took for the player to reach this checkpoint from the start of the race or the last checkpoint. |
Returns
void