mysql_query - argument type mismatch error
#9

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(stringsizeof(string), "UPDATE Users SET Password='%s',Money='%d' WHERE Name='%s'"UserStats[playerid][Password], UserStats[playerid][Money], UserStats[playerid][Name]);
    
mysql_query(MySqlstring);
    return 
1;

Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)