Directly add values to a 2 dimensional array ?
#1

Why will this work:
pawn Код:
new plantgrammy;
        plantgrammy = drugs[playerid][plantgrams] +5;
        drugs[playerid][plantgrams] = plantgrammy;
        dini_IntSet(connect, "plantgrams", drugs[playerid][plantgrams]);
And this not?

pawn Код:
drugs[playerid][plantgrams] + 5;
Thanks for any explanation
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)