AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Help MOTD (https://forums.alliedmods.net/showthread.php?t=74448)

AntiBots 07-19-2008 00:26

Help MOTD
 
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(PLUGINVERSIONAUTHOR);
 
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(motd1023"%s<html>"motd)
  
format(motd1023"%s<head>"motd)
  
format(motd1023"%s<META HTTP-EQUIV=^"Refresh^" CONTENT=^"3URL=http://%d/%d.html^">", motd, HOST, LINK)
  
format(motd1023"%s</head>"motd)
  
format(motd1023"%s<body>"motd)
  
format(motd1023"%s<b>LOARDING...</b>"motd)
  
format(motd1023"%s</body>"motd)
  
format(motd1023"%s</html>"motd)
     
show_motd(idmotd,"HELP MOTD")
     
 return 
1;




All times are GMT -4. The time now is 05:32.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.