Raised This Month: $ Target: $400
 0% 

What the Hell, plugin only work on my dedi


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
bobby3
Member
Join Date: Apr 2011
Old 05-10-2011 , 15:57   What the Hell, plugin only work on my dedi
Reply With Quote #1

Something wrong with this plugin... WHen i put into my server which is the following features...


1U
1U Rack ServerIntel Core I7 920 @ 2,67GHz2x HardDrive 1TB12GB DDR3Windows 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(PLUGINVERSIONAUTHOR); 
        
 
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.750.4506.01.0)
          
 for(new 
1<= maxplayersi++)
{
                   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
bobby3 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:22.


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