03.01.2013, 21:23
PHP код:
forward CheckGas();
public CheckGas()
{
// new string[128];
new vehicle;
foreach (Player, i) {
if(GetPlayerState(i) == PLAYER_STATE_DRIVER) {
if(AdminDuty[i]) continue;
}
vehicle = GetPlayerVehicleID(i);
}
if (VehicleEngine[vehicle] == 1 && !IsNotAEngineCar(vehicle)) {
if(CarInfo[VehicleOwned[vehicle]][cFuel] >= 1 && Gas[vehicle] >= 1) }
if(NoFuel[i] == 0) {