Raised This Month: $ Target: $400
 0% 

Help for connect message


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
yatendra0905
Junior Member
Join Date: Dec 2012
Old 01-24-2013 , 06:28   Help for connect message
Reply With Quote #1

I need a plugin for my dedicated server to echo a player connected in the console rather than in game.....can any1??
yatendra0905 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-24-2013 , 13:13   Re: Help for connect message
Reply With Quote #2

It already puts that info in a players console.
__________________
fysiks is offline
yatendra0905
Junior Member
Join Date: Dec 2012
Old 01-24-2013 , 16:12   Re: Help for connect message
Reply With Quote #3

Quote:
Originally Posted by fysiks View Post
It already puts that info in a players console.
Not in the players console but In the server console...as soon as the player gets connected....
I use HLDS server in console mode rather than HUD....so everytime i had to write users to see if any1 connected or not. Thats why i needed it.
yatendra0905 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-25-2013 , 00:38   Re: Help for connect message
Reply With Quote #4

PHP Code:
#include <amxmodx>

public client_connect(id)
{
    new 
szName[32]
    
get_user_name(idszNamecharsmax(szName))
    
server_print("%s has joined the game."szName)

__________________
fysiks is offline
michal123
Junior Member
Join Date: Feb 2011
Location: Poland
Old 01-26-2013 , 06:47   Re: Help for connect message
Reply With Quote #5

My mistake, sorry ;)

@YamiKaitou, thanks for information

Last edited by michal123; 01-26-2013 at 07:33.
michal123 is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 01-26-2013 , 07:24   Re: Help for connect message
Reply With Quote #6

Quote:
Originally Posted by michal123 View Post
Player name can be longer than 32 chars.
No it can't
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
yatendra0905
Junior Member
Join Date: Dec 2012
Old 01-28-2013 , 04:32   Re: Help for connect message
Reply With Quote #7

Quote:
Originally Posted by fysiks View Post
PHP Code:
#include <amxmodx>

public client_connect(id)
{
    new 
szName[32]
    
get_user_name(idszNamecharsmax(szName))
    
server_print("%s has joined the game."szName)

thanks a lot fysiks....u again helped me :*
yatendra0905 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 14:43.


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