07.04.2011, 09:54
Код:
CMD:setskin(playerid,params[]) { new id; if(sscanf(params,"i",id)) return SendClientMessage(playerid,red,"USAGE:/setskin [skin id]"); SetPlayerSkin(playerid, id); GivePlayerMoney(playerid, -500); if(GetPlayerSkin(playerid) == id) SendClientMessage(playerid,COLOR_ORANGE,"*Skin changed."); else SendClientMessage(playerid,red,"Invalid skin id."); return 1; }