I tried using pcvars, and it works fine now.
PHP Code:
#include <amxmodx>
#include <cstrike>
#define PLUGIN "Server Display"
#define VERSION "3.0"
#define AUTHOR "MoE | -hAbd-"
new cvar_website;
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR);
cvar_website = register_cvar("sd_website", "awebsite");
// get_cvar_string("sd_website", website, 28);
set_task(80.0, "Displayhud", _, _, _, "b");
}
public Displayhud()
{
new website[29];
get_pcvar_string(cvar_website, website, charsmax(website));
set_hudmessage( 0, 255, 0, -1.0, 0.0, 0, 6.0, 12.0);
show_hudmessage(0, "Our Website : %s", website);
}
I have the website in amxx.cfg
__________________