When i fire a weapon in my gamemode, it fires but it has no recoil and in the top left it says “Script errors”.
I checked my console and it said this error code:
[ERROR] gamemodes/applejack/entities/effects/rg_shelleject_rifle/init.lua:40: attempt to call method ‘SetAngle’ (a nil value)
- unknown - gamemodes/applejack/entities/effects/rg_shelleject_rifle/init.lua:40
- Effect - [C]:-1
- ShootEffects - gamemodes/applejack/entities/weapons/rg_base/shared.lua:836
- BaseAttack - gamemodes/applejack/entities/weapons/rg_base/shared.lua:572
- FireFunction - gamemodes/applejack/entities/weapons/rg_base/shared.lua:138
- unknown - gamemodes/applejack/entities/weapons/rg_base/shared.lua:939
What might be causing this error?