Buying Problem
#1

pawn Код:
new C4BUY[MAX_PLAYERS];

    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;
    }
Errors
Код:
C:\Documents and Settings\Joe\My Documents\Tools\SA-MP\filterscripts\C4.pwn(61) : error 029: invalid expression, assumed zero
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(66) : warning 215: expression has no effect
C:\Documents and Settings\Joe\My Documents\Tools\SA-MP\filterscripts\C4.pwn(66) : error 001: expected token: ";", but found "if"
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(66) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


5 Errors.
Whats wrong
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: 1 Guest(s)