Tag Mismatch
#1

This is where the warning is:

pawn Код:
if(vdoorslocked[VehicleID] == false)
However, the code works as expected despite getting the following warning:

pawn Код:
warning 213: tag mismatch
Any idea's how I can fix the warning or, ignore it so to speak?
Reply
#2

They are floats, just declare your array
Reply
#3

replace this
pawn Код:
if(vdoorslocked[VehicleID] == false)
with this vehicleid should be in small alphabet
pawn Код:
if(vdoorslocked[vehicleid] == false)
Reply
#4

The lowercased array isn't the issue, it's the "== false/true"
Reply
#5

Ok so changed it ?
Reply
#6

Quote:
Originally Posted by vIBIENNYx
Посмотреть сообщение
The lowercased array isn't the issue, it's the "== false/true"
then use 0 or 1 becoz
false return as 0
and true return as 1
Reply
#7

Thanks ^^ Repped.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)