Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <amxmodx>
- #include <amxmisc>
- #include <colorchat>
- #define PLUGIN "Server Help"
- #define VERSION "2.0"
- #define AUTHOR "blaster"
- public plugin_init() {
- register_plugin(PLUGIN, VERSION, AUTHOR)
- register_clcmd("say /help", "pomoc")
- register_clcmd("say_team /help", "pomoc")
- register_cvar("amx_adminpomoc", "1")
- register_cvar("amx_helplink", "")
- register_event("HLTV", "reklamapriulazu", "a", "1=0", "2=0")
- }
- public reklamapriulazu(id) {
- set_task(120.0,"poruka",id,"",0,"a")
- }
- public poruka()
- {
- ColorChat(0, GREEN, "^x04 Za informacije o dobijanju admina say^x03 /help")
- }
- public pomoc(id)
- {
- if(get_cvar_num("amx_adminpomoc") == 1)
- {
- new motd[512]
- get_cvar_string("amx_helplink", motd, 511)
- show_motd(id, motd)
- return PLUGIN_HANDLED
- }
- {
- return PLUGIN_HANDLED
- }
- }
Add Comment
Please, Sign In to add comment