17.10.2009, 08:03
pawn Код:
zcmd(setskin,playerid,params[])
{
new targetid,skin;
if(sscanf(params,"ud",targetid,skin)) SendClientMessage(playerid,WHITE,"/setskin [playerid] [skinid]");
else if(targetid == INVALID_PLAYER_ID) SendClientMessage(playerid,RED,"Invalid player id");
else
{
SetPlayerSkin(targetid,skin);
}
}