Something wrong?
#1

Hi guys need help. Got unknown errors. Here's the errors
PHP код:
(6669) : error 029invalid expressionassumed zero
(6669) : warning 215expression has no effect
(6669) : error 001expected token";"but found "if"
(15053) : error 029invalid expressionassumed zero
(15053) : warning 215expression has no effect
(15053) : error 001expected token";"but found "if"
(15053) : error 036: empty statement
(15053) : fatal error 107too many error messages on one line 
Here are the lines
6669
PHP код:
        else if(IsAnAmbulance(vehicleid))
        {
            if(
PlayerInfo[playerid][pMember] == 4||PlayerInfo[playerid][pLeader] == 4)
            {
                if(
LSFMDVehicles[13] == vehicleid && PlayerInfo[playerid][pRank] < 5)
                {
                    
RemovePlayerFromVehicle(playerid);
                    new 
Float:slxFloat:slyFloat:slz;
                    
GetPlayerPos(playeridslxslyslz);
                    
SetPlayerPos(playeridslxslyslz);
                    
NOPCheck(playerid);
                    
SendClientMessageEx(playeridCOLOR_GRAD2"Only ranks 5+ can drive this vehicle.");
                }
            } 
15053
PHP код:
        else if(IsAnAmbulance(vehicleid));
        {
            if(
PlayerInfo[playerid][pMember] == 4||PlayerInfo[playerid][pLeader] == 4)
            {
                if(
LSFMDVehicles[13] == vehicleid && PlayerInfo[playerid][pRank] < 5)
                {
                    
RemovePlayerFromVehicle(playerid);
                    new 
Float:slxFloat:slyFloat:slz;
                    
GetPlayerPos(playeridslxslyslz);
                    
SetPlayerPos(playeridslxslyslz);
                    
NOPCheck(playerid);
                    
SendClientMessageEx(playeridCOLOR_GRAD2"Only ranks 5+ can drive this vehicle.");
                }
            }
            else
            {
                
SendClientMessageEx(playerid,COLOR_GREY,"   You are not in the LSFMD!");
                
RemovePlayerFromVehicle(playerid);
                new 
Float:slxFloat:slyFloat:slz;
                
GetPlayerPos(playeridslxslyslz);
                
SetPlayerPos(playeridslxslyslz);
                
NOPCheck(playerid);
            }
        } 
Reply


Messages In This Thread
Something wrong? - by NealPeteros - 21.07.2016, 11:10
Re: Something wrong? - by NealPeteros - 21.07.2016, 11:58
Re: Something wrong? - by Threshold - 21.07.2016, 12:09
Re: Something wrong? - by NealPeteros - 21.07.2016, 12:20
Re: Something wrong? - by NealPeteros - 21.07.2016, 12:22
Re: Something wrong? - by NealPeteros - 21.07.2016, 13:20
Re: Something wrong? - by Sew_Sumi - 21.07.2016, 13:52
Re: Something wrong? - by NealPeteros - 21.07.2016, 13:55
Re: Something wrong? - by Sew_Sumi - 21.07.2016, 14:40
Re: Something wrong? - by Sew_Sumi - 22.07.2016, 02:45

Forum Jump:


Users browsing this thread: 3 Guest(s)