Garry's Mod

Garry's Mod

Combine APC
此主题已被锁定
ZordaxCZ 2015 年 7 月 28 日 上午 8:43
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?
< >
正在显示第 1 - 9 条,共 9 条留言
Zaubermuffin  [开发者] 2015 年 7 月 28 日 上午 9:45 
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 2015 年 7 月 28 日 下午 12:10 
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 2015 年 7 月 28 日 下午 12:44 
actually, players can only get inside by command.
Zaubermuffin  [开发者] 2015 年 7 月 28 日 下午 1:46 
If they can only get inside by command, then some other addon is likely messing with it. Could be the prop protection.
ZordaxCZ 2015 年 7 月 28 日 下午 3:13 
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  [开发者] 2015 年 7 月 31 日 下午 1:56 
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 2015 年 7 月 31 日 下午 3:05 
Do you know where could anybody help me with that script?
Zaubermuffin  [开发者] 2015 年 8 月 1 日 上午 12:46 
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 2015 年 8 月 1 日 上午 12:53 
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.
< >
正在显示第 1 - 9 条,共 9 条留言
每页显示数: 1530 50