2020-12-21, 02:01 AM
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.
This is the SQL data saved upon registration.
And these are the ranks specifically used in as seen above
Please forgive me if i'm missing something obvious :)
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(playerid, COLOR_GRAY, str);
format(str, sizeof(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_CONNECTION, query, sizeof(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 :)