21.06.2012, 07:50
here it is:
pawn Код:
new targetid;
if(sscanf(params, "d", targetid)) return SendClientMessage( playerid, -1, "Sorry you must be type /skin <id>");
if(!IsValidSkin(targetid)) return SendClientMessage( playerid, -1, "ERROR:{FFFFFF} Invalid skin ID.");
SetPlayerSkin(playerid, targetid);
Account[playerid][Skin] = targetid;
new String[180];
format(String, sizeof String, "you set your skin to %d and it has been saved into your account succesfully!", targetid);
SendClientMessage(playerid, -1, String);
return 1;

