Skin command help..
#2

im not sure how it works with CMD but with sscanf it should look like this;
pawn Code:
dcmd_skin(playerid, params[])
{
    new Setto;
    if(sscanf(params, "ii",Setto))
    {
        SetPlayerSkin(playerid, Setto);
        new SStr[125];
        format(SStr, sizeof(SStr), "Your skin was set to %f.", Setto);
        SendClientMessage(playerid,COLOR_ORANGE,SStr);
    }
    return 1;
}
Maybe you see what you are doing wrong by seeing this
Reply


Messages In This Thread
Skin command help.. - by Dare Devil..... - 30.05.2013, 09:29
Re: Skin command help.. - by AIped - 30.05.2013, 09:35
Re: Skin command help.. - by IceBilizard - 30.05.2013, 09:54
Re: Skin command help.. - by GiamPy. - 30.05.2013, 11:37

Forum Jump:


Users browsing this thread: 1 Guest(s)