Skip to content

Natives (Checkpoints)

KRY edited this page Oct 19, 2023 · 10 revisions

HomeNativesCheckpoints

Refer to the SA-MP wiki for more information. Many of these natives are derived from the default SA-MP natives.

  • CreateDynamicCP(Float:x, Float:y, Float:z, Float:size, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = STREAMER_CP_SD, areaid = -1, priority = 0)
  • DestroyDynamicCP(checkpointid)
  • IsValidDynamicCP(checkpointid)
  • TogglePlayerDynamicCP(playerid, checkpointid, toggle)
  • TogglePlayerAllDynamicCPs(playerid, toggle)
  • IsPlayerInDynamicCP(playerid, checkpointid)
  • GetPlayerVisibleDynamicCP(playerid)

Notes

  • SetPlayerCheckpoint and DisablePlayerCheckpoint should not be used with these natives.