13.10.2014, 07:57
pawn Code:
OnGameModeInit()
{
// ...
for (new i = 0; i < MAX_VEHICLES; i++) Gas[i] = 1.0 * (random(65) + 15);
// ...
}
OnVehicleSpawn(vehicleid)
{
Gas[vehicleid] = 1.0 * (random(65) + 15);
// ...
}
Hope I helped ^^
OnGameModeInit()
{
// ...
for (new i = 0; i < MAX_VEHICLES; i++) Gas[i] = 1.0 * (random(65) + 15);
// ...
}
OnVehicleSpawn(vehicleid)
{
Gas[vehicleid] = 1.0 * (random(65) + 15);
// ...
}