Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

MySQL R38

$
0
0
Hello , i have this stock, but i want to make for mysql R38 , i didn't know what i need to change because if i compile like this , i have error: unknown function
Code:

stock IncreasePlayerGroupReports(playerid)
{
new query[128];
PlayerInfo[playerid][pFactionPoints]++;
mysql_format(handle, query, sizeof(query), "UPDATE `playeraccounts` SET `FactionPoints` = '%d' WHERE playerID = '%d'", PlayerInfo[playerid][pFactionPoints], PlayerInfo[playerid][pInternalID]);
mysql_query(SQL, query, false);

Code:

cache_get_field_content(0, "FactionPoints", result); PlayerData[extraid][pFactionPoints] = strval(result);

Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>