03.08.2014, 06:20
Код:
native CreateDynamicCP(Float:x, Float:y, Float:z, Float:size, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0); native DestroyDynamicCP(checkpointid); native IsValidDynamicCP(checkpointid); native TogglePlayerDynamicCP(playerid, checkpointid, toggle); native TogglePlayerAllDynamicCPs(playerid, toggle); native IsPlayerInDynamicCP(playerid, checkpointid); native GetPlayerVisibleDynamicCP(playerid);
The question : how i get the checkpoint id ?
i mean for example
When i create a new player CP , how i get the CP ID ? i want to do a farmer job , but i'm scarry what if the player go to work as farmer , and type /gps choose a location , the location is changing and him go there and bug the job ...