SA-MP Forums Archive
Vehicle help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Vehicle help (/showthread.php?tid=624394)



Vehicle help - Hunud - 15.12.2016

Hey,

My problem is when enter in vehicle its say no fuel/gas i cant start vehicle!

AddStaticVehicle(457, 1079.9541, -1622.7205, 12.9661, 270.9480, 0, 1);

How to fix that ?


Re: Vehicle help - Martin4 - 15.12.2016

The problem is not in that lane. The problem is simple.. In the past you've made system for fuel for vehichles..
Now you have to delete it or if you want to fix this problem you have to make command to fuel the vehicles.


Re: Vehicle help - Pearson - 15.12.2016

Hello.
It Means You Have Fuel System. You have to make something like this.
PHP код:
 vehicle AddStaticVehicle(....);
VehicleInfo[vehicle][fuel] = 100



Re: Vehicle help - coool - 16.12.2016

Quote:

Hey,

My problem is when enter in vehicle its say no fuel/gas i cant start vehicle!

AddStaticVehicle(457, 1079.9541, -1622.7205, 12.9661, 270.9480, 0, 1);

How to fix that ?

I think he is saying that he can drive vehicle even without fuel