Raised This Month: $ Target: $400
 0% 

() is connecting...


Post New Thread Reply   
 
Thread Tools Display Modes
Podarok
BANNED
Join Date: Jan 2011
Location: Narnia
Old 02-08-2011 , 04:12   Re: () is connecting...
Reply With Quote #11

Thanks , but again I have read .sma file of this plugin and saw that it shows message when the player IS CONNECTED , but I need to show message when player IS CONNECTING (client_connect) , as Ellusive138 said!
Podarok is offline
ImXinR
Member
Join Date: Dec 2010
Old 02-08-2011 , 04:19   Re: () is connecting...
Reply With Quote #12

Yeah this plugin shows when someone is connecting , meaning , When someone is loading the game , It will print the message . And also when player has joined , The message will be printed agn.
__________________
Sometimes , Life Sucks .. Don't You Agree? But ,
Listening To Music Make Us Feel Better
ImXinR is offline
Podarok
BANNED
Join Date: Jan 2011
Location: Narnia
Old 02-08-2011 , 04:57   Re: () is connecting...
Reply With Quote #13

Ok then I will try it , but I wanted announce only when player is connecting , not a message announcement system , it will make a big-big mess in my server , cuz I'm using enough connection announcers...
Podarok is offline
Elusive138
Senior Member
Join Date: Dec 2010
Old 02-08-2011 , 05:59   Re: () is connecting...
Reply With Quote #14

Quote:
Originally Posted by Podarok View Post
Ok then I will try it , but I wanted announce only when player is connecting , not a message announcement system , it will make a big-big mess in my server , cuz I'm using enough connection announcers...
I have no idea if getting the name works on client_connect..

PHP Code:
#include <amxmodx>

public plugin_init()
    
register_plugin("Connection Message""1.0""Elusive")

public 
client_connect(id)
{
    new 
szName[32], szIP[16]
    
get_user_name(idszNamecharsmax(szName))
    
get_user_ip(idszIPcharsmax(szIP), 1)
    
client_print(0print_chat"%s (%s) is connecting to the server."szNameszIP)

Elusive138 is offline
Podarok
BANNED
Join Date: Jan 2011
Location: Narnia
Old 02-08-2011 , 07:14   Re: () is connecting...
Reply With Quote #15

Thanks. Can you make it in green color and in the end of message write players ip?
Example : %d is connecting to the server...[IP:***.***.**.**]
Podarok is offline
Old 02-08-2011, 12:58
Podarok
This message has been deleted by Podarok. Reason: Forgot : Don't bumb since two weeks haven't passed :D
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 05:55.


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