Garry's Mod

Garry's Mod

Mafia: The City of Lost Heaven Weapon Pack
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.
< >
Viser 1-4 af 4 kommentarer
Полковник  [udvikler] 9. juni 2019 kl. 23:49 
Did you get these errors in multiplayer or in singleplayer?
Oprindeligt skrevet af Полковник:
Did you get these errors in multiplayer or in singleplayer?
Singleplayer
Sidst redigeret af 𐌔𐌀𐌔𐌊𐌉𐌀; 10. juni 2019 kl. 1:34
Полковник  [udvikler] 10. juni 2019 kl. 7:14 
I made an update, where I tried to fix this bug. If you will still have those errors, try to change youe player model.
Oprindeligt skrevet af Полковник:
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.
< >
Viser 1-4 af 4 kommentarer
Per side: 1530 50