PropHunt (Hide'n'Seek) - Original
MidNiteGalaxy Jul 1 @ 8:46am
Problems with picking up props when I'm a hunter?
So I can't pick up non-player props when I am a hunter. I've searched for solutions and I know about the "sv_playerpickupallowed = 1". I also know that you can go to the directory to garrysmod/gamemodes to find prop hunt and then init.lua to change this:

function GM:AllowPlayerPickup(player, entity)
return false

to this

function GM:AllowPlayerPickup(player, entity)
return true

to allow players to pick up props.

However, this is where the problem comes in. Since I've downloaded this addon, prop hunt does not show up in gamemodes. It shows up as one file in the addons folder and if I try to change false to true in there, the whole file just goes missing, as well as the game in Gmod.

Is there a way to fix this so I can pick up non-player props as a hunter. Frankly, the game isn't very fun without being able to do so.

Bonus question: when I shoot, it shoots twice inside of once and lowers my health by ten...can I fix it so it only shoots one bullet?
Last edited by MidNiteGalaxy; Jul 1 @ 8:46am
Showing 1-10 of 10 comments
< >
IXLKIDDO Jul 8 @ 10:00am 
First off, this is on your own server correct? Secondly, is it a listen server or a dedicated server? Thirdly, this is just for more information for other people who have solutions since I have the same problem and have done the same solutions...
The Jigglynator Jul 11 @ 8:40am 
I actually have the exact same problem, as a hunter no props can be picked up. For me, it's my own server, not like an actually server though, just one of those temporary ones when you click start new game. I would really like a solution to this problem as well.
The Jigglynator Jul 11 @ 9:55am 
Alright, I got the solution, I found it on this forum http://steamcommunity.com/app/4000/discussions/1/558747287789395282/
johngraylynrose Aug 25 @ 7:57pm 
that doesnt help! we need this for the workshop version!
The Jigglynator Aug 25 @ 8:12pm 
Well sorry bud, that's all I know.
Soccerdude35 Oct 7 @ 2:28pm 
Okay, I'm going to try and make this very descriptive so hopefully nobody will have question and have to search a lot like I did.
MidNiteGalaxy is correct, but there is much, much more that needs to be done in order for this to work. You have to download the file from the addon's website http://xspacesoft.github.io/PropHunt/ Once at the website, you should be able to download a tar.gz or .zip file. I just download the zip file because I am more familiar with them and some of the following information may not pertain to the tar.gz file. Once you download the file, extract it to an easily accessible location, often the desktop. Inside the extracted folder should be a gamemodes and sound folder along with some other files. Open up the gamemodes folder and move the prop_hunt folder to an easily accessible location. Move the fretta folder, found in the same gamemodes folder, into the gamemode folder THAT'S INSIDE THE PROP_HUNT FOLDER. Make sure that you're actually moving the fretta folder to the gamemode folder inside prop_hunt. Now, inside the main extracted folder, move the sound folder into the same folder you put the fretta in, the gamemode folder inside the prop_hunt folder. This next part is actually what fixes the issue with picking up props. Inside the prop_hunt>gamemode folder, there should be a lua file called init.lua. Open this with text document or some other document opener like text document. Press Ctrl+F to open up the search bar, and copy and paste GM:AllowPlayerPickup(player, entity) into the search bar (If this doesn't work, try narrowing the search by getting ride of the GM part or something). The full line should look like

function GM:AllowPlayerPickup(player, entity) return falseend

you want to replace the false in falseend to true, so it looks like trueend. Once you have done this, you should be able to move the whole prop_hunt folder into the GarrysMod>gamemodes folder and things should work.

I just figured this out myself, but it seems to work. If someone has problems with this tutorial, try and find a solution and comment so I can change my tutorial to help people with the same issue.
The Jigglynator Oct 7 @ 2:31pm 
I didn't even have to do any adjustment of the function to allow player pickup. I just downloaded the gamemode, moved it into my gamemodes folder and it worked perfectly, and props can now be picked up.
Athomize Oct 27 @ 4:07pm 
Originally posted by soccerdude35:
Okay, I'm going to try and make this very descriptive so hopefully nobody will have question and have to search a lot like I did.
MidNiteGalaxy is correct, but there is much, much more that needs to be done in order for this to work. You have to download the file from the addon's website http://xspacesoft.github.io/PropHunt/ Once at the website, you should be able to download a tar.gz or .zip file. I just download the zip file because I am more familiar with them and some of the following information may not pertain to the tar.gz file. Once you download the file, extract it to an easily accessible location, often the desktop. Inside the extracted folder should be a gamemodes and sound folder along with some other files. Open up the gamemodes folder and move the prop_hunt folder to an easily accessible location. Move the fretta folder, found in the same gamemodes folder, into the gamemode folder THAT'S INSIDE THE PROP_HUNT FOLDER. Make sure that you're actually moving the fretta folder to the gamemode folder inside prop_hunt. Now, inside the main extracted folder, move the sound folder into the same folder you put the fretta in, the gamemode folder inside the prop_hunt folder. This next part is actually what fixes the issue with picking up props. Inside the prop_hunt>gamemode folder, there should be a lua file called init.lua. Open this with text document or some other document opener like text document. Press Ctrl+F to open up the search bar, and copy and paste GM:AllowPlayerPickup(player, entity) into the search bar (If this doesn't work, try narrowing the search by getting ride of the GM part or something). The full line should look like

function GM:AllowPlayerPickup(player, entity) return falseend

you want to replace the false in falseend to true, so it looks like trueend. Once you have done this, you should be able to move the whole prop_hunt folder into the GarrysMod>gamemodes folder and things should work.

I just figured this out myself, but it seems to work. If someone has problems with this tutorial, try and find a solution and comment so I can change my tutorial to help people with the same issue.


I get a error when I start up prop hunt :(

Last edited by Athomize; Oct 27 @ 4:16pm
[T.F.V.G] StonyTeckdude Nov 6 @ 4:52pm 
Originally posted by Soccerdude35:
Okay, I'm going to try and make this very descriptive so hopefully nobody will have question and have to search a lot like I did.
MidNiteGalaxy is correct, but there is much, much more that needs to be done in order for this to work. You have to download the file from the addon's website http://xspacesoft.github.io/PropHunt/ Once at the website, you should be able to download a tar.gz or .zip file. I just download the zip file because I am more familiar with them and some of the following information may not pertain to the tar.gz file. Once you download the file, extract it to an easily accessible location, often the desktop. Inside the extracted folder should be a gamemodes and sound folder along with some other files. Open up the gamemodes folder and move the prop_hunt folder to an easily accessible location. Move the fretta folder, found in the same gamemodes folder, into the gamemode folder THAT'S INSIDE THE PROP_HUNT FOLDER. Make sure that you're actually moving the fretta folder to the gamemode folder inside prop_hunt. Now, inside the main extracted folder, move the sound folder into the same folder you put the fretta in, the gamemode folder inside the prop_hunt folder. This next part is actually what fixes the issue with picking up props. Inside the prop_hunt>gamemode folder, there should be a lua file called init.lua. Open this with text document or some other document opener like text document. Press Ctrl+F to open up the search bar, and copy and paste GM:AllowPlayerPickup(player, entity) into the search bar (If this doesn't work, try narrowing the search by getting ride of the GM part or something). The full line should look like

function GM:AllowPlayerPickup(player, entity) return falseend

you want to replace the false in falseend to true, so it looks like trueend. Once you have done this, you should be able to move the whole prop_hunt folder into the GarrysMod>gamemodes folder and things should work.

I just figured this out myself, but it seems to work. If someone has problems with this tutorial, try and find a solution and comment so I can change my tutorial to help people with the same issue.


thank you so much it helped me but the only problem im having is i dont have a taunt D: i did what you told me to do i dragged the sound from the unzipped file into the gamemodes folder inside prop hunt where fretta is but i still dont have taunts :/
Sir Butternut Squirrel Nov 21 @ 3:25am 
Originally posted by T.F.V.G StonyTeckdude:
Originally posted by Soccerdude35:
Okay, I'm going to try and make this very descriptive so hopefully nobody will have question and have to search a lot like I did.
MidNiteGalaxy is correct, but there is much, much more that needs to be done in order for this to work. You have to download the file from the addon's website http://xspacesoft.github.io/PropHunt/ Once at the website, you should be able to download a tar.gz or .zip file. I just download the zip file because I am more familiar with them and some of the following information may not pertain to the tar.gz file. Once you download the file, extract it to an easily accessible location, often the desktop. Inside the extracted folder should be a gamemodes and sound folder along with some other files. Open up the gamemodes folder and move the prop_hunt folder to an easily accessible location. Move the fretta folder, found in the same gamemodes folder, into the gamemode folder THAT'S INSIDE THE PROP_HUNT FOLDER. Make sure that you're actually moving the fretta folder to the gamemode folder inside prop_hunt. Now, inside the main extracted folder, move the sound folder into the same folder you put the fretta in, the gamemode folder inside the prop_hunt folder. This next part is actually what fixes the issue with picking up props. Inside the prop_hunt>gamemode folder, there should be a lua file called init.lua. Open this with text document or some other document opener like text document. Press Ctrl+F to open up the search bar, and copy and paste GM:AllowPlayerPickup(player, entity) into the search bar (If this doesn't work, try narrowing the search by getting ride of the GM part or something). The full line should look like

function GM:AllowPlayerPickup(player, entity) return falseend

you want to replace the false in falseend to true, so it looks like trueend. Once you have done this, you should be able to move the whole prop_hunt folder into the GarrysMod>gamemodes folder and things should work.

I just figured this out myself, but it seems to work. If someone has problems with this tutorial, try and find a solution and comment so I can change my tutorial to help people with the same issue.


thank you so much it helped me but the only problem im having is i dont have a taunt D: i did what you told me to do i dragged the sound from the unzipped file into the gamemodes folder inside prop hunt where fretta is but i still dont have taunts :/

Make sure that the taunts go into your server sound folder.
garrysmod\sound\taunts
There might be more than one folder (hunters/props) or some audio might not be in its own folder at all. Then make sure that the taunts are included in this file and their filepaths are correct:
garrysmod\gamemodes\prop_hunt\gamemode\sh_config.lua
Please bare in mind that this might have changed with updates, as my server has been running for about a year now. I dont always update the gamemodes because if they work and look good, there is no need to. Hope that this helps
Showing 1-10 of 10 comments
< >
Per page: 15 30 50