Garry's Mod

Garry's Mod

Voir les stats:
Garry's Mod > Help / Problems / Bugs > Détails du sujet
Prop hunt server - can't pick up props.
So, I've been trying to set up a prop hunt server to play with friends. It's really a problem for hunters searching for props.

CS:S content is properly mounted(so prop physics works just fine and choosing a prop to become is just fine), I've made sure that 'sv_playerpickupallowed' is set to 1, and picking up props works if I play a different game mode on the server.
< >
Affichage des commentaires 1 à 15 sur 58
Air 8 fév 2014 à 10h57 
So... does anyone have any answers at all?
It might be cus that prop is a player.
Air 8 fév 2014 à 11h12 
tripledeez2000 a écrit :
It might be cus that prop is a player.
Not when I'm testing out the server by myself.
Besides, I'm not the type to jump to comclusions.
Dernière modification de Air; 8 fév 2014 à 11h16
Air 11 fév 2014 à 6h56 
Alright, I found the problem myself. Apparently there a line in init.lua that goes like so:
function GM:AllowPlayerPickup(player, entity)
return false
I had to change that option to 'true'.
Thanks Air you made my day.
Thanks for letting us know the solution, Air.
Air a écrit :
Alright, I found the problem myself. Apparently there a line in init.lua that goes like so:
function GM:AllowPlayerPickup(player, entity)
return false
I had to change that option to 'true'.

Where is the init.lua located? (be percise please)
Chronos a écrit :
Air a écrit :
Alright, I found the problem myself. Apparently there a line in init.lua that goes like so:
I had to change that option to 'true'.

Where is the init.lua located? (be percise please)
It's in garrysmod\gamemodes\prop_hunt\gamemode\
where is the line of code at?
Air 17 avr 2014 à 11h03 
Anal Febreze a écrit :
where is the line of code at?
Using the search function that most text editors have(Ctrl+F) should help you find it.
sorry, but i can't find 'prophunt' in my garrysmod\gamemodes\prop_hunt\gamemode\ help please ..
KoLadaZz a écrit :
sorry, but i can't find 'prophunt' in my garrysmod\gamemodes\prop_hunt\gamemode\ help please ..
Do you have the workshop version? Because this won't work that way. I believe that there is a link to the non-workshop version from the prop hunt workshop page.
thanks air!!!, I found it at \garrysmod\gamemodes\prop_hunt\gamemode
I just got PH, and while I can turn into props easily, I can't pick up props as the Hunter. I can't find 'prophunt' in my game modes either, I got PH from the workshop...I couldn't find any links like Air mentioned. Help?
Axel Striker a écrit :
I just got PH, and while I can turn into props easily, I can't pick up props as the Hunter. I can't find 'prophunt' in my game modes either, I got PH from the workshop...I couldn't find any links like Air mentioned. Help?
Here's a direct link for you: https://github.com/xspacesoft/PropHunt/archive/master.zip
< >
Affichage des commentaires 1 à 15 sur 58
Par page : 15 30 50

Garry's Mod > Help / Problems / Bugs > Détails du sujet