03.05.2015, 22:08
Код:
CMD:setskin(playerid, params) { new skinid; if(sscanf(params, "i", skinid)) { if(skinid < 0 || skinid > 311) return SendClientMessage(playerid, -1, "Don't go lower than 0, or higher than 311"); SetPlayerSkin(playerid, skinid); } return 1; }
(if it doesn't work, replace "return SendClientMessage(playerid, -1, "Don't go lower than 0, or higher than 311");" with "SendClientMessage(playerid, -1, "Don't go lower than 0, or higher than 311");"