Car Papa o
String
- Joined
- Aug 24, 2016
- Messages
- 1
- Nebulae
- 0
So I'm a complete newbie into the helix schema and I've been experimenting and testing for quite a while now. I've got the schema working with the plugins and everything, but I keep running into a lua problem with the animation hooks.
This is upon firing a 9mm:
Lines 197 and 198 of sh_hooks.lua:
Running into the same issue with stunsticks:
and even hands:
They all seem to point back to sh_hooks.lua line 198
Any advice? Thanks in advance, C.
This is upon firing a 9mm:
Code:
[ERROR] gamemodes/helix/gamemode/core/hooks/sh_hooks.lua:198: attempt to index local 'animation' (a nil value)
1. unknown - gamemodes/helix/gamemode/core/hooks/sh_hooks.lua:198
Lines 197 and 198 of sh_hooks.lua:
Code:
if (event == PLAYERANIMEVENT_ATTACK_PRIMARY) then
client:AnimRestartGesture(GESTURE_SLOT_ATTACK_AND_RELOAD, animation.attack or ACT_GESTURE_RANGE_ATTACK_SMG1, true)
Running into the same issue with stunsticks:
Code:
[ERROR] gamemodes/helix/gamemode/core/hooks/sh_hooks.lua:198: attempt to index local 'animation' (a nil value)
1. unknown - gamemodes/helix/gamemode/core/hooks/sh_hooks.lua:198
2. SetAnimation - [C]:-1
3. unknown - gamemodes/ixhl2rp/entities/weapons/ix_stunstick.lua:189
Code:
[ERROR] gamemodes/helix/gamemode/core/hooks/sh_hooks.lua:198: attempt to index local 'animation' (a nil value)
1. unknown - gamemodes/helix/gamemode/core/hooks/sh_hooks.lua:198
2. SetAnimation - [C]:-1
3. unknown - gamemodes/helix/entities/weapons/ix_hands.lua:400
They all seem to point back to sh_hooks.lua line 198
Any advice? Thanks in advance, C.