13.04.2018, 21:02
it's get, not set.
you have to use UPDATE function from MySQL
for example: (with MySQL R39)
you have to use UPDATE function from MySQL
for example: (with MySQL R39)
PHP код:
new sqlquery[512],name[28];
GetPlayerName(playerid,name,28);
mysql_format(handle,sqlquery,512,"UPDATE `account` SET `Money` = '%d' WHERE `Name` = '%s'",GetPlayerMoney(playerid),name);
mysql_query(handle,query);