If you're using that now, then you can just edit the query in the saveAccount function to:
pawn Код:
format(szQuery, sizeof(szQuery), "UPDATE players SET Health = '%f', Armour = '%f', PosX = '%f', PosY = '%f', PosZ = '%f', PosR = '%f'", playerVariables[playerid][pHealth], playerVariables[playerid][pArmour], playerVariables[playerid][pPos][0], playerVariables[playerid][pPos][1], playerVariables[playerid][pPos][2], playerVariables[playerid][pPos][3]);
format(szQuery, sizeof(szQuery), "%s, Interior = %d, Skin = %d, Score = %d WHERE ID = %d", szQuery, playerVariables[playerid][pInterior], playerVariables[playerid][pSkin], GetPlayerScore(playerid), playerVariables[playerid][pDBID]);
As you can see, 'score' is at the bottom just before the 'WHERE' clause. Score will now save by using GetPlayerScore().
You might want to use SetPlayerScore() to set the score once it's loaded though, like this:
pawn Код:
mysql_fetch_field_row(szReturn, "Score", connectionHandle);
playerVariables[extraid][pScore] = strval(szReturn);
SetPlayerScore(extraid, playerVariables[extraid][pScore]);
Otherwise, the code for loading should work - but you need to add the field to the table in MySQL, see
this or many other guides on the web for how to do that.
You can post in the release thread for the script in the future if you have any more questions similar to this. I'm a lot more likely to answer them faster.