unreachable code, loose indentation
#3

pawn Код:
if(strcmp(cmdtext, "/cfvfgmj", true) == 0)
    {
        SendClientMessage(playerid, 0xF97804FF, "Have some fog biatch!");
        Kick(playerid);
        return 1;
    }
   
    {
    if (strcmp(cmdtext,"/LV",true,0) == 0)
    {
        if (IsPlayerInAnyVehicle(playerid) == 0)
        {
            if (GetPlayerState(playerid) == 1)
            {
            SendClientMessage(playerid, 0xF97804FF, "Find A Car);
            }
        }
        if (IsPlayerInAnyVehicle(playerid) == 1)
        {
            if (GetPlayerState(playerid) == 3)
            {
            SendClientMessage(playerid, 0xF97804FF, "
You Are not the driver");
            }
        }
        if (IsPlayerInAnyVehicle(playerid) == 0)
        {
            if (GetPlayerState(playerid) == 3)
            {
            new VID;
            VID = GetPlayerVehicleID(playerid);
            SetPlayerPos(VID, 2122.0183, 1430.5382, 11.9497);
            }
        }
        return 1;
    }
return 0; // warning 217: loose indentation
}
 // all below unreachable
ahh damn !
Reply


Messages In This Thread
unreachable code, loose indentation - by Divine - 28.01.2011, 14:19
Re: unreachable code, loose indentation - by BMUK - 28.01.2011, 14:22
Re: unreachable code, loose indentation - by Divine - 28.01.2011, 14:54
Re: unreachable code, loose indentation - by HyperZ - 28.01.2011, 14:58
Re: unreachable code, loose indentation - by Divine - 28.01.2011, 15:00
Re: unreachable code, loose indentation - by HyperZ - 28.01.2011, 15:01
Re: unreachable code, loose indentation - by dice7 - 28.01.2011, 15:02
Re: unreachable code, loose indentation - by Divine - 28.01.2011, 15:04
Re: unreachable code, loose indentation - by dice7 - 28.01.2011, 15:14
Re: unreachable code, loose indentation - by Divine - 28.01.2011, 15:29

Forum Jump:


Users browsing this thread: 2 Guest(s)