09.04.2015, 13:25
I'm not familiar with file saving systems, but I believe that the script overwrites the bank value instead of adding the ammout to it.
try this (this isnt a solution, just to know where the problem is)
PlayerInfo[id][Banca] += denaro;
printf("Bank test: %i", PlayerInfo[id][Banca]);// go check the server console for details
P.S: you may want to post the results here
try this (this isnt a solution, just to know where the problem is)
PlayerInfo[id][Banca] += denaro;
printf("Bank test: %i", PlayerInfo[id][Banca]);// go check the server console for details
P.S: you may want to post the results here