bank - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: bank (
/showthread.php?tid=225739)
bank -
omer5198 - 14.02.2011
in dialog i want it do something... but how can i add money? i tried like this but it doesn't work...
pawn Code:
PlayerInfo[playerid][BankMoney] + inputtext
so how can i do it?
Re: bank -
(SF)Noobanatior - 14.02.2011
PlayerInfo[playerid][BankMoney] += strval(inputtext);
gotta turn the string into a number first