How to fix this warning
#5

Pragma tabsize isn't really recommended at all!

How do you fix the problem? Intend your code properly

Intended Code and No need to use <removed>
pawn Код:
if(dialogid == DSB)
{
    if(response)
    {
        if(PlayerInfo[playerid][pConnectTime] < 2) return SendClientMessage(playerid, COLOR_GRAD2, "You can't use this as you're currently restricted from possessing weapons!");
        switch(listitem)
        {
            case 0: GivePlayerValidWeapon(playerid, 24, 99999);
            case 1: GivePlayerValidWeapon(playerid, 27, 99999);
            case 2: GivePlayerValidWeapon(playerid, 31, 99999);
            case 3: GivePlayerValidWeapon(playerid, 34, 99999);
            case 4: GivePlayerValidWeapon(playerid, 29, 99999);
            case 5: SetPlayerArmourEx(playerid, 100);
            case 6: SetPlayerHealth(playerid, 100);
        }
    }
}
Reply


Messages In This Thread
How to fix this warning - by Jizz - 29.09.2013, 05:36
Re: How to fix this warning - by M0n3y - 29.09.2013, 07:39
Re: How to fix this warning - by iZN - 29.09.2013, 07:41
Re: How to fix this warning - by xganyx - 29.09.2013, 08:31
Re: How to fix this warning - by Patrick - 29.09.2013, 09:35
Re: How to fix this warning - by Jizz - 29.09.2013, 09:45
Re: How to fix this warning - by iZN - 29.09.2013, 09:47
Re: How to fix this warning - by xganyx - 29.09.2013, 12:22
Re: How to fix this warning - by Patrick - 29.09.2013, 12:30

Forum Jump:


Users browsing this thread: 1 Guest(s)