Strange thing.
#1

pawn Код:
CMD:signcheck(playerid, params[])
{
  if(!strlen(params[11]))
  {
    SendClientMessage(playerid, 0xFF0000AA, "{FFFFFF}Use: /signcheck [checknumber]");
    return 1;
  }
  new number = strval(params[11]);
  if(number == CheckNumber[playerid])
  {
    SendClientMessage(playerid, 0x00FF00AA, "{FFFFFF}You received your money!");
    GivePlayerMoney(playerid, -111);
  }
  else
  {
    SendClientMessage(playerid, 0xFF0000AA, "{FF3300}Wrong checknumber!");
  }
  return 1;
}
When I have the number, it comes up with this:

Use: /signcheck [checknumber]

Instead of the actual thing, any ideas?
Reply


Messages In This Thread
Strange thing. - by iGetty - 19.07.2011, 00:25
AW: Strange thing. - by Meta - 19.07.2011, 00:29
Re: Strange thing. - by Calgon - 19.07.2011, 00:37

Forum Jump:


Users browsing this thread: 3 Guest(s)