nZombies-Time / nZombies-Rezzurrection

An updated version of nZombies 1.0 for Garry's Mod
38 stars 51 forks source link

Error on perk drinking #26

Closed ghost closed 2 years ago

ghost commented 2 years ago

[nzombies] addons/nzombies/gamemodes/nzombies/gamemode/function_override/sh_meta.lua:131: bad argument #2 to 'oldsetwep' (Entity expected, got string)

  1. oldsetwep - [C]:-1
    1. SetActiveWeapon - addons/nzombies/gamemodes/nzombies/gamemode/function_override/sh_meta.lua:131
    2. unknown - addons/nzombies/gamemodes/nzombies/entities/weapons/nz_perk_bottle/shared.lua:59
      1. Give - [C]:-1
      2. func - addons/nzombies/gamemodes/nzombies/entities/entities/perk_machine/shared.lua:165
      3. Buy - addons/nzombies/gamemodes/nzombies/gamemode/points/sh_points.lua:61
      4. unknown - addons/nzombies/gamemodes/nzombies/entities/entities/perk_machine/shared.lua:235

Error occurs when im using any perk such as Quick Revive, Speed Cola, Juggernog, Doubletap or anything

ghost commented 2 years ago

duplicate of #19

ghost commented 2 years ago

Seems to be fixed after i reinstalled all addons, and downloaded some other ones (the TFA Extended VOX one fixed it i think)