24.10.2012, 23:44
pawn Код:
CMD:setskin(playerid, params[])
{
new skinid;
if(!sscanf(params, "ud", skinid)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /setskin [skinid]");
if(GetPlayerSkin(playerid) == skinid)
{
SendClientMessage( playerid, COLOR_WHITE, "* You are already using this skin-id." );
}
else
{
SetPlayerSkin(playerid, skinid);
}
return 1;
}