Something wrong with this plugin... WHen i put into my server which is the following features...
1U
1U Rack Server
Intel Core I7 920 @ 2,67GHz
2x HardDrive 1TB
12GB DDR3
Windows Server 2008 64bits
PHP Code:
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "Some Hud message for PPG that actually work =D"
#define VERSION "9999999999.0"
#define AUTHOR "Mecca"
new players[32];
new num;
new maxplayers
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR);
set_task(0.5,"funtime",69,"",0,"b");
register_clcmd("say /ajuda","helpon");
register_clcmd("say /ajudaoff","helpoff");
}
public funtime(id)
{
get_players(players,num);
maxplayers = get_maxplayers()
set_hudmessage(random_num(0,255), random_num(0,255), random_num(0,255), 0.75, 0.45, 0, 6.0, 1.0)
for(new i = 1; i <= maxplayers; i++)
{
if(players[i])
show_hudmessage(players[i], " PPG Help Menu ^n\
www.proportuguesegaming.com^n\
^n\
O lider tem /menu para ajudar^n\
em mandar nos TRs. Nao podem^n\
fazer dias por dias, resultado^n\
e' ban^n\
<=========================>^n\
Say Commands:^n\
/regras^n\
/menu^n\
!vip^n\
/mods^n\
/rei^n\
<=========================>^n\
/ajuda - Liga este Menu^n\
/ajudaoff - Desliga este Menu");
}
}
public client_connect(id)
{
players[id] = true;
}
public client_disconnect(id)
{
players[id] = false;
}
public helpon(id)
{
players[id] = true;
}
public helpoff(id)
{
players[id] = false;
}
It won't work, but when i put it into my dedicated server, there it works perfectly...
I dont know why but to me this is basically something i can't figure it out.
Thank you for just trying =P