Say commands w/ MOTD Popup
2 Attachment(s)
This is my absolute very first plugin lol. I hope its useful for ppl. I couldnt have made it without Lord Saddler. He started it. He gave me the initial /donate part, and i added all the others. Basically this plugin allows anyone to say or team say a command with the / in front of it, and if its the right command they will get an MOTD window with either help info, or w/e the server admin chooses. Its nothing to exciting mainly to just help your players learn the rules, certain plugins/mods u have, etc.
Also im bad with making up names lol, so thats my best one ^-^ Install Instructions: Place the .sma file in your scripting folder, then place the .amxx in your plugins folder, then add info_motd_ig.amxx to the bottom of your plugins.ini file. After that make your own .txt files for each MOTD and place them in your amxmodx/configs dir, and your set :) Change map or reboot server for changes to take effect. Code:
#include <amxmodx>I've tested this on my windows dedicated server, and everything so far has been running great :) Also this has only been tested with cs1.6. I'd imagine it'd work with other mods, but dont have a server to test it with, so if someone can plz test this with other mods, and report back :) Thanks and enjoy :) Update: Added a zip file with a basic layout for the .txt's. Its HTML noob friendly :) However i do recommend using these to link to a website where you have added these. Hard to understand, but for some reason MOTD's and Valve dont get along well with HTML. But it does the trick for information that wont be to long. If you need help post here, or msg me :) Update 2: I fixed the indentation warnings you would get when compiling. ChangeLog: v0.1 - Initial Release v0.2 - Fixed the Loose Indentation Warnings. You will no longer get the 5 warnings when compiling |
you should make it have like a little message somewhere pop up (if the admin wants) telling the useres that they can do this
just a suggestion but its cool like this some similar to this already but this is unique but useful |
yep it does, thats the advertisement i added. Every 90 seconds it comes up saying: "say /commands for all available say commands."
Nothing big, but it works :) Thanks pie |
oh ok sry
great plugin :D |
Thank you pie :)
Update: I've now added the .txt's. Their preset in html format, with a black background, white text, and i've set up <pre> tags so you can type in there. The text in between the <pre> tags will look exactly the same as in the .txt. Where as normally without them if you did that many spaces it would show 1 space. But with the <pre> tags if you did that many spaces, it will actually show" "that many spaces. Any problems just ask me :) |
Nice Job, there is a say commands by Pain somewhere in here i have had it for like /help and /contact or something, you could make your own, but I havnt seen it in ages. :D
|
For a first plugin, this is pretty good
|
Thank you guys :) Couldnt have finished it without you suicid3 (advertisement help) and Lord Saddler (the original Donate part). I hope you all enjoy it :)
|
Good job :)
You don't need to post the .amxx though :P |
heh, thx, alright then, i'll take the .amxx off :)
|
| All times are GMT -4. The time now is 20:07. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.