Natives (Race Checkpoints) - samp-incognito/samp-streamer-plugin GitHub Wiki
Home ▸ Natives ▸ Race Checkpoints
Refer to the SA-MP wiki for more information. Many of these natives are derived from the default SA-MP natives.
- CreateDynamicRaceCP
(type, Float:x, Float:y, Float:z, Float:nextx, Float:nexty, Float:nextz, Float:size, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = STREAMER_RACE_CP_SD, areaid = -1, priority = 0)
- DestroyDynamicRaceCP
(checkpointid)
- IsValidDynamicRaceCP
(checkpointid)
- TogglePlayerDynamicRaceCP
(playerid, checkpointid, toggle)
- TogglePlayerAllDynamicRaceCPs
(playerid, toggle)
- IsPlayerInDynamicRaceCP
(playerid, checkpointid)
- GetPlayerVisibleDynamicRaceCP
(playerid)
Notes
SetPlayerRaceCheckpoint
andDisablePlayerRaceCheckpoint
should not be used with these natives.