Invalid Function or Declaration
#10

pawn Код:
stock SetPlayerAmmoEx(playerid, weapon, ammo) //Line 2161
{
    new slot;
    switch(weapon)
    {
        case 0..1: slot = 0;
        case 2..9: slot = 1;
        case 22..24: slot = 2;
        case 25..27: slot = 3;
        case 28..29: slot = 4;
        case 30..31: slot = 5;
        case 33..34: slot = 6;
        case 35..38: slot = 7;
        case 16..18, 39: slot = 8;
        case 41..43: slot = 9;
        case 11..15: slot = 10; // YOU MISSED THE =
        case 44..46: slot = 11;
        case 40: slot = 12;
    }
    pAmmo[playerid][slot] = ammo;
    SetPlayerAmmo(playerid, weapon, ammo);
}
Reply


Messages In This Thread
Invalid Function or Declaration - by Th3Angel - 23.02.2011, 06:34
Re: Invalid Function or Declaration - by THE_KNOWN - 23.02.2011, 07:05
Re: Invalid Function or Declaration - by Th3Angel - 23.02.2011, 07:14
Re: Invalid Function or Declaration - by THE_KNOWN - 23.02.2011, 07:24
Re: Invalid Function or Declaration - by (SF)Noobanatior - 23.02.2011, 07:28
Re: Invalid Function or Declaration - by Th3Angel - 23.02.2011, 07:29
Re: Invalid Function or Declaration - by Th3Angel - 23.02.2011, 07:31
Re: Invalid Function or Declaration - by THE_KNOWN - 23.02.2011, 07:31
Re: Invalid Function or Declaration - by Th3Angel - 23.02.2011, 07:33
Re: Invalid Function or Declaration - by [WF]Demon - 23.02.2011, 07:38

Forum Jump:


Users browsing this thread: 4 Guest(s)