• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] (4770) : warning 213: tag mismatch
#1
I'm finally returning to SAMP again after so many years, i'm just learning to code once again, not i'm getting a tag mismatch for this VIP stuff.



This is part of something that is displayed in the stats command, this is the command i'm getting the warning from.

PHP Code:
SendClientMessage(playeridCOLOR_GRAYstr);



format(strsizeof(str), "> Age: [%d] | Money: [%d] | VIP: [%s]"Character[playerid][Age], Character[playerid][Cash], VIPRANKS[Character[playerid][pVIP]][0]); 



This is the SQL data saved upon registration.

PHP Code:
mysql_format(SQL_CONNECTIONquerysizeof(query), "UPDATE Accounts SET Admin = %d, VIP = %d WHERE SQLID = %d LIMIT 1",



Account[playerid][Admin],

Account[playerid][pVIP],

Account[playerid][SQLID]); 



And these are the ranks specifically used in as seen above

PHP Code:
VIPRANKS[Character[playerid][pVIP]][0


PHP Code:
new VIPRANKS[][] =

{

"None",

"Bronze",

"Silver",

"Gold",

"Lifetime"

}; 



Please forgive me if i'm missing something obvious :)
  Reply


Messages In This Thread
(4770) : warning 213: tag mismatch - by Stones - 2020-12-21, 02:01 AM
RE: (4770) : warning 213: tag mismatch - by Pinch - 2020-12-21, 06:43 AM

Forum Jump: