19.07.2016, 13:46
Another thing to try use more is debug messages. Lines to simply print to the server log.
Where are you getting CPIndex from?
PHP код:
printf("[DEBUG] Player %i entered checkpoint %i", playerid ,checkpointid);