Garry's Mod

Garry's Mod

Evan's Deployable Turret
6 Comments
Executor TB 9 Jun, 2018 @ 4:03am 
But that dont remove the vehicle again when you are done using it, like you turret spawn gun.
OfficiallyNeverHere  [author] 8 Jun, 2018 @ 9:45pm 
yes, if you look at my entity contructor, it does something like that
Executor TB 8 Jun, 2018 @ 3:15am 
Can you make a spawn gun for vehicles like the TX-130 ?
OfficiallyNeverHere  [author] 22 May, 2018 @ 9:25am 
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 21 May, 2018 @ 10:13pm 
Also do you plan on making the Cannon a deployable entity aswell?
Stryker 21 May, 2018 @ 9:57pm 
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