Raised This Month: $12 Target: $400
 3% 

[TF2] PropHunt 1.93


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 06-07-2013 , 18:54   Re: [TF2] PropHunt 1.93
Reply With Quote #11

Quote:
Originally Posted by Mike_BoG View Post
Apparently people can do !propmenu <path/to/prop.*> and turn into the prop, regardless of the propmenu is set to admin only.
To reiterate:

ph_propmenu -1 means no players can use the propmenu command
ph_propmenu 0 means players with the kick permission or the propmenu override can use the propmenu command. Giving a propmenu override of "" will allow all players to use it, so don't do that.
ph_propmenu 1 means all players can use the propmenu command

I just tested ph_propmenu 0 on my server with a propmenu override of "b". My test account had the "a" permission only. It didn't have access to !propmenu. My regular account had the "z" permission and did have access to !propmenu.

When I change my test accounts permission to "b" it has access to !propmenu.

After testing, I did check in a small change to the code, but that was just to add some optional parentheses for clarity.

To be honest, I may change it later to disallow specifying props on the actual command, since it allows you to use arbitrary props not used with Prop Hunt.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 06-07-2013 at 19:15.
Powerlord is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:40.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode