increase variable?
#1

hi,

can i increase a variable like that correctly?

pawn Код:
drugamount[playerid]=drugamount[playerid]+NewAmount;
thanks
Reply
#2

hmm i think you can
Reply
#3

or

drugamount[playerid] += NewAmount;
Reply
#4

thanks, but my way is also possible right?
I know it is in C but i dont know if it is for pawno too
Reply
#5

Yes it is.
Reply
#6

please test the script and read the wiki before creating a thread.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)