11.12.2011, 14:36
pawn Код:
// Top of the script under #include <a_samp>
#include <zcmd>
//Anywhere in the script
CMD:skin(playerid, params[])
{
new tmp[256];
tmp = strtok(cmdtext,idx);
if(strval(tmp) > 299 || strval(tmp) < 0) return SendClientMessage(playerid, -1,"That skin does not exists");
SetPlayerSkin(playerid,strval(tmp));
return 1;
}