Little help.
#2

Corrected code, hope it will works.
pawn Код:
command(skin, playerid, params[])
{
new text;
if(sscanf(params,"d",text))
{
    SendClientMessage(playerid,COLOR,"Error msg.");
    return 1;
}
    if(Player[playerid][Group] == 4)
    {
        switch(text)
        {
            case 0:
            {
                    SetPlayerSkin(playerid, 71);

            }
            case 1:
            {

                    SetPlayerSkin(playerid, 141);

            }
            case 2:
            {

                    SetPlayerSkin(playerid, 187);

            }
            case 3:
            {

                 SetPlayerSkin(playerid, 70);
           
            }
            case 4:
            {

                 SetPlayerSkin(playerid, 165);

            }
            case 5:
            {
                 SetPlayerSkin(playerid, 166);
            }
        }
    }
    return 1;
}
}
Reply


Messages In This Thread
Little help. - by iGetty - 11.10.2011, 15:45
Re: Little help. - by LetsOWN[PL] - 11.10.2011, 15:50
Re: Little help. - by iGetty - 11.10.2011, 15:52
Re: Little help. - by aRoach - 11.10.2011, 15:56
Re: Little help. - by LetsOWN[PL] - 11.10.2011, 15:59
Re: Little help. - by iGetty - 11.10.2011, 16:01
Re: Little help. - by LetsOWN[PL] - 11.10.2011, 16:02

Forum Jump:


Users browsing this thread: 1 Guest(s)