/skin in ZCMD
#2

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;
}
I didn't check the code but just made it zcmd for ya.
Reply


Messages In This Thread
/skin in ZCMD - by lamarr007 - 11.12.2011, 14:33
Re: /skin in ZCMD - by suhrab_mujeeb - 11.12.2011, 14:36
Re: /skin in ZCMD - by lamarr007 - 11.12.2011, 14:37
Re: /skin in ZCMD - by Kingunit - 11.12.2011, 14:39
Re: /skin in ZCMD - by Kostas' - 11.12.2011, 14:40
Re: /skin in ZCMD - by suhrab_mujeeb - 11.12.2011, 14:42
Re: /skin in ZCMD - by iGetty - 11.12.2011, 14:45
Re: /skin in ZCMD - by lamarr007 - 11.12.2011, 14:47
Re: /skin in ZCMD - by Kostas' - 11.12.2011, 14:50
Re: /skin in ZCMD - by ViPGuy - 11.12.2011, 14:51

Forum Jump:


Users browsing this thread: 1 Guest(s)