Garry's Mod

Garry's Mod

Grappling Hook
Nut-in-Yahoo 2017 年 8 月 30 日 下午 1:58
Use In Prop Hunt Server
So, I'm a server owner in a small prop hunt server, and to try and make it a little unique I wanted to include this addon. And it works fantastic, very smooth and I can change the limits of the grapple in the LUA. What I'm trying to do is make the hunters spawn with it, so that hunters can use it to balance out the additional jump height I've given props. Problem is when I add it to the spawn list in the player_class lua, it spawns the item underneath them instead of in their inventory, so they have to look down and press e on it to equip it. I was hoping you would know a way I could modify the file so it would be automatically equipped when you walk over it, like a weapon would, or if there's a string I can leave in the player_class file to additionally make players pick up the grappling hook instead of just dropping it.

Thanks in advance
< >
正在显示第 1 - 2 条,共 2 条留言
Jester 2018 年 3 月 30 日 上午 4:01 
I would love it too.
Jvs  [开发者] 2018 年 4 月 7 日 上午 5:26 
https://pastebin.com/bQeyiFwn

Sorry I didn't see this sooner, this should work fine.
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50