PHP Code:
new MVPsteamid[32]
new MLPsteamid[32]
get_user_authid( topKillerid, MVPsteamid, charsmax(MVPsteamid))
get_user_authid( topDeathsid, MLPsteamid, charsmax(MLPsteamid))
new szQuery[1000];
formatex( szQuery, 999, "UPDATE `users` SET `MVP` = 'MVP + 1' WHERE steam_id = '%s';", MVPsteamid);
formatex( szQuery, 999, "UPDATE `users` SET `MLP` = 'MLP + 1' WHERE steam_id = '%s';", MLPsteamid);
formatex( szQuery, 999, "UPDATE `matches` SET `MVP_steamid` = '%s', `MLP_steamid` = '%s' WHERE match_id = '%s';", MVPsteamid, MLPsteamid, szLine);
SQL_ThreadQuery( g_hTuple, "QuerySetData", szQuery);
Whats wrong with this? I'm getting only 'matches' but not +1 MVP or + 1 MLP into database...