Tried to add this, but...
#1

I tried to make this, and I am using yRace system.

pawn Код:
if(CallRemoteFunction("IsPlayerInRace", "i", playerid))
        {
            if(EnableBoast[playerid] = 0) //This is the line which causes error
        }
        else
        {
            if(EnableBoast[playerid] = 1)
        }
    return 1;
    }
Errors:
Код:
C:\Users\Kelvin\Desktop\Scripting\filterscripts\boost.pwn(115) : warning 211: possibly unintended assignment
C:\Users\Kelvin\Desktop\Scripting\filterscripts\boost.pwn(116) : error 029: invalid expression, assumed zero
C:\Users\Kelvin\Desktop\Scripting\filterscripts\boost.pwn(116 -- 117) : warning 215: expression has no effect
C:\Users\Kelvin\Desktop\Scripting\filterscripts\boost.pwn(117) : error 001: expected token: ";", but found "else"
C:\Users\Kelvin\Desktop\Scripting\filterscripts\boost.pwn(119) : warning 211: possibly unintended assignment
C:\Users\Kelvin\Desktop\Scripting\filterscripts\boost.pwn(120) : error 029: invalid expression, assumed zero
C:\Users\Kelvin\Desktop\Scripting\filterscripts\boost.pwn(120 -- 121) : warning 215: expression has no effect
C:\Users\Kelvin\Desktop\Scripting\filterscripts\boost.pwn(121) : error 001: expected token: ";", but found "return"
C:\Users\Kelvin\Desktop\Scripting\filterscripts\boost.pwn(121) : warning 217: loose indentation
C:\Users\Kelvin\Desktop\Scripting\filterscripts\boost.pwn(123) : error 030: compound statement not closed at the end of file (started at line 115)
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


5 Errors.
Reply


Messages In This Thread
Tried to add this, but... - by LeeXian99 - 26.03.2013, 15:21
Re: Tried to add this, but... - by Joao Pedro - 26.03.2013, 15:28
Re: Tried to add this, but... - by TomatoRage - 26.03.2013, 15:30
Re: Tried to add this, but... - by LeeXian99 - 26.03.2013, 15:38
Re: Tried to add this, but... - by Joao Pedro - 26.03.2013, 15:42
Re: Tried to add this, but... - by LeeXian99 - 26.03.2013, 15:47
Re: Tried to add this, but... - by Joao Pedro - 26.03.2013, 15:54
Re: Tried to add this, but... - by LeeXian99 - 26.03.2013, 16:10
Re: Tried to add this, but... - by arjanforgames - 26.03.2013, 16:12
Re: Tried to add this, but... - by LeeXian99 - 26.03.2013, 16:13

Forum Jump:


Users browsing this thread: 1 Guest(s)