DarkCoveR / darkrp

Automatically exported from code.google.com/p/darkrp
0 stars 0 forks source link

Pocket. #141

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.
2.
3.

Do you have any errors? serverside or clientside? if you do, which ones?

which revision are you using?

Please provide any additional information below.

Original issue reported on code.google.com by zygimant...@gmail.com on 19 Nov 2009 at 12:12

GoogleCodeExporter commented 8 years ago
Shit,sorry pressed eneter so it pasted all that above.Basically my question was 
how 
do I disable so people dont get pockets,they can be abused to escape from ulx 
jail 
as pocket can pick up world props.

Original comment by zygimant...@gmail.com on 19 Nov 2009 at 12:13

GoogleCodeExporter commented 8 years ago
You can easilly edit the pocket, to disallow picking up world props. Check the 
darkrp
gamemode folder and browse to entities/weapons/pocket, open up the shared.lua. 
Scroll
down to where it has a local blacklist, and amongst that list, add, "prop_". 
For example:
local blacklist = {"prop_", "drug_lab", "money_printer", "meteor", "microwave",
"door", "func_", "player", "beam", "worldspawn", "env_", "path_"}

Original comment by jamesros...@gmail.com on 22 Dec 2009 at 2:59

GoogleCodeExporter commented 8 years ago
well the problem is its a prop and its not an entity.

Original comment by zygimant...@gmail.com on 22 Dec 2009 at 2:30

GoogleCodeExporter commented 8 years ago
Well, using that above works for me, and players can not pick up props.

Original comment by jamesros...@gmail.com on 22 Dec 2009 at 2:36

GoogleCodeExporter commented 8 years ago
Fucking ULX AGAIN

Original comment by fpeijnen...@gmail.com on 8 Jan 2010 at 1:14