Help | Fuel System Bug
#2

You can set a variable which when a vehicle spawns it will set the fuel to 100. Something like this:
pawn Код:
new Float: VehicleFuel[MAX_VEHICLES] = 100.0;
And under OnGameModeInit:
pawn Код:
for(new v = 0; v < MAX_VEHICLES; v++)
    {
        VehicleFuel[v] = 100.0;
    }
Just giving example.
Reply


Messages In This Thread
Help | Fuel System Bug - by maxpain43 - 26.07.2013, 17:59
Re: Help | Fuel System Bug - by Necip - 26.07.2013, 18:05
Re: Help | Fuel System Bug - by maxpain43 - 26.07.2013, 18:08
Re: Help | Fuel System Bug - by Necip - 26.07.2013, 18:26
Re: Help | Fuel System Bug - by maxpain43 - 26.07.2013, 18:38
Re: Help | Fuel System Bug - by Necip - 26.07.2013, 19:30
Re: Help | Fuel System Bug - by maxpain43 - 26.07.2013, 19:44
Re: Help | Fuel System Bug - by Necip - 26.07.2013, 20:19
Re: Help | Fuel System Bug - by maxpain43 - 27.07.2013, 14:12
Re: Help | Fuel System Bug - by Donvalley - 27.07.2013, 14:18

Forum Jump:


Users browsing this thread: 1 Guest(s)