Raised This Month: $ Target: $400
 0% 

What the Hell, plugin only work on my dedi


Post New Thread Reply   
 
Thread Tools Display Modes
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
SonicSonedit
Veteran Member
Join Date: Nov 2008
Location: Silent Hill
Old 05-10-2011 , 16:04   Re: What the Hell, plugin only work on my dedi
Reply With Quote #2

Quote:
Windows Server 2008 64bits
__________________

SonicSonedit is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 05-10-2011 , 16:04   Re: What the Hell, plugin only work on my dedi
Reply With Quote #3

PHP Code:
set_hudmessage(random_num(0,255), random_num(0,255), random_num(0,255), 0.750.4506.01.0
->

PHP Code:
set_hudmessage(random_num(0,255), random_num(0,255), random_num(0,255), 0.750.4506.0, -1
bibu is offline
bobby3
Member
Join Date: Apr 2011
Old 05-10-2011 , 16:06   Re: What the Hell, plugin only work on my dedi
Reply With Quote #4

ok
bobby3 is offline
bobby3
Member
Join Date: Apr 2011
Old 05-10-2011 , 16:07   Re: What the Hell, plugin only work on my dedi
Reply With Quote #5

gives warning dis match tag... 23 line
bobby3 is offline
bobby3
Member
Join Date: Apr 2011
Old 05-10-2011 , 16:08   Re: What the Hell, plugin only work on my dedi
Reply With Quote #6

ANd it still doesnt appear
bobby3 is offline
Sylwester
Veteran Member
Join Date: Oct 2006
Location: Poland
Old 05-10-2011 , 16:11   Re: What the Hell, plugin only work on my dedi
Reply With Quote #7

That's because that plugin is poorly coded. Learn to edit your posts!

Quote:
Originally Posted by bibu View Post
PHP Code:
set_hudmessage(random_num(0,255), random_num(0,255), random_num(0,255), 0.750.4506.01.0
->

PHP Code:
set_hudmessage(random_num(0,255), random_num(0,255), random_num(0,255), 0.750.4506.0, -1
That's wrong. 8th parameter is Float:holdtime.
__________________
Impossible is Nothing
Sylwester is offline
SonicSonedit
Veteran Member
Join Date: Nov 2008
Location: Silent Hill
Old 05-10-2011 , 16:17   Re: What the Hell, plugin only work on my dedi
Reply With Quote #8

He probably meant:
set_hudmessage
(random_num(0,255), random_num(0,255), random_num(0,255), 0.75, 0.45, 0,
6.0, 6.0, -1)
__________________

SonicSonedit is offline
bobby3
Member
Join Date: Apr 2011
Old 05-10-2011 , 16:22   Re: What the Hell, plugin only work on my dedi
Reply With Quote #9

Warning- Tag mismatch.... Not working-.-
bobby3 is offline
Sylwester
Veteran Member
Join Date: Oct 2006
Location: Poland
Old 05-10-2011 , 16:25   Re: What the Hell, plugin only work on my dedi
Reply With Quote #10

Quote:
Originally Posted by SonicSonedit View Post
He probably meant:
set_hudmessage
(random_num(0,255), random_num(0,255), random_num(0,255), 0.75, 0.45, 0,
6.0, 6.0, -1)
That's wrong too.
__________________
Impossible is Nothing
Sylwester is offline
Reply



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