#3

should be
PHP код:
stock SaveUsers(playerid)
{
    if(!
PlayerLogged[playerid])
        return 
0;
    
playerinfo[playerid][Score] = GetPlayerScore(playerid);
    
playerinfo[playerid][Money] = GetPlayerMoney(playerid);
    
playerinfo[playerid][Skin] = GetPlayerSkin(playerid);
    new 
string[256];
    
format(string, sizeof(string), "UPDATE users SET Password='%s',Admin='%d',Money='%d',Score='%d',Skin='%d' WHERE Name='%s'", playerinfo[playerid][Password], playerinfo[playerid][Admin], playerinfo[playerid][Money],playerinfo[playerid][Score], playerinfo[playerid][Skin],playerinfo[playerid][Name]);
    
mysql_query(string);
    return 
1;
} 
Reply


Messages In This Thread
Bug - by Sub Z3rO - 04.11.2010, 20:35
Re: Bug - by Moglizorz. - 04.11.2010, 21:20
Re: Bug - by (SF)Noobanatior - 04.11.2010, 23:29

Forum Jump:


Users browsing this thread: 1 Guest(s)