#1

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?
Reply
#2

PlayerInfo[playerid][BankMoney] += strval(inputtext);

gotta turn the string into a number first
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)