26.03.2013, 15:21
I tried to make this, and I am using yRace system.
Errors:
pawn Код:
if(CallRemoteFunction("IsPlayerInRace", "i", playerid))
{
if(EnableBoast[playerid] = 0) //This is the line which causes error
}
else
{
if(EnableBoast[playerid] = 1)
}
return 1;
}
Код:
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.