MySQL R38
#1

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
Код:
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);
Код:
cache_get_field_content(0, "FactionPoints", result); PlayerData[extraid][pFactionPoints] = strval(result);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)