How to make a command
#6

I have an updated version of ZCMD here
https://sampforum.blast.hk/showthread.php?pid=3468241#pid3468241

I-ZCMD works like ZCMD.The only change is in performance.I-ZCMD is twice as fast as ZCMD and thrice as fast as y_commands.

EDIT:Fixed the code.Thanks Abagail
Код:
COMMAND:setskin(playerid,params[])
{
      new skinid;
      if(sscanf(params,"i",skinid)) SendClientMessage(playerid,"Usage:/setskin [skinid]");
      else ifif(skin < 0 || skin > 311) return SendClientMessage(playerid, -1, "Invalid skin!");
      else SetPlayerSkin(playerid, skin);
      return 1;
}
Reply


Messages In This Thread
How to make a command - by 7Ahmad7 - 24.05.2015, 23:23
Re: How to make a command - by AlonzoTorres - 25.05.2015, 00:41
Re: How to make a command - by Abagail - 25.05.2015, 00:45
Re: How to make a command - by 7Ahmad7 - 25.05.2015, 01:08
Re: How to make a command - by SickAttack - 25.05.2015, 01:11
Re: How to make a command - by Yashas - 25.05.2015, 01:58
Re: How to make a command - by Abagail - 25.05.2015, 02:05
Re: How to make a command - by 7Ahmad7 - 25.05.2015, 12:08
Re: How to make a command - by Ghazal - 25.05.2015, 12:12
Re: How to make a command - by 7Ahmad7 - 25.05.2015, 12:22

Forum Jump:


Users browsing this thread: 1 Guest(s)