Garry's Mod

Garry's Mod

Evan's Deployable Turret
6 条留言
Executor TB 2018 年 6 月 9 日 上午 4:03 
But that dont remove the vehicle again when you are done using it, like you turret spawn gun.
OfficiallyNeverHere  [作者] 2018 年 6 月 8 日 下午 9:45 
yes, if you look at my entity contructor, it does something like that
Executor TB 2018 年 6 月 8 日 上午 3:15 
Can you make a spawn gun for vehicles like the TX-130 ?
OfficiallyNeverHere  [作者] 2018 年 5 月 22 日 上午 9:25 
Hey Stryker, yeah that bug is because of a hook I use that checks to see if people are picking up small props. I use this hook to allow people to still be able to shoot the top turret otherwise when the person who deploys it presses e on the turret, the entire thing would get picked up and put in their inventory. My suggestion: make sure there aren't any turrets down when picking up props. Im sorry I dont have a fix for you other than that but there was no way to make the turret function as it does now without that hook.

I do not have plans for making the cannon deployable right now but in the future its a possibility.
Stryker 2018 年 5 月 21 日 下午 10:13 
Also do you plan on making the Cannon a deployable entity aswell?
Stryker 2018 年 5 月 21 日 下午 9:57 
Theres a bug that disables the ability to pickup small props. Heres the error that happens whenever a player tries to pickup a small prop with the "use" E key.
[ERROR] addons/evan's_deployable_turret_1382020460/lua/entities/lazer_cannon_e/init.lua:170: attempt to index field 'BaseEntity' (a nil value)
1. fn - addons/evan's_deployable_turret_1382020460/lua/entities/lazer_cannon_e/init.lua:170
2. unknown - addons/ulib/lua/ulib/shared/hook.lua:109