Tag Mismatch ( bool )
#1

pawn Код:
enum pInfo
{
  // ...
  bool:pMuted,
  // ...,
};

// OnPlayerLogin
if(!strcmp(key , "Muted" , true))
{
  val = ini_GetValue(Data);
  PlayerInfo[playerid][pMuted] = strval(val); // warning 213: tag mismatch
}
Reply
#2

Remove the 'bool:' tag.

Make sure "val" is a string also although you could use the ini_ function directly.
Reply
#3

Lol , i know that ... but i though there's a function ... something like boolval :P
Reply
#4

Quote:
Originally Posted by Angel φ
Lol , i know that ... but i though there's a function ... something like boolval :P
Lmao dude you fail at blagging but anyway no we don't (use 1 - 0 and remove the bool tag).
Reply
#5

Код:
PlayerInfo[playerid][pMuted] = bool:strval(val); // warning 213: tag mismatch
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)