18.10.2014, 06:39
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;
}