Raised This Month: $ Target: $400
 0% 

Scoreboard question


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Liverwiz
Veteran Member
Join Date: Feb 2010
Location: Maryland
Old 09-24-2012 , 18:52   Re: Scoreboard question
Reply With Quote #5

Quote:
Originally Posted by fysiks View Post
Do those even exist?
SURE they do!
Observe....

PHP Code:
#include <amxmodx>

#define PLUGIN "Player_Dis_Connect"
#define VERSION "1.0"
#define AUTHOR "Liverwiz"

new g_maxPlayers
public plugin_init() 
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
g_maxPlayers get_maxplayers()
}

public 
client_connect(id)
    
player_connect(id)
    
public 
client_disconnect(id)
    
player_disconnect(id)
    
player_connect(id)
    
server_print("That's right. I just connected.")
    
player_disconnect(id)
    
server_print("That's right. I just disconnected."
get off my nuts, fysks
__________________
What an elegant solution to a problem that doesn't need solving....

Last edited by Liverwiz; 09-24-2012 at 18:53.
Liverwiz is offline
 



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 08:19.


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