Say Rules

Post Reply
greenie
Full Member
Full Member
Posts: 1815
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Nu

Say Rules

Post by greenie »

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>


get plugin
Post Reply

Return to “Server Management”