Hey Friends
need help like i have 2 online
uploaded html files i want i can
change that url's by cvar like :-
default cvar :-
amx_html_rules_url "http://yourwebsite.com/youfolder/yourfile1.html"
and i want to change url by cvar like
amx_html_rules_url "http://yourwebsite.com/youfolder/yourfile2.html"
like this.
default code
PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <cromchat>
public plugin_init()
{
register_plugin("Yest", "1.3", "Test")
register_clcmd("say /rules", "msmotd")
register_clcmd("say_team /rules", "msmotd")
register_clcmd("say /rule", "msmotd")
register_clcmd("say_team /rule", "msmotd")
set_task(40.0, "adv")
//Since you wanted console too...
register_clcmd("amx_hns_rulles", "msmotd")
}
public msmotd(id)
{
show_motd(id, "http://yourwebsite.com/youfolder/yourfile1.html");
}
public adv(id)
{
ColorChat(0, GREY, "^4-^1=^3}^4MultiMod^3{^1=^4- ^3Type ^4/rules^3 and^4 rules ^3And Read ^4Hide N Seek ^1Rules");
set_task(200.0, "adv")
}
Thanks in advance
help please.