Admin commands and other side-commands.
#3

pawn Код:
CMD:setskin(playerid, params[])
{
    if(Admin(playerid) >= 2) //Change to gm-specific enum
    {
        new skinid, targetid;
        if(sscanf(params, "ii", targetid, skinid)) return SendClientMessage(playerid, -1, "/setskin (playerid) (skinid)");
 
        SetPlayerSkin(targetid, skinid);
        SendClientMessage(playerid, -1, "Skin was set.");
    }
    return 1;
}
Reply


Messages In This Thread
Admin commands and other side-commands. - by mkmk - 17.10.2014, 23:04
Re: Admin commands and other side-commands. - by Eth - 18.10.2014, 06:36
Re: Admin commands and other side-commands. - by Neil. - 18.10.2014, 06:39
Re: Admin commands and other side-commands. - by DavidBilla - 18.10.2014, 06:41
Re: Admin commands and other side-commands. - by Kaperstone - 18.10.2014, 07:09
Re: Admin commands and other side-commands. - by mkmk - 18.10.2014, 10:31
Re: Admin commands and other side-commands. - by Eth - 18.10.2014, 10:39

Forum Jump:


Users browsing this thread: 2 Guest(s)