Posts: 154
Threads: 31
Joined: Oct 2009
Reputation:
0
I have made a little licence system where you half to pay for your licence then go out side and take the test every thing works fine but im wondering how to make it to make it if you go under or over a certen speed it would fail you bacsically i have it setup when you pay for the test it starts licencerunning = 1; if you need more code to help just ask
Posts: 2,629
Threads: 40
Joined: Mar 2008
Reputation:
0
Do checks using GetVehicleVelocity or find the function GetVehicleSpeed.
Posts: 551
Threads: 122
Joined: Nov 2009
Reputation:
0
Check under OnPlayerUpdate for their velocity. Then if their LicenceRunning[playerid] == 1 and it goes under a velocity or over it sets LicenceRinning to 0 and you add the rest of your code
Posts: 154
Threads: 31
Joined: Oct 2009
Reputation:
0
thanks scott that gives me a good idea on what to do
Posts: 302
Threads: 72
Joined: Dec 2009
20.05.2010, 22:39
(
Последний раз редактировалось eblood1; 19.10.2013 в 21:54.
Причина: remove
)
removed