View Single Post
OneMore
Senior Member
Join Date: Feb 2019
Old 03-25-2021 , 21:25   Re: [ANY] BETA Advanced Rules Menu
Reply With Quote #34

I've updated the plugin. Changes:
- new syntax;
- you can make long rules (up to about 500 characters), split them into lines with "/n", long rules will have pages.
- added cfg file in /cfg/sourcemod for those who want keeping convars there;
- added translations and made a Russian translation
- minor change of logic: if players see rules at the beginning, they know they should read and accept to avoid this menu; all players informed about a command how to read rules if they need to.

I don't know how to avoid 512 characters restriction in KvGetString. If you know please tell me, I would prefer to have even longer rules

If someone wants to add other translations - welcome!

I didn't check the functionality to modify rules in the plugin because to write your own Rules.cfg is much simpler, but @eyal282 insisted on that functionality, so I left it as is. If you need it, please check and report bags (to eyal282 )
Attached Files
File Type: txt advancedrules.phrases.txt (5.2 KB, 67 views)
File Type: sp Get Plugin or Get Source (AdvancedRules.sp - 143 views - 26.9 KB)

Last edited by OneMore; 03-25-2021 at 21:38.
OneMore is offline