PHP Code:
show_hudmessage(0, "Our Website : %s", website[28]);
PHP Code:
show_hudmessage(0, "Our Website : %s", website);
Try that, the way you did it was only showing the last character which i think would be blank
because you say it shows nothing.
EDIT:
It is better to make 1 global task instead of 32 individual tasks.
PHP Code:
#include <amxmodx>
#include <cstrike>
#define PLUGIN "Server Display"
#define VERSION "3.0"
#define AUTHOR "MoE | -hAbd-"
new website[29]
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR);
register_cvar("sd_website", "awebsite");
get_cvar_string("sd_website", website, 28);
set_task(80.0, "Displayhud", _, _, _, "b");
}
public Displayhud()
{
set_hudmessage( 0, 255, 0, -1.0, 0.0, 0, 6.0, 12.0);
show_hudmessage(0, "Our Website : %s", website);
}
I don't know what you mean with the function headers. Could you give an example for that?
__________________