22.12.2013, 20:11
hey guys i got this problem i have reg system it saves your acc you have the PW and stuff but the worst thing your money and your Score wont be saved may i ask why i looked into but nothing.
enum e_pInfo
{
pSQLid,
pPass[129],
pSalt[30],
pScore,
pMoney
}
new Pi[MAX_PLAYERS][e_pInfo];
//now when a player earns some money, just do
GivePlayerMoney(playerid, 500);
Pi[playerid][pMoney] += 500;
//and just add it to the playerfile or mysql table on disconnect, just like your PW