03.01.2013, 21:10
(3632 -- 3634) : error 017: undefined symbol "vehicle"
(3632 -- 3635) : error 017: undefined symbol "vehicle"
(3635) : error 029: invalid expression, assumed zero
(3635) : fatal error 107: too many error messages on one line
(3632 -- 3635) : error 017: undefined symbol "vehicle"
(3635) : error 029: invalid expression, assumed zero
(3635) : fatal error 107: too many error messages on one line
PHP код:
forward CheckGas();
public CheckGas()
{
// new string[128];
foreach (Player, i) {
if(GetPlayerState(i) == PLAYER_STATE_DRIVER) {
if(AdminDuty[i]) continue;
}
new vehicle = GetPlayerVehicleID(i);
}
if (VehicleEngine[vehicle] == 1 && !IsNotAEngineCar(vehicle)) {
if(CarInfo[VehicleOwned[vehicle]][cFuel] >= 1 && Gas[vehicle] >= 1) }
if(NoFuel[i] == 0) {