07.01.2013, 20:32
I'm using Incognitos checkpoint streamer and I've got it to successfully loop through all my array data and place checkpoints at specific co-ordinates but I have no idea how the script would know which checkpoint the player has actually entered...
Is there a callback for this? Every one I find requires a "checkpointid" but I haven't assigned a specific checkpointid, nor do I know how to do so.
This is what I'm using to place a checkpoint
should I be using something like...
?
then "checkpoint1" would be my checkpointid?
Is there a callback for this? Every one I find requires a "checkpointid" but I haven't assigned a specific checkpointid, nor do I know how to do so.
This is what I'm using to place a checkpoint
pawn Код:
CreateDynamicCP(checkpointData[i][checkpointLoc][0], checkpointData[i][checkpointLoc][1], checkpointData[i][checkpointLoc][2], 2, -1, -1, -1, 100.0);
pawn Код:
new checkpoint1;
checkpoint1 = CreateDynamicCP(checkpointData[i][checkpointLoc][0], checkpointData[i][checkpointLoc][1], checkpointData[i][checkpointLoc][2], 2, -1, -1, -1, 100.0);
then "checkpoint1" would be my checkpointid?

