SA-MP Forums Archive
fuel system.. - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: fuel system.. (/showthread.php?tid=245146)



fuel system.. - swieberdevos - 30.03.2011

I don't know how to do this, How each vehicle has his own fuel...


Re: fuel system.. - Cameltoe - 30.03.2011

pawn Код:
new VehicleFuel[MAX_VEHICLES];

// Under ongamemodeinit
for(new i; i < MAX_VEHICLES; i++) VehicleFuel[i] = 100; // Sets VehicleFuel to 100.



Re: fuel system.. - swieberdevos - 30.03.2011

Thanks alot


Re: fuel system.. - bijoyekuza - 30.03.2011

Yea...
You will have to learn about loops...
You cant script without loops...


Re: fuel system.. - __ - 30.03.2011

Yes, you can actually!