06.02.2012, 15:47
Is it possible to set all(or a scope of) items to a same value in an array in one line, without using loops? It would be fine if it was a small array, but my code has
so it's quite large and needs to be updated on OnPlayerDeath() callback. I need to set all the values or all but one value to 0, so it would be something like
pawn Code:
onevariable[MAX_PLAYERS][MAX_PLAYERS]
pawn Code:
onevariable[all items][all items] = 0