Return to site

How to make a gmod weapon

broken image
broken image

The next piece of information is important. Your SWep will work without most of this information, but it's ideal to include details. It is possible to to include both the server-only and client-only code in the shared. There is however, an alternative way of laying out SWeps. Normally this is used only for weapon information. This is for functions that will affect clients individually. This environment will contain functions that will affect the server, such as killing players or throwing things. Now, create a new directory with a simple name without spaces for your SWep. Popular choices for SWeps include launching objects, such as watermelons or chairs, and 'better' versions of existing weapons, like a crossbow that can shoot several bolts per second. Better known as a SWep or SWEP in some cases a scripted weapon is a weapon that has an underlying script controlling its operation.