25.07.2015, 12:22
PHP код:
#include <a_samp>
#include <zcmd>
#include <sscanf2>
CMD:skin(playerid,skinid,params[])
{
new skinid;
if(sscanf(params,"i",skinid))return SendClientMessage(playerid,-1,"/skin [ID]");
if(skinid < 0 || skinid > 311)return SendClientMessage(playerid,-1,"Invalid SkinID");
SetPlayerSkin(playerid,skinid);
return 1;
}