10.02.2016, 00:20
You forgot one thing here....
No verification of the mine actually exists but still running deletion functions on arbitrary reference id's is never good
Код:
public DestroyDynamicMine(mineid){
if(mineid < 0 || mineid >= MAX_MINES) return 0;
DestroyDynamicObject(MineComponent[mineid][mine_objectid]);
DestroyDynamicArea(MineComponent[mineid][mine_areaid]);

