Muzzle flash and shell ejection question.

Hi I am new to Garry’s Mod and have not made any swep for it before. However, I have been thinking of making one, but I would like to know to have muzzle flash and shell ejection on my gun do I need a make a bone and put them into position and export the gun with the effect bones for compiling? For example, do I have to create a bone and align it to the front of the barrel and attached it to the gun.

Sorry if I am posting this at the wrong section of the forum.

I think this question is better suited in the Lua and Scripts forums :).

It is easier to just link bones to the weapon (in the position of where you want the muzzle flash and shell ejections), just make sure that whatever you name them is the same in your qc or lua file.

Ok thanks for helping.