[Help]Checkpoints
#2

Hello there!

You should use "DisableDynamicCP" instead of "DisablePlayerCheckpoint", and for doing so, you should give checkpoint ID's to the checkpoints. and this code;

pawn Код:
else if(CP[playerid] == 11)
        {
        Last = CreateDynamicRaceCP(-1381.9700,1498.3158,8.5625, 3.0, -1, -1, -1, 100.0);
        DisablePlayerCheckpoint(playerid);
        CP[playerid] = 0;
        }
It makes the player to loop through the CP's, it doesn't end the race but instead, it makes you go back to starting point as it makes loop. If it is last CP, then you shouldn't create another dynamic CP.

About your third issue, I haven't understood it, what do you mean by that?
Reply


Messages In This Thread
[Help]Checkpoints - by Desha1 - 06.01.2015, 23:03
Re: [Help]Checkpoints - by Rufio - 06.01.2015, 23:08
Re: [Help]Checkpoints - by Desha1 - 06.01.2015, 23:27
Re: [Help]Checkpoints - by Rufio - 06.01.2015, 23:29
Re: [Help]Checkpoints - by Desha1 - 06.01.2015, 23:36
Re: [Help]Checkpoints - by Rufio - 06.01.2015, 23:40
Re: [Help]Checkpoints - by Desha1 - 06.01.2015, 23:43
Re: [Help]Checkpoints - by Desha1 - 07.01.2015, 01:07
Re: [Help]Checkpoints - by Desha1 - 07.01.2015, 13:57
Re: [Help]Checkpoints - by Desha1 - 07.01.2015, 17:15

Forum Jump:


Users browsing this thread: 3 Guest(s)