Garry's Mod

Garry's Mod

Mafia: The City of Lost Heaven Weapon Pack
Jericho 9 Jun, 2019 @ 3:19pm
Errors
I keep getting errors with certain weapons.

[Mafia: The City of Lost Heaven Weapon Pack] lua/weapons/weapon_mafia_mosin.lua:203: attempt to index local 'attachment' (a nil value)
1. BoltAction - lua/weapons/weapon_mafia_mosin.lua:203
2. unknown - lua/weapons/weapon_mafia_mosin.lua:262


[Mafia: The City of Lost Heaven Weapon Pack] lua/weapons/weapon_mafia_coltds.lua:194: attempt to index local 'attachment' (a nil value)
1. ReloadProcess - lua/weapons/weapon_mafia_coltds.lua:194
2. unknown - lua/weapons/weapon_mafia_coltds.lua:182

[Mafia: The City of Lost Heaven Weapon Pack] lua/weapons/weapon_mafia_pumpaction.lua:181: attempt to index local 'attachment' (a nil value)
1. PumpAction - lua/weapons/weapon_mafia_pumpaction.lua:181
2. unknown - lua/weapons/weapon_mafia_pumpaction.lua:252

[Mafia: The City of Lost Heaven Weapon Pack] lua/weapons/weapon_mafia_sw10.lua:194: attempt to index local 'attachment' (a nil value)
1. ReloadProcess - lua/weapons/weapon_mafia_sw10.lua:194
2. unknown - lua/weapons/weapon_mafia_sw10.lua:248

[Mafia: The City of Lost Heaven Weapon Pack] lua/weapons/weapon_mafia_sw27.lua:194: attempt to index local 'attachment' (a nil value)
1. ReloadProcess - lua/weapons/weapon_mafia_sw27.lua:194
2. unknown - lua/weapons/weapon_mafia_sw27.lua:182

[Mafia: The City of Lost Heaven Weapon Pack] lua/weapons/weapon_mafia_springfield.lua:183: attempt to index local 'attachment' (a nil value)
1. BoltAction - lua/weapons/weapon_mafia_springfield.lua:183
2. unknown - lua/weapons/weapon_mafia_springfield.lua:236


For the rifles and the shotgun, it is caused after firing when you are bolting or pumping a new round into the chamber.

Revolvers, it occurs from reloading.
< >
Showing 1-4 of 4 comments
Полковник  [developer] 9 Jun, 2019 @ 11:49pm 
Did you get these errors in multiplayer or in singleplayer?
Jericho 10 Jun, 2019 @ 1:34am 
Originally posted by Полковник:
Did you get these errors in multiplayer or in singleplayer?
Singleplayer
Last edited by Jericho; 10 Jun, 2019 @ 1:34am
Полковник  [developer] 10 Jun, 2019 @ 7:14am 
I made an update, where I tried to fix this bug. If you will still have those errors, try to change youe player model.
Jericho 10 Jun, 2019 @ 7:49am 
Originally posted by Полковник:
I made an update, where I tried to fix this bug. If you will still have those errors, try to change youe player model.
Funny you mention that. I just got a new playermodel made. Though I'm having issues getting the damn textures to load in for the viewmodel hands. For whatever reason crowbar refuses to compile the model.
< >
Showing 1-4 of 4 comments
Per page: 1530 50