Raised This Month: $51 Target: $400
 12% 

Many Plug-ins


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
omega544
Member
Join Date: Apr 2007
Location: - Romania - Ilfov - Volu
Old 04-11-2007 , 00:16   Many Plug-ins
Reply With Quote #1

OFFTOPIC PLEASE !!
__________________
OMEGA Fun

Neji Hyuuga ( Requested ) - Here

More Naruto Characters ideeas soon !

Last edited by omega544; 03-15-2008 at 17:03.
omega544 is offline
Send a message via Yahoo to omega544
omega544
Member
Join Date: Apr 2007
Location: - Romania - Ilfov - Volu
Old 04-11-2007 , 00:23   Re: Many Plug-ins
Reply With Quote #2

OFFTOPIC PLEASE !!
__________________
OMEGA Fun

Neji Hyuuga ( Requested ) - Here

More Naruto Characters ideeas soon !

Last edited by omega544; 03-15-2008 at 17:03.
omega544 is offline
Send a message via Yahoo to omega544
Styles
Veteran Member
Join Date: Jul 2004
Location: California
Old 04-11-2007 , 00:31   Re: Many Plug-ins
Reply With Quote #3

wow untill the last post I was okay with it what the fuck does that mean? And some bots?
Styles is offline
Send a message via AIM to Styles
Styles
Veteran Member
Join Date: Jul 2004
Location: California
Old 04-11-2007 , 00:42   Re: Many Plug-ins
Reply With Quote #4

Code:
#include <amxmodx>
#include <cstrike>
#include <amxmisc>

#define PLUGIN "Connect Info"
#define VERSION "1.0"
#define AUTHOR "Styles"


public plugin_init() {
	register_plugin(PLUGIN, VERSION, AUTHOR)
	register_menucmd(register_menuid("Team_Select"),(1<<0)|(1<<1)|(1<<4)|(1<<5),"team_select")
}

public client_putinserver(id)
{
	new name[128], ip[128]; 
	get_user_name(id, name, 127);
	get_user_ip(id, ip, 187);
	
	client_print(0, print_chat, "%s has connected (IP: %s )", name, ip);
}

public team_select(id)
{
	new name[128];
	get_user_name(id, name, 127);
	
	if(cs_get_user_team(id) == CS_TEAM_CT)
		client_print(0, print_chat, "%s entered to CT", name);
	else if(cs_get_user_team(id) == CS_TEAM_T)
		client_print(0, print_chat, "%s entered to T", name);
	else
		client_print(0, print_chat, "%s entered to Spectator", name);
}

public client_disconnect(id)
{
	new name[128], ip[128]; 
	get_user_name(id, name, 127);
	get_user_ip(id, ip, 187);
	
	client_print(0, print_chat, "%s has disconnected. (IP: %s )", name, ip);

}
Try that for your connecting one.
Styles is offline
Send a message via AIM to Styles
omega544
Member
Join Date: Apr 2007
Location: - Romania - Ilfov - Volu
Old 04-11-2007 , 02:15   Re: Many Plug-ins
Reply With Quote #5

OFFTOPIC PLEASE !!
__________________
OMEGA Fun

Neji Hyuuga ( Requested ) - Here

More Naruto Characters ideeas soon !

Last edited by omega544; 03-15-2008 at 17:03.
omega544 is offline
Send a message via Yahoo to omega544
Styles
Veteran Member
Join Date: Jul 2004
Location: California
Old 04-11-2007 , 03:31   Re: Many Plug-ins
Reply With Quote #6

Did the other plugin work fine though?
Styles is offline
Send a message via AIM to Styles
omega544
Member
Join Date: Apr 2007
Location: - Romania - Ilfov - Volu
Old 04-11-2007 , 04:52   Re: Many Plug-ins
Reply With Quote #7

OFFTOPIC PLEASE !!
__________________
OMEGA Fun

Neji Hyuuga ( Requested ) - Here

More Naruto Characters ideeas soon !

Last edited by omega544; 03-15-2008 at 17:03.
omega544 is offline
Send a message via Yahoo to omega544
No0n3
Junior Member
Join Date: Mar 2007
Location: Latvia
Old 04-13-2007 , 00:51   Re: Many Plug-ins
Reply With Quote #8

Pod Bot
__________________



No0n3 is offline
Send a message via Skype™ to No0n3
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:19.


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