Tag mismatch?
#1

This is the code I'm using:

PHP код:
if(pInfo[playerid][pAlive] == false
I get the error:

warning 213: tag mismatch

But when I change FALSE to 1 or something similiar, the error goes away. But I need to keep it as false, any possible solutions?
Reply
#2

use bool
example
pawn Код:
enum yourenum
{
   bool: pAlive
}
new pInfo[MAX_PLAYERS]][yourenum];
Reply
#3

Edit: Nvm
Reply
#4

Could you help me with the code, I didn't quite get it.
Reply
#5

Either make pAlive a boolean or do == 0 which is the same as false.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)