PropHunt (Hide'n'Seek) - Original
MidNiteGalaxy 1 jul om 8:46vm
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?
Laatst bewerkt door MidNiteGalaxy; 1 jul om 8:46vm
1-8 van 8 reacties weergegeven
< >
IXLKIDDO 8 jul om 10:00vm 
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 11 jul om 8:40vm 
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 11 jul om 9:55vm 
Alright, I got the solution, I found it on this forum http://steamcommunity.com/app/4000/discussions/1/558747287789395282/
johngraylynrose 25 aug om 7:57nm 
that doesnt help! we need this for the workshop version!
The Jigglynator 25 aug om 8:12nm 
Well sorry bud, that's all I know.
soccerdude35 7 okt om 2:28nm 
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 7 okt om 2:31nm 
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 27 okt om 4:07nm 
Origineel geplaatst door 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 :(

Laatst bewerkt door Athomize; 27 okt om 4:16nm
1-8 van 8 reacties weergegeven
< >
Per pagina: 15 30 50