|id||The id of the map to destroy.|
Ds_maps take up space in memory, which is allocated to them when
they are created. This means that you also need to free this memory
when the ds_map is not needed to prevent errors, memory leaks and
loss of performance when running your game. This function does just
The above code will destroy the ds_map with the id indexed in the variable "inventory".