Buying Problem
#6

Narrowed it down to 3 errors,

pawn Код:
if (strcmp("/buyc4", cmdtext, true) == 0)
    {
      if (C4BUY[playerid] == 1);
      {
      SendClientMessage(playerid, 0xFF0000AA, "You already have C4");
      }
      {
        else
        }
        if (C4BUY[playerid] == 0);
        {
        SendClientMessage(playerid, 0xFF0000AA, "You have purchased C4");
        C4BUY[playerid] == 1;
        }
        return 1;
    }
Код:
C:\Documents and Settings\Joe\My Documents\Tools\SA-MP\filterscripts\C4.pwn(61) : error 036: empty statement
C:\Documents and Settings\Joe\My Documents\Tools\SA-MP\filterscripts\C4.pwn(66) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Joe\My Documents\Tools\SA-MP\filterscripts\C4.pwn(68) : error 036: empty statement
C:\Documents and Settings\Joe\My Documents\Tools\SA-MP\filterscripts\C4.pwn(71) : warning 215: expression has no effect
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.
Reply


Messages In This Thread
Buying Problem - by JoeDaDude - 14.06.2009, 22:42
Re: Buying Problem - by Weirdosport - 14.06.2009, 22:43
Re: Buying Problem - by JoeDaDude - 14.06.2009, 22:44
Re: Buying Problem - by Weirdosport - 14.06.2009, 22:47
Re: Buying Problem - by miokie - 14.06.2009, 22:48
Re: Buying Problem - by JoeDaDude - 14.06.2009, 22:50
Re: Buying Problem - by miokie - 14.06.2009, 22:52
Re: Buying Problem - by JoeDaDude - 14.06.2009, 22:58
Re: Buying Problem - by miokie - 14.06.2009, 22:59
Re: Buying Problem - by JoeDaDude - 14.06.2009, 23:03

Forum Jump:


Users browsing this thread: 3 Guest(s)