/signcheck XXXX
#7

pawn Код:
if(strcmp(cmdtext, "/signcheck", 10)==0)
{
  if(!strlen(cmdtext[11]))
  {
    SendClientMessage(playerid, 0xFF0000AA, "Use: /signcheck [checknumber]");
    return 1;
  }
  new number = strval(cmdtext[11]);
  if(number == CheckNumber[playerid])
  {
    SendClientMessage(playerid, 0x00FF00AA, "You received your money!");
    GivePlayerMoney(playerid, ENTER_HERE_THE_AMOUNT!!);
  }
  else
  {
    SendClientMessage(playerid, 0xFF0000AA, "Wrong checknumber!");
  }
  return 1;
}
How could I turn that to ZCMD?
Reply


Messages In This Thread
/signcheck XXXX - by iGetty - 18.07.2011, 20:01
Re: /signcheck XXXX - by Adil - 18.07.2011, 20:05
[No subject] - by iGetty - 18.07.2011, 20:06
Re: /signcheck XXXX - by Danny - 18.07.2011, 20:13
Re: /signcheck XXXX - by iGetty - 18.07.2011, 20:15
Re: /signcheck XXXX - by Adil - 18.07.2011, 20:16
Re: /signcheck XXXX - by iGetty - 18.07.2011, 20:19
AW: /signcheck XXXX - by jaksimaksi - 16.08.2011, 06:37
Re: /signcheck XXXX - by Biesmen - 16.08.2011, 07:04
AW: /signcheck XXXX - by jaksimaksi - 16.08.2011, 07:26

Forum Jump:


Users browsing this thread: 1 Guest(s)