Basic SWEP questions

I’m making a swep, and i need to know what the command (like “SWEP.Primary.sound”) is for:

1: The secondary sound

2: the swep holdtype for melee (is it melee or crowbar or what)

…that’s it…

and, how do i set it for “hands by my side”, and if i did that with the world model as a stunstick, would people online see me hold the stunstick at me side? That’s what I really need…

function SWEP:PrimaryAttack()
function SWEP:SecondaryAttack()
–Notice the change?

for number 2:

function SWEP:Initialize( )
if SERVER then
self:SetWeaponHoldType( “melee” )

Next time, can I suggest looking at a swep that already exists :stuck_out_tongue_winking_eye:
It’s useful.


For the other thing, I dont know, I recommend looking at existing sweps.

I dont think you can add a weapon, AND hold the arms to the side o-o

But, I may be wrong.

Read the bottom of his post. Take a look at this swep.

Oh, thats cool o_o

Hehe, told yah I could’ve been wrong 8D


Hm, thats what I was answering, <-<

Maybe you misstook me, but I ment that I dont think they would see the STUNSTICK 8D

I know you can hold your arms to the side… <-<