19.11.2010, 13:45
if someone is in debt on my server (negative money) this is also save in the ini files on my server... but
if this person reconnects, the negative money is STILL IN RAM. i used GivePlayerMoney, not SetPlayerMoney, in all of my scripts, so this person ends up with their debt being multiplied by 2. this only happens with negative numbers. I have already fixed it in my script. just wanted to let somebody know that it could happen (probably because everything is stored in RAM instead of unloading it. why do you think sa-mp loads so much faster now?)
if this person reconnects, the negative money is STILL IN RAM. i used GivePlayerMoney, not SetPlayerMoney, in all of my scripts, so this person ends up with their debt being multiplied by 2. this only happens with negative numbers. I have already fixed it in my script. just wanted to let somebody know that it could happen (probably because everything is stored in RAM instead of unloading it. why do you think sa-mp loads so much faster now?)