30.12.2012, 21:07
I'm sure you've changed another one.
On the format, it updates what the variable playerVariables[playerid][pMoney] holds and in your case is 0. Just use the GetPlayerMoney function to the formatted text.
pawn Код:
format(szQuery, sizeof(szQuery), "%s, Interior = %d, Skin = %d, Money = %d WHERE ID = %d", szQuery, playerVariables[playerid][pInterior], playerVariables[playerid][pSkin], GetPlayerMoney(playerid), playerVariables[playerid][pDBID]);