Ok, well right now I have a plugin that stores damage that is done to an entity by a player into an array.
Right now the array is defined as:
Code:
gDamageDone[ MAX_PLAYERS + 1][ 4381 ]
I would like not having to declare a large array like that, so I want the 2nd dimension to be dynamic, depending on the amount of entities in the current map.
Now I understand that I would probably use CellArray, but I am unsure how to go about doing this and still use the array like I do, example:
Code:
public Event_MonsterTakeDamage( idEnt, idInflictor, idAttacker, Float:damage, damageBits )
{
... stuff here
gDamageDone[ idAttacker ][ idEnt ] += damage
}