[Help] Driving test checkpoint
#10

Okay, it's quite simple. No timers needed. When they enter a checkpoint, use GetVehicleHealth and check if it's lower than x (I would recommend 500 health).
If it is, SetVehiclePos back to the start, and show the first CP again.
Simples.

Also remember to fail them if they die.

Oh and, you should set curCP to 0 when a player starts the race, to ensure it doesn't break.
Reply


Messages In This Thread
[Help] Driving test checkpoint / License exam - by jheb - 09.02.2012, 14:37
Re: [Help] Driving test checkpoint - by jheb - 09.02.2012, 16:59
Re: [Help] Driving test checkpoint - by jheb - 09.02.2012, 20:18
Re: [Help] Driving test checkpoint - by Tanush123 - 09.02.2012, 21:16
Re: [Help] Driving test checkpoint - by MP2 - 09.02.2012, 21:18
Re: [Help] Driving test checkpoint - by jheb - 09.02.2012, 21:39
Re: [Help] Driving test checkpoint - by MP2 - 09.02.2012, 23:42
Re: [Help] Driving test checkpoint - by jheb - 10.02.2012, 05:38
Re: [Help] Driving test checkpoint - by MP2 - 10.02.2012, 07:51
Re: [Help] Driving test checkpoint - by MP2 - 10.02.2012, 10:27

Forum Jump:


Users browsing this thread: 1 Guest(s)