Say Rules
1 Attachment(s)
Say Rules v0.3 * Details : For the first you can use a type to how will be displayed rules You can choose display tipe : Print Chat, Print Center and Motd Display * Commands : - /sayrules : Will display all rules from a .txt file (you must create one) - /sayrules 1 : Will display rule from from a .txt file (also must create one) - /sayrules 2 : Display rule 2 from that .txt file .. etc If you use for example "/sayrules 16" and not exists rule 16 on .txt file, will display "This rule not exists" This commands you must use in chat ! * Admin Commands - amx_forceread <name | @CT/@T/@ALL >- force player(s) from server to read rules - amx_addrule < rule > - add a new server rule * Cvars: - sayrules_type (default 1) ^ 1 = print_chat ^ 2 = print_center ^ 3 = show motd * Install : 1) Enable Plugin 2) Create a new file on your "addons\amxmodx\configs\" folder, with name "sayrules.txt" In that file add your server rules Remember if you choose sayrules_type 3 will display a motd, so you will design "sayrules.txt" in HTML Style * Credits : Thanks to Fatalis for help me with a lot of codes Avalanche for tell me where is a simple bug on plugin BlackRose for helping me with write file on amx_addrule command * [UPDATE] 0.2 -> 0.3 (10/02/2007); - Added a new command "amx_addrule" <rule> for posibility to add a new rule when you are on server. * [UPDATE] 0.1 -> 0.2 - Added new comand to force an player from server to read server rules Command : amx_forceread <name> * That's all |
Re: Say Rules
Don't hardcode paths. Also, doesn't look like amxmisc is needed to be included.
Use switch instead of repetitive "else if" Would also suggest an admin command to add rules |
Re: Say Rules
-updated
Will add an admin comand on next version |
Re: Say Rules
Gj samurai ...U will return to cstrike???:(
|
Re: Say Rules
Again nice plugin Samurai16!
|
Re: Say Rules
lol already approved! nice plugin.
|
Re: Say Rules
Hehe, just a heads up...
You have a little itty bitty grammar error in your code...not that it matters that much. Approx Line 88 - It should read "This Rule Does Not Exist". Right now you have "This rule not exists" :) Nice plugin though...very simple, which I like. I'll have to test it out and break out my HTML skills :P. |
Re: Say Rules
thanks Roach
- fixed |
Re: Say Rules
* [UPDATE] 0.1 -> 0.2
- Added new comand to force an player from server to read server rules Command : amx_forceread <name> |
Re: Say Rules
hi samurai please can u make that the rules to be colored as green default for me.:cry:
|
All times are GMT -4. The time now is 08:24. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.