16.02.2017, 15:07
You could just make by using
I basically don't have an idea how to use this but it's what the basic is.
Then you can use this
like to reset the timer or add time when a player enter checkpoint. this is for dynamic checkpoints
PHP код:
SetPlayerRaceCheckpoint(playerid, type, Float:x, Float:y, Float:z, Float:nextx, Float:nexty, Float:nextz, Float:size) // the basic one
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, STREAMER_TAG_AREA areaid = STREAMER_TAG_AREA -1) //and the advance one
Then you can use this
PHP код:
OnPlayerEnterRaceCheckpoint(playerid)//basic one
OnPlayerEnterDynamicRaceCP(playerid, STREAMER_TAG_RACE_CP checkpointid)// advance one