Help me!
#1

(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

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

Please (
Reply
#3

PHP код:
forward CheckGas();
public 
CheckGas()
{
//    new string[128];
    
new vehicle;
    foreach (
Playeri) {
        if(
GetPlayerState(i) == PLAYER_STATE_DRIVER) {
            if(
AdminDuty[i]) continue;
   }
            
vehicle GetPlayerVehicleID(i);
            }
            if (
VehicleEngine[vehicle] == && !IsNotAEngineCar(vehicle)) {
            if(
CarInfo[VehicleOwned[vehicle]][cFuel] >= && Gas[vehicle] >= 1) }
                    if(
NoFuel[i] == 0) { 
I didn't really understand the code as you didn't provide it all. But try this!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)