Zet0rz / nzombies

A GM13 Nazi Zombies style (WIP) gamemode
GNU General Public License v3.0
73 stars 79 forks source link

Can't buy TFA guns off wall and Packapunch don't let me use attachments #640

Open LucJocWhite opened 6 years ago

LucJocWhite commented 6 years ago

Even if I start off with a TFA gun I still can't buy them off the wall. After I pack a punch a gun the attachments don't work/appear on the gun. The only attachment that works is the foregrip

DjNathann commented 6 years ago

Didn't you inform the TFA attachment issue at #639? anyway you have something conflicting TFA Base because it works fine plus did any Errors popup in console?

ErrorXII commented 6 years ago

I have the same issue with this error in the console after I try to buy a TFA gun off the wall:

[TFA Base] lua/weapons/tfa_gun_base/sh_utils.lua:228: attempt to call method 'GetOwner' (a nil value)

  1. OwnerIsValid - lua/weapons/tfa_gun_base/sh_utils.lua:228
    1. GetStat - lua/weapons/tfa_gun_base/sh_attachments.lua:153
    2. GetPrimaryAmmoType - lua/weapons/tfa_gun_base/shared.lua:1522
      1. unknown - addons/nzombies-master-workshop/gamemodes/nzombies/entities/entities/wall_buys/shared.lua:216