12.03.2007, 03:33
I haven't tested it yet, but i've looked at the code:
^ I think you can just do ' new Gas[MAX_CARS] = MAX_GAS; '
And why 2 timers? They do almost the same checks, you can easily combine them and run only one timer.
And if i can suggest one thing, it will be easy enough, adding fuel stations where we can refill (maybe ask Donny_K if you can copy the coords of stations from his fuel script). Else i will make it and let you know when its done.
pawn Код:
for(new c=0; c<255; c++) { // loop through 255 vehicles
Gas[c] = MAX_GAS; // Gas of 255 vehicles is 100
}
And why 2 timers? They do almost the same checks, you can easily combine them and run only one timer.
And if i can suggest one thing, it will be easy enough, adding fuel stations where we can refill (maybe ask Donny_K if you can copy the coords of stations from his fuel script). Else i will make it and let you know when its done.