Directly add values to a 2 dimensional array ?
#2

The last piece of code doesn't assign anything. It's just an expression. You'll need to use += for your purpose
pawn Код:
drugs[ playerid ][ plantgrams ] += 5;
Reply


Messages In This Thread
Directly add values to a 2 dimensional array ? - by denNorske - 13.02.2013, 10:23
Re: Directly add values to a 2 dimensional array ? - by LarzI - 13.02.2013, 10:42
Re: Directly add values to a 2 dimensional array ? - by denNorske - 13.02.2013, 11:03

Forum Jump:


Users browsing this thread: 1 Guest(s)