how to create a crate in console

how could you create a crate in console

The command to spawn things via console is gm_spawn “Modelpathhere”
For a crate, it would be:



SMALL CRATE: gm_spawn "models/props_junk/wood_crate001a.mdl"
LARGE CRATE: gm_spawn "models/props_junk/wood_crate002a.mdl"


Thanks i needed that so i could make it do that when you kill a guy i hope it works if not well atleast i can amaze my friends