Terms and Agreement
1 Attachment(s)
Description: When you connect you and join a team you will get up a menu and motd with the rules. In the menu you can choose between 1. I Agree 2. I Disagree 3. Show The Rules if you choose "I Agree" then you agree with these rules and you can continue playing. If you choose "I Disagree" then you disagree with these rules and it will kick you from the server. If you choose "Show The Rules" then a motd will be displayed for you with the rules in it. Edit Website Display: Open the source: agreement.sma find PHP Code:
"http://collusion-gaming.mine.nu" to your website. Commands: /rules Tutorial: Open plugins.ini in "addons/amxmodx/config" now add agreement.amxx under ; Custom - Add 3rd party plugins here now save and close. Put the file agreement.amxx into "addons/amxmodx/plugins" Put the file agreement.sma into "addons/amxmodx/scripting" Create a text file called rules.txt in your cstrike folder. and type in your rules with HTML. Credits: Mati_ Exolent[jNr] Image: http://img844.**************/img844/6048/menukb.png |
Re: Terms and Agreement
Change it to bool:array[33]
You have #define Website "blah" yet you never use it... |
Re: Terms and Agreement
Remove ColorChat. Remove your "Tutorial". Add a cvar to control the rules document. In a submitted plugin nothing should be hardcoded that will be different for every server that runs it.
|
Re: Terms and Agreement
Quote:
and yes i use it PHP Code:
|
Re: Terms and Agreement
Quote:
|
Re: Terms and Agreement
PHP Code:
Either use semi-colons or don't. Be consistent. (This is a sign of copy pasting) Also, Quote:
|
Re: Terms and Agreement
Quote:
and the other i will do it tomorrow. |
Re: Terms and Agreement
What is different from other existing plugins ? (there are few of them)
|
Re: Terms and Agreement
U should provide an example of rules.txt and point it to (what folder ? cstrike ? as no get_configsdir in your code )
|
Re: Terms and Agreement
some links Connor? :)
it's kinda interesting |
| All times are GMT -4. The time now is 20:11. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.