07.12.2018, 07:09
(
Последний раз редактировалось Calisthenics; 07.12.2018 в 11:55.
)
The count of placeholders does not match the count of arguments.
This is wrong:
There is already a public function under this name. Change it to something else or remove the specified callback altogether.
Use server-side money so cheats will not work.
pawn Код:
mysql_format(mysql, query, sizeof(query),
"UPDATE accounts \
SET Money = %d, \
PosX = %f, PosY = %f, PosZ = %f, PosA = %f, \
Kills = %d, Deaths = %d \
WHERE ID = %d",
GetPlayerMoney(playerid),
pos[0], pos[1], pos[2], pos[3],
Player[playerid][Kills], Player[playerid][Deaths],
Player[playerid][ID]);
pawn Код:
mysql_tquery(mysql, query, "OnPlayerUpdate", "i", playerid);
Use server-side money so cheats will not work.