Raised This Month: $ Target: $400
 0% 

error.....


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
samer 123
BANNED
Join Date: Aug 2010
Location: palestine
Old 12-06-2011 , 07:17   error.....
Reply With Quote #1

i made plugin and no errors but not work in my server
this is the code :
PHP Code:
#include <amxmodx>
#include <colorchat>

#define PLUGIN "Info"
#define VERSION "1.0"
#define AUTHOR "Abo-Zanih"


public plugin_init(){
    
    
register_clcmd("say /eamil""eamil")
    
register_clcmd("say admin""eamil")
}

public 
eamil(id)
{
    
ColorChat(idGREEN"^x04 The OwnerAdmin Eamils : Skype: Algeeria.net , Hotmail : [email protected]")
    
ColorChat(idGREEN"^x04 Abo Zanih Eamils: Skype : samer_cs95 , Hotmail : [email protected]"
    
ColorChat(idGREEN"^x04 Please Vist Our Page : Www.deamondz.com")
}
public 
connectmessage(id)
{
if (!
is_user_connected(id))
{
ColorChat(idGREEN"^x04 Say : /eamil or admin to show information :D"
}

samer 123 is offline
Send a message via MSN to samer 123 Send a message via Skype™ to samer 123
MyPc
Senior Member
Join Date: Sep 2011
Old 12-06-2011 , 07:24   Re: error.....
Reply With Quote #2

connectmessage is never called
PHP Code:
if (!is_user_connected(id)) 
:O if he isn't connected how do you expect him to view the message anyway

Last edited by MyPc; 12-06-2011 at 07:25.
MyPc is offline
samer 123
BANNED
Join Date: Aug 2010
Location: palestine
Old 12-06-2011 , 07:29   Re: error.....
Reply With Quote #3

man give me the code ...
samer 123 is offline
Send a message via MSN to samer 123 Send a message via Skype™ to samer 123
Splot
Junior Member
Join Date: Nov 2011
Old 12-06-2011 , 09:32   Re: error.....
Reply With Quote #4

PHP Code:
#include <amxmodx>
#include <colorchat>

#define PLUGIN "Info"
#define VERSION "1.0"
#define AUTHOR "Abo-Zanih"


public plugin_init(){
    
    
register_clcmd("say /eamil""eamil")
    
register_clcmd("say admin""eamil")
}

public 
eamil(id)
{
    
ColorChat(idGREEN"^x04 The OwnerAdmin Eamils : Skype: Algeeria.net , Hotmail : [email protected]")
    
ColorChat(idGREEN"^x04 Abo Zanih Eamils: Skype : samer_cs95 , Hotmail : [email protected]"
    
ColorChat(idGREEN"^x04 Please Vist Our Page : Www.deamondz.com")
}

public 
client_putinserver(id)
{
    
set_task(5.0,"Welcommsg",id)    
}

public 
Welcommsg(id)
{
    
ColorChat(idGREEN"^x04 Say : /eamil or admin to show information :D")     


Last edited by Splot; 12-06-2011 at 09:33.
Splot is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 12-06-2011 , 11:26   Re: error.....
Reply With Quote #5

Suggestion:

PHP Code:
ColorChat(idGREEN"Say : /eamil or admin to show information :D")
ColorChat(idGREEN"The OwnerAdmin Eamils : Skype: Algeeria.net , Hotmail : [email protected]")
ColorChat(idGREEN"Abo Zanih Eamils: Skype : samer_cs95 , Hotmail : [email protected]"
ColorChat(idGREEN"Please Vist Our Page : Www.deamondz.com"
Make sure colorchat.inc is in your folder /scripting/includes at your server
__________________

Last edited by Napoleon_be; 12-06-2011 at 11:26.
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-06-2011 , 18:45   Re: error.....
Reply With Quote #6

Quote:
Originally Posted by Napoleon_be View Post
Suggestion:

PHP Code:
ColorChat(idGREEN"Say : /eamil or admin to show information :D")
ColorChat(idGREEN"The OwnerAdmin Eamils : Skype: Algeeria.net , Hotmail : [email protected]")
ColorChat(idGREEN"Abo Zanih Eamils: Skype : samer_cs95 , Hotmail : [email protected]"
ColorChat(idGREEN"Please Vist Our Page : Www.deamondz.com"
Make sure colorchat.inc is in your folder /scripting/includes at your server
He's already done that. If it wasn't there then he couldn't compile (which he says works).
__________________
fysiks 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 20:53.


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