What is wrong here:
PHP Code:
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "CVAR HELP MOTD"
#define VERSION "1.0"
#define AUTHOR "ReymonARG"
new dominio
new actualizar
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR);
register_clcmd("say /ayuda","_ayuda");
dominio = register_cvar("sv_html_host","www.myweb.com/folder")
actualizar = register_cvar("sv_html_help","ayuda-hide")
}
public _ayuda(id)
{
new motd[256]
new HOST
new LINK
HOST = get_pcvar_num(dominio)
LINK = get_pcvar_num(actualizar)
format(motd, 1023, "%s<html>", motd)
format(motd, 1023, "%s<head>", motd)
format(motd, 1023, "%s<META HTTP-EQUIV=^"Refresh^" CONTENT=^"3; URL=http://%d/%d.html^">", motd, HOST, LINK)
format(motd, 1023, "%s</head>", motd)
format(motd, 1023, "%s<body>", motd)
format(motd, 1023, "%s<b>LOARDING...</b>", motd)
format(motd, 1023, "%s</body>", motd)
format(motd, 1023, "%s</html>", motd)
show_motd(id, motd,"HELP MOTD")
return 1;
}
__________________