WTF are those errors????
#1

Im trying to make a command to turn on/off the Speed O Meters
and i have 4 errors+2 warnings:
pawn Код:
C:\Documents and Settings\Liat.LIAT-5FBA01523F\Desktop\pawno\SpeedOMeters\speedo3.pwn(409) : warning 211: possibly unintended assignment
C:\Documents and Settings\Liat.LIAT-5FBA01523F\Desktop\pawno\SpeedOMeters\speedo3.pwn(409) : warning 211: possibly unintended assignment
C:\Documents and Settings\Liat.LIAT-5FBA01523F\Desktop\pawno\SpeedOMeters\speedo3.pwn(409) : error 022: must be lvalue (non-constant)
C:\Documents and Settings\Liat.LIAT-5FBA01523F\Desktop\pawno\SpeedOMeters\speedo3.pwn(409) : error 022: must be lvalue (non-constant)
C:\Documents and Settings\Liat.LIAT-5FBA01523F\Desktop\pawno\SpeedOMeters\speedo3.pwn(409) : error 022: must be lvalue (non-constant)
C:\Documents and Settings\Liat.LIAT-5FBA01523F\Desktop\pawno\SpeedOMeters\speedo3.pwn(409) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
the line:
pawn Код:
if(TextDrawsShown[playerid] = false && VHSCreated[playerid] = false && LightRedHealthCreated[playerid] = false && LightYellowSpeedCreated[playerid] = false)
      {
how to fix that??
Reply
#2

pawn Код:
if(TextDrawsShown[playerid] == false && VHSCreated[playerid] == false && LightRedHealthCreated[playerid] == false && LightYellowSpeedCreated[playerid] == false)
Reply
#3

what did you change
Reply
#4

He added another '=' next to the one you had.
Remember: You have to use two '=' in if, and 1 when you're setting a value.
Reply
#5

ohhh tanks it works tanks a lot!!!!
lock please
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)