Garry's Mod

Garry's Mod

[SWCS] CS:GO Weapons
 This topic has been pinned, so it's probably important
homonovus  [developer] 17 Dec, 2023 @ 4:16pm
Issues & bugs
If you get a lua error, please post it in here.

If something is behaving incorrectly, please describe how we can reproduce it and what is expected.
< >
Showing 1-15 of 120 comments
errors and bugs
so if you have bugs like this [CS:GO Weapons] CreateConVar: ConVar name is blocked! (cl_crosshairstyle)
1. unknown - lua/swcs/sh_cvars.lua:16
2. include - [C]:-1
3. unknown - lua/autorun/source_weps_cs.lua:18


[CS:GO Weapons] CreateConVar: ConVar name is blocked! (cl_crosshairdot)
1. unknown - lua/swcs/sh_cvars.lua:17
2. include - [C]:-1
3. unknown - lua/autorun/source_weps_cs.lua:18


[CS:GO Weapons] CreateConVar: ConVar name is blocked! (cl_crosshair_t)
1. unknown - lua/swcs/sh_cvars.lua:18
2. include - [C]:-1
3. unknown - lua/autorun/source_weps_cs.lua:18


[CS:GO Weapons] CreateConVar: ConVar name is blocked! (cl_crosshairthickness)
1. unknown - lua/swcs/sh_cvars.lua:19
2. include - [C]:-1
3. unknown - lua/autorun/source_weps_cs.lua:18


[CS:GO Weapons] CreateConVar: ConVar name is blocked! (cl_crosshairsize)
1. unknown - lua/swcs/sh_cvars.lua:20
2. include - [C]:-1
3. unknown - lua/autorun/source_weps_cs.lua:18


[CS:GO Weapons] CreateConVar: ConVar name is blocked! (cl_crosshairgap)
1. unknown - lua/swcs/sh_cvars.lua:21
2. include - [C]:-1
3. unknown - lua/autorun/source_weps_cs.lua:18


[CS:GO Weapons] CreateConVar: ConVar name is blocked! (cl_crosshair_drawoutline)
1. unknown - lua/swcs/sh_cvars.lua:23
2. include - [C]:-1
3. unknown - lua/autorun/source_weps_cs.lua:18


[CS:GO Weapons] CreateConVar: ConVar name is blocked! (cl_crosshair_outlinethickness)
1. unknown - lua/swcs/sh_cvars.lua:24
2. include - [C]:-1
3. unknown - lua/autorun/source_weps_cs.lua:18


[CS:GO Weapons] CreateConVar: ConVar name is blocked! (cl_crosshairusealpha)
1. unknown - lua/swcs/sh_cvars.lua:30
2. include - [C]:-1
3. unknown - lua/autorun/source_weps_cs.lua:18


[CS:GO Weapons] CreateConVar: ConVar name is blocked! (cl_crosshaircolor_r)
1. unknown - lua/swcs/sh_cvars.lua:31
2. include - [C]:-1
3. unknown - lua/autorun/source_weps_cs.lua:18


[CS:GO Weapons] CreateConVar: ConVar name is blocked! (cl_crosshaircolor_g)
1. unknown - lua/swcs/sh_cvars.lua:32
2. include - [C]:-1
3. unknown - lua/autorun/source_weps_cs.lua:18


[CS:GO Weapons] CreateConVar: ConVar name is blocked! (cl_crosshaircolor_b)
1. unknown - lua/swcs/sh_cvars.lua:33
2. include - [C]:-1
3. unknown - lua/autorun/source_weps_cs.lua:18


[CS:GO Weapons] CreateConVar: ConVar name is blocked! (cl_crosshairalpha)
1. unknown - lua/swcs/sh_cvars.lua:34
2. include - [C]:-1
3. unknown - lua/autorun/source_weps_cs.lua:18
Pixl 13 Oct, 2023 @ 9:45am 
[CS:GO Weapons] lua/weapons/weapon_swcs_base/shared.lua:2029: attempt to call method 'OnVisualUse' (a nil value)
1. fn - lua/weapons/weapon_swcs_base/shared.lua:2029
2. unknown - lua/weapons/weapon_swcs_base/shared.lua:2040
homonovus  [developer] 13 Oct, 2023 @ 9:51am 
what weapon are you using to get that error?
Originally posted by homonovus:
what weapon are you using to get that error?
happens on R8
76561199245680623 12 Dec, 2023 @ 4:44am 
lua error
it says something about GetIronSightAmount nil value or something, using any weapon creates that error
Pixl 15 Dec, 2023 @ 1:31pm 
[CS:GO Weapons] lua/entities/swcs_inferno/init.lua:229: attempt to call method 'MarkAsDamaging' (a nil value)
1. MarkCoveredAreaAsDamaging - lua/entities/swcs_inferno/init.lua:229
2. unknown - lua/entities/swcs_inferno/init.lua:82
using molotov or incen grenade
homonovus  [developer] 17 Dec, 2023 @ 10:34am 
thank you rubat for bumping the version number of gmod
[CS:GO Weapons] lua/weapons/weapon_swcs_base/shared.lua:566: bad argument #1 to 'SendViewModelMatchingSequence' (number expected, got nil)
1. SendViewModelMatchingSequence - [C]:-1
2. SetWeaponAnim - lua/weapons/weapon_swcs_base/shared.lua:566
3. unknown - lua/weapons/weapon_swcs_base/shared.lua:1965
4. DispatchTraceAttack - [C]:-1
5. FireBullets - lua/swcs/sh_util.lua:177
6. FX_FireBullets - lua/weapons/weapon_swcs_base/shared.lua:2151
7. CSBaseGunFire - lua/weapons/weapon_swcs_base/shared.lua:2234
8. PrimaryAttack - lua/weapons/weapon_swcs_base/shared.lua:2286
9. Think_ProcessPrimaryAttack - lua/weapons/weapon_swcs_base/shared.lua:676
10. ProcessActivities - lua/weapons/weapon_swcs_base/shared.lua:837
11. unknown - lua/weapons/weapon_swcs_base/shared.lua:809
this error was happend with playing with my friend, it happends on glock or on usp i thinck
[CS:GO Weapons] lua/weapons/weapon_swcs_base/shared.lua:566: bad argument #1 to 'SendViewModelMatchingSequence' (number expected, got nil)
1. SendViewModelMatchingSequence - [C]:-1
2. SetWeaponAnim - lua/weapons/weapon_swcs_base/shared.lua:566
3. unknown - lua/weapons/weapon_swcs_base/shared.lua:196 this was happend when i my friend died
homonovus  [developer] 21 Dec, 2023 @ 5:39pm 
Originally posted by Саня228:
this error was happend with playing with my friend, it happends on glock or on usp i thinck
I think you're somehow on an outdated version, try updating on your server
if you look down and fire with mac 10 (or other weapon) your game will be crashed
Originally posted by Саня228:
if you look down and fire with mac 10 (or other weapon) your game will be crashed
nah this dosent work
76561199230117832 28 Dec, 2023 @ 7:58am 
muzzleflash on assault riffle are missing texture,kinda annoying somehow:steambored:
coolguyVicaso 28 Dec, 2023 @ 7:33pm 
When ever I fire rapidly or hold down left ous button then release the guns then fires rapidly
pawjobbing 30 Dec, 2023 @ 3:05am 
flashbangs have no range limit and can flash you through walls
< >
Showing 1-15 of 120 comments
Per page: 1530 50