Only drive-able on duty
#5

That won't work because, GetVehicleModel returns modelid if the vehicle exists or 0 if the vehicle doesn't exists. So that piece of code never runs. More over, You declare new g_Vehicle just before that. Make it a variable on top of the script and then use it. Try my method, It's way easier.
Reply


Messages In This Thread
Only drive-able on duty - by jasperschellekens - 11.04.2017, 19:34
Re: Only drive-able on duty - by DarkSkull - 11.04.2017, 19:38
Re: Only drive-able on duty - by DarkSkull - 11.04.2017, 19:42
Re: Only drive-able on duty - by jasperschellekens - 11.04.2017, 21:53
Re: Only drive-able on duty - by DarkSkull - 11.04.2017, 21:58
Re: Only drive-able on duty - by jasperschellekens - 11.04.2017, 22:50
Re: Only drive-able on duty - by DarkSkull - 11.04.2017, 22:58
Re: Only drive-able on duty - by Vince - 12.04.2017, 05:40
Re: Only drive-able on duty - by DarkSkull - 12.04.2017, 05:51
Re: Only drive-able on duty - by Meller - 12.04.2017, 12:02

Forum Jump:


Users browsing this thread: 1 Guest(s)