Wiki
Clone wikiEFLC-Multiplayer / apiCheckPoint methods
apiCheckPoint
Create
Returns INT - new checkpoint ID
Params:
-
apiMath::Vector3 pos
-
float radius
-
unsigned int hexColor (RGBA)
-
int type (Use 1)
-
int blipType (NULL or blip Type)
-
unsigned int vWorld
#!c++ //Creates a new checkpoint at your position apiMath::Vector3 myPos = apiPlayer::get(playerid).getPos(); int cp = apiCheckPoint::addNew(myPos, 15.0f, 0xFF0000FF, 1, NULL, 1);
Remove
This function throws std out_of_range if the checkpoint is invalid
Params:
- int - Checkpoint ID
Is Valid
Returns bool
Params:
- int - Checkpoint ID
Updated