Help with enum, and storing - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help with enum, and storing (
/showthread.php?tid=581831)
Help with enum, and storing -
Sc0pion - 15.07.2015
Fixed!
Re: Help with enum, and storing -
TonyVk - 15.07.2015
Just add this under first dini_IntSet:
Код:
format(file,sizeof(file),PlayerFile, TargetName);
dini_IntSet(file,"BankCash",pInfo[target][BankCash]);
Re: Help with enum, and storing -
Sc0pion - 16.07.2015
Fixed!
Re: Help with enum, and storing -
DarkLored - 16.07.2015
No, target is a different person he is the one who received the money therefore he will have the positive amount don't look at the pInfo, it's just a title for the function in simple terms it'll be pInfo[MAX_PLAYERS][BankCash] .