Skip to content

Natives (Race Checkpoints)

samp-incognito edited this page Mar 26, 2017 · 11 revisions

HomeNativesRace 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)