Raised This Month: $ Target: $400
 0% 

connecting private server


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 02-09-2010 , 07:07   Re: connecting private server
Reply With Quote #2

Here you go, not tested but should work.
Code:
#include <amxmodx>
#include <amxmisc>

#define PLUGIN "Connecting Message"
#define VERSION "1.0"
#define AUTHOR "Drekes"


public plugin_init() 
{
    register_plugin(PLUGIN, VERSION, AUTHOR)
}


public client_connect(id)
{
    if(is_user_bot(id))
    return
        
    new name[32]
    get_user_name(id,name,charsmax(name))

    set_hudmessage(0, 255, 0, -1.0, -1.0)
    show_hudmessage(0, "<Killer Private Server: %s connecting" , name)
}
    
public client_disconnect(id)
{
    new name[32]
    get_user_name(id,name,charsmax(name))
    
    set_hudmessage(0, 255, 0, -1.0, -1.0)
    show_hudmessage(0, "<Killer Private Server:%s disconnected", name)
}
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
 



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 07:20.


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