07.06.2016, 14:13
When you destroy dInfo[i][DeerObject] set its value to 0. Also, you shouldn't set its position right before destroying it.
The problem about deleting the entire map (I guess not the GTA:SA map ?) of CreateDynamicObject s (?) is a problem from your storing of IDs.
pawn Code:
DestroyDynamicObject(dInfo[i][DeerObject]);
dInfo[i][DeerObject] = 0;