Advanced Rules Menu
3 Attachment(s)
Advanced Rules Menu by haN
Description : This plugin allows you to manage your server rules and display them to the players on connection to the server . - Players can check the rules by typing !rules . - Admins can send the rules to other players by typing !showrules . Commands :
- sm_rules_descmode : Change Rules description mode : Set 0 to show description on a menu / Set 1 to print description to chat. - sm_rules_noconnect : Changes if Rules menu will be displayed on connection or not : Set 0 To display on player connection / Set 1 to NOT display on player connection . Screenshots: -Rules Menu: [IMG]http://img15.**************/img15/8595/rulesmenu.jpg[/IMG] - Menu Description Mode: [IMG]http://img441.**************/img441/664/rulesdesc2.jpg[/IMG] - Chat Description Mode : [IMG]http://img406.**************/img406/7272/rulesdesc.jpg[/IMG] How To Install : 1. Extract rules.zip in the cstrike folder . 2. OR: - Copy rules.smx to addons/sourcemod/plugins . - Copy rules.sp to addons/sourcemod/scripting . - Copy rules.cfg to addons/sourcemod/configs . 3. Using RCON do : "sm plugins load rules" . Changelog: Code:
|
Re: Advanced Rules Menu
Woot first post. Thanks again for writing this up. Now SourceMod has an actual !rules plugin that doesn't make server administrators weep.
Small Bug: You forgot a Plugin_Handled in in Action:RulesMenu(client, args) and Action:ShowRules(client, args) causing the plugin to return "unknown command" in console. And just so you have the others in the same place: When you press "Back" after selecting a rule, it does not take into account what rule the player was currently viewing. If a server has enough rules to trigger a seperate page, the user goes back to page 1 instead of the page they were current on. |
Re: Advanced Rules Menu
will add the two different modes when i can !
|
Re: Advanced Rules Menu
So, does all the rules displayed in menu on the left side of screen?
|
Re: Advanced Rules Menu
I support this! So it is like this?
~~~RULES~~~ 1. Haxxing forbidden 2. No shivastacking 3. To TKIng And when I click on 2 for example it explains what shivastacking is or? Because, I want to use this for my L4D server and would be happy if you could make 1 plugin where it doesnt pop up on connection so I can put the information into my advertisements that there are !rules that should be read (because I use other mods like perkmods who pop at the beginning) |
Re: Advanced Rules Menu
I found this useful as a !helpme command showing a menu of how to use installed mods like...
Example. Menu title: 1. Using Grenades. Text: How to use console and bind and setting the commands etc. etc. Not only does it clean up the advertisements in chat showing people the commands it keeps the new players from asking every few mins. Could you add support for \n for newlines? I noticed when you type a rather long message, it runs off the right side of the screen. Great plugin! |
Re: Advanced Rules Menu
How about that
- you type !help the menu comes out you chose number 1 - "HAX Rules". Then, depending on adjustable cvar (which should be also implemented), a message appears either in chat area or in console, describing the rules on a given topic (something like "HAX users will be shot in the balls if spotted" :mrgreen:) This would be more convenient imho. GJ btw, +carma |
Re: Advanced Rules Menu
The !help and sm_help is already used in sourcemod to list all the commands.
|
Re: Advanced Rules Menu
Quote:
Btw, why this is for CS only? No specific cs:s stuff there, or im wrong? |
Re: Advanced Rules Menu
It's specified for CS:S because I originally requested it for CS:S (see here: http://forums.alliedmods.net/showthread.php?t=103413). He's already aware of a request for a cvar to change the menu functionality to chat, rather then appearing in a secondary window. However, due to the way he wrote the code, he has to completely rewrite his functions to take into account the current KeyValue so I'm not sure when he can get around to it :|.
|
All times are GMT -4. The time now is 19:04. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.