Checkpoint
#6

Quote:
Originally Posted by Loinal
Посмотреть сообщение
I don't want to disable it i want just if the race is not started he stays on the 1st textdraw when race starts he takes the 1st one and then switch
When you start a race i guess you have a variabile named "Race[idrace][Started]". I have this one to check in OnPlayerEnterRaceCheckpoint if the race is started or not.

Just doing this:

Код:
if(Race[RacePL[playerid][IdRace]][Started] == 0)
				return 1;
If the race is started then the code go forward .. and then you can show him the next checkpoint.
Reply


Messages In This Thread
Checkpoint - by Loinal - 20.04.2017, 14:13
Re: Checkpoint - by denNorske - 20.04.2017, 16:52
Re: Checkpoint - by Loinal - 20.04.2017, 16:57
Re: Checkpoint - by denNorske - 20.04.2017, 16:58
Re: Checkpoint - by Loinal - 20.04.2017, 17:01
Re: Checkpoint - by CaRaM3LL - 20.04.2017, 18:12
Re: Checkpoint - by Sew_Sumi - 20.04.2017, 18:13
Re: Checkpoint - by denNorske - 20.04.2017, 20:56

Forum Jump:


Users browsing this thread: 2 Guest(s)