Hello Facepunch,
Im working today on a Swep Pack and I got a Problem. I know not much about LUA Coding, but I know the Basics. Okay, now to my Problem: I got a Shotgun Model, it has for the Fire Sequence 2 Animations, The Fire Animation and then the Pump Animation, and now i wanted to ask you Guys, is it Possible that i can let this SWEP play this 2 Anims? First the Fire Animation and the Pump Animation, I found in this Forum here nothing, or I didn't found any other SWEPs that use too 2 Fire Animations for the Fire Sequence. Uh, and dont tell me anything about Recompiling, Im pretty good at Compiling HL2/CSS, I know much about it, but the Model seems undecompileable.. :/ So I need to be able to let the LUA run this 2 Animations.. Ugh, and sorry for my Bad English, it isn't my first Language.
MFG
murphy.
*EDIT*
NVM,
[code]
self.Owner:FireBullets(bullet)
self.Weapon:SendWeaponAnim(ACT_VM_PRIMARYATTACK)
self.Weapon:SendWeaponAnim(ACT_SHOTGUN_PUMP) -- I ADDED THIS LINE.
self.Owner:MuzzleFlash()
self.Owner:SetAnimation(PLAYER_ATTACK1)[/code]
Works now ;D.
I had this same problem, Thanks for the help ?
Sorry, you need to Log In to post a reply to this thread.