22.02.2011, 13:48
Use a streamer for your checkpoints and give them an id:
Then under OnPlayerEnterCheckpoint:
Try here for a good all round streamer.
https://sampforum.blast.hk/showthread.php?tid=102865
Peace...
pawn Код:
checky1 = SetPlayerCheckpoint(playerid, 2303.2053,-16.0775,26.4844, 2);
checky2 = SetPlayerCheckpoint(playerid, 1568.5647,-1693.0901,5.8906, 2);
pawn Код:
if(checkpointid == checky1)
{
//Do your stuff
if(checkpointid == checky2)
{
//Do your stuff
https://sampforum.blast.hk/showthread.php?tid=102865
Peace...