Raised This Month: $ Target: $400
 0% 

[HELP] How to set team info ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SystemCare
New Member
Join Date: Jul 2014
Old 07-23-2014 , 16:01   [HELP] How to set team info ?
Reply With Quote #1

Hello,
I tried to do when player connect to the server, he will be transfer to X team.

For exmple:
Code:
#include <amxmodx>
#include <cstrike>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "User"


public plugin_init() {
	register_plugin(PLUGIN, VERSION, AUTHOR)
	
	// Add your code here...
}
public client_putinserver(id)
{
	cs_set_user_team(id, 4);
}
But my problem is, that the player does not get any TEAM INFO

My question is:
How can i set to a player TEAM INFO like TERRORIST / CT ?

Thanks
SystemCare is offline
isotonic
Senior Member
Join Date: Jun 2011
Location: Moscow, Russia
Old 07-23-2014 , 22:35   Re: [HELP] How to set team info ?
Reply With Quote #2

Autojoin process is more complicated when you think. See that plugins for example:
Teams Manager All-In-One
Team Join Management
__________________
isotonic is offline
Eagle07
Veteran Member
Join Date: May 2014
Location: Morocco :D
Old 07-23-2014 , 22:50   Re: [HELP] How to set team info ?
Reply With Quote #3

Auto join on connect
__________________
Eagle07 is offline
SystemCare
New Member
Join Date: Jul 2014
Old 07-24-2014 , 13:51   Re: [HELP] How to set team info ?
Reply With Quote #4

Quote:
Originally Posted by Eagle07 View Post
Quote:
Originally Posted by isotonic View Post
Autojoin process is more complicated when you think. See that plugins for example:
Teams Manager All-In-One
Team Join Management
You know this plugin, but i want to try to do it my self (for Specific plugin)
SystemCare is offline
mottzi
Veteran Member
Join Date: May 2010
Location: Switzerland
Old 07-24-2014 , 14:28   Re: [HELP] How to set team info ?
Reply With Quote #5

Then you have the possibility to open the sma and read.
mottzi is offline
Send a message via MSN to mottzi
Reply


Thread Tools
Display Modes

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


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