Garry's Mod

Garry's Mod

[SWEP] Battering ram
 Denne tråd er blevet fastgjort, så den er sikkert vigtig
2krev  [udvikler] 4. okt. 2022 kl. 7:45
Bug reports
:/
< >
Viser 1-15 af 25 kommentarer
2krev  [udvikler] 4. okt. 2022 kl. 10:32 
you see the viewmodel but can't attack by clicking on left mouse button?
Alix_D 4. okt. 2022 kl. 14:08 
same

Oprindeligt skrevet af Dr.Ligsey:
When i click it, It won't equip
2krev  [udvikler] 4. okt. 2022 kl. 14:12 
Are there any lua errors in the log related to this addon?
7H3_HuN73R-03 4. okt. 2022 kl. 14:34 
the weapon don't let you use it
E P I C M O M E N T 4. okt. 2022 kl. 15:48 
Oprindeligt skrevet af 2krev:
Are there any lua errors in the log related to this addon?
nope, no lua errors when you attempt to use it.
E P I C M O M E N T 4. okt. 2022 kl. 15:48 
it just will not spawn/equip
2krev  [udvikler] 4. okt. 2022 kl. 16:04 
but why...
if anyone want to do an experiment then execute this in the console:
lua_run for _, ply in ipairs(player.GetAll()) do ply:Give("swep_battering_ram") end
this will give a ram to every player
E P I C M O M E N T 4. okt. 2022 kl. 16:54 
ah, it works now for somereason...?
E P I C M O M E N T 4. okt. 2022 kl. 16:54 
i just restarted gmod and it worked.
2krev  [udvikler] 4. okt. 2022 kl. 17:33 
that's what I say, everything should be fine, I don't see any mistakes in the code
7H3_HuN73R-03 4. okt. 2022 kl. 19:12 
Oprindeligt skrevet af 2krev:
but why...
if anyone want to do an experiment then execute this in the console:
lua_run for _, ply in ipairs(player.GetAll()) do ply:Give("swep_battering_ram") end
this will give a ram to every player
I paste it in the console and it gave me this message in the console:

> for _, ply in ipairs(player.GetAll()) do ply:Give("swep_battering_ram") end...
Attempted to create unknown entity type swep_battering_ram!
NULL Ent in GiveNamedItem!
Sir.HolyWalkingBread 4. okt. 2022 kl. 19:23 
Oprindeligt skrevet af Dr.Ligsey:
When i click it, It won't equip
Same
E P I C M O M E N T 4. okt. 2022 kl. 21:00 
reload the game and make sure you have all the items installed
StepanTheEditor 5. okt. 2022 kl. 4:21 
[[SWEP] Battering ram] lua/weapons/swep_battering_ram/shared.lua:116: attempt to call global 'getInteractiveDoorsInterface' (a nil value)
1. unknown - lua/weapons/swep_battering_ram/shared.lua:116
TheCarson116 5. okt. 2022 kl. 7:52 
If you stand too close to a door while hitting it with the ram, you receive damage & are sent flying back away from the door. If you die while doing so, this lua error occurs:
[[SWEP] Battering ram] lua/weapons/swep_battering_ram/shared.lua:123: Tried to use a NULL entity!
1. SendWeaponAnim - [C]:-1
2. unknown - lua/weapons/swep_battering_ram/shared.lua:123

Timer Failed! [Simple][@lua/weapons/swep_battering_ram/shared.lua (line 122)]
This only seems to happen when you're facing the door with the "hinge" on the right.
Sidst redigeret af TheCarson116; 5. okt. 2022 kl. 10:34
< >
Viser 1-15 af 25 kommentarer
Per side: 1530 50