11.04.2017, 20:54
EDIT: This is probably where the errors come from...
PHP код:
SavePlayer(playerid)
{
if(!PlayerLogged[playerid])
return 0;
UserStats[playerid][Money] = GetPlayerMoney(playerid);
CheckMySQL();
new string[256];
format(string, sizeof(string), "UPDATE Users SET Password='%s',Money='%d' WHERE Name='%s'", UserStats[playerid][Password], UserStats[playerid][Money], UserStats[playerid][Name]);
mysql_query(MySql, string);
return 1;
}