Garry's Mod

Garry's Mod

Combine APC
This topic has been locked
ZordaxCZ 28 Jul, 2015 @ 8:43am
Hatch, Prop protection?
Hi, how to manage to get into hatch or how to manage that the driver seat will be usable only for owner?
< >
Showing 1-9 of 9 comments
Zaubermuffin  [developer] 28 Jul, 2015 @ 9:45am 
Loading bay (back then named "hatch"): Make sure it's opened (usually the Alt key I think, bound to +walk - it shows on the HUD), then anyone (except the first person) to enter the APC will enter the loading bay instead. Alternatively, there's a command zapc_enterhatch I think that will put you into the loading bay directly, assuming you're standing in front of it and the hatch is open.

As for prop protection, you want to protect the SENT's .DriverSeat (which is the jeep). I can't assist you in how to do that, but you probably want to do something along the lines of "When somebody spawns a prop_vehicle_zapc, set its .DriverSeat to the same player, too".
ZordaxCZ 28 Jul, 2015 @ 12:10pm 
alright thank you so much for your response. found fix for that everybody can drive the apc. just make a garage nobody can move it out. :) it is great thank you for addon
ZordaxCZ 28 Jul, 2015 @ 12:44pm 
actually, players can only get inside by command.
Zaubermuffin  [developer] 28 Jul, 2015 @ 1:46pm 
If they can only get inside by command, then some other addon is likely messing with it. Could be the prop protection.
ZordaxCZ 28 Jul, 2015 @ 3:13pm 
Yeah probably, last question.. Do you think that it could be possible to do total prop protecting of the full apc? like something that could be updated or is it just like that nothing can be done about it?
Zaubermuffin  [developer] 31 Jul, 2015 @ 1:56pm 
It's something that can be done, but won't be done by me. It's (very likely) doable with a server sided auto run script.
ZordaxCZ 31 Jul, 2015 @ 3:05pm 
Do you know where could anybody help me with that script?
Zaubermuffin  [developer] 1 Aug, 2015 @ 12:46am 
Nope, sorry. The other thread about prop protection contains a script, but that's only for certain prop protections - not sure if that would help you.
ZordaxCZ 1 Aug, 2015 @ 12:53am 
I can have a look, ok thank you so much for your help, I apreciate that authors are responding to their "subscribers" of the addon. Bye.
< >
Showing 1-9 of 9 comments
Per page: 1530 50