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