Garry's Mod

Garry's Mod

M9K Assault Rifles
Lucifer 26 Aug, 2019 @ 12:52pm
Muzzle flash
Not every weapon, but a lot of weapons when fired seem to have their muzzle flash shooting sideways from the gun. Anyone know a fix for this? I've played on a few servers where this isn't an issue but I'm getting on my server.
< >
Showing 1-8 of 8 comments
bozo 1 Apr, 2020 @ 11:21am 
2020, still no fix
SWEP.CSMuzzleFlashes = true
Add that to any of the weapon files you are editing. To make the change for all of them find the folder bobs_gun_base and edit the shared.lua file and add the line. This will make all the muzzle flashes for the guns to use the Counter Strike: Source muzzle flash instead.
Lucifer 21 Apr, 2020 @ 9:04am 
What I did was put the m9k folder into my servers addon folder, then did the above to the bobs_gun_base, saved it and got into my server and the muzzle flash was fixed
As long as the server host has done the same, there isn't much you can do if they haven't done it.
Podpacho 25 May, 2021 @ 2:25pm 
Muzzle flash problem is still current.
The Artificer 14 Apr, 2022 @ 1:49pm 
download the yee berrata's, it removes the muzzle flash effect
Originally posted by FatPigeon( ͡° ͜ʖ ͡°):
SWEP.CSMuzzleFlashes = true
Add that to any of the weapon files you are editing. To make the change for all of them find the folder bobs_gun_base and edit the shared.lua file and add the line. This will make all the muzzle flashes for the guns to use the Counter Strike: Source muzzle flash instead.
I know this comment was made four years ago, but there doesn't seem to be a file like that related to the addon, at least not maybe anymore
Originally posted by ReddSnake:
Originally posted by FatPigeon( ͡° ͜ʖ ͡°):
SWEP.CSMuzzleFlashes = true
Add that to any of the weapon files you are editing. To make the change for all of them find the folder bobs_gun_base and edit the shared.lua file and add the line. This will make all the muzzle flashes for the guns to use the Counter Strike: Source muzzle flash instead.
I know this comment was made four years ago, but there doesn't seem to be a file like that related to the addon, at least not maybe anymore
When you unpack the addon, inside of it you go lua > weapons > bobs_gun_base. In bobs_gun_base is the shared.lua file and then you add:
SWEP.CSMuzzleFlashes = true
This variable itself probably doesn't exist in the file so just copy and paste it into there and it should work.
< >
Showing 1-8 of 8 comments
Per page: 1530 50