Garry's Mod

Garry's Mod

[SWEP] Battering ram
 此主題已被置頂,因此它可能很重要
2krev  [開發人員] 2022 年 10 月 4 日 上午 7:45
Bug reports
:/
< >
目前顯示第 1-15 則留言,共 25
2krev  [開發人員] 2022 年 10 月 4 日 上午 10:32 
you see the viewmodel but can't attack by clicking on left mouse button?
Alix_D 2022 年 10 月 4 日 下午 2:08 
same

引用自 Dr.Ligsey
When i click it, It won't equip
2krev  [開發人員] 2022 年 10 月 4 日 下午 2:12 
Are there any lua errors in the log related to this addon?
7H3_HuN73R-03 2022 年 10 月 4 日 下午 2:34 
the weapon don't let you use it
E P I C M O M E N T 2022 年 10 月 4 日 下午 3:48 
引用自 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 2022 年 10 月 4 日 下午 3:48 
it just will not spawn/equip
2krev  [開發人員] 2022 年 10 月 4 日 下午 4: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 2022 年 10 月 4 日 下午 4:54 
ah, it works now for somereason...?
E P I C M O M E N T 2022 年 10 月 4 日 下午 4:54 
i just restarted gmod and it worked.
2krev  [開發人員] 2022 年 10 月 4 日 下午 5:33 
that's what I say, everything should be fine, I don't see any mistakes in the code
7H3_HuN73R-03 2022 年 10 月 4 日 下午 7:12 
引用自 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 2022 年 10 月 4 日 下午 7:23 
引用自 Dr.Ligsey
When i click it, It won't equip
Same
E P I C M O M E N T 2022 年 10 月 4 日 下午 9:00 
reload the game and make sure you have all the items installed
StepanTheEditor 2022 年 10 月 5 日 上午 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 2022 年 10 月 5 日 上午 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.
最後修改者:TheCarson116; 2022 年 10 月 5 日 上午 10:34
< >
目前顯示第 1-15 則留言,共 25
每頁顯示: 1530 50