Raised This Month: $ Target: $400
 0% 

Jointeam Question


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
mottzi
Veteran Member
Join Date: May 2010
Location: Switzerland
Old 08-05-2010 , 14:38   Jointeam Question
Reply With Quote #1

Hello,

I need to hanle with this Event:

Code:
register_event("TextMsg","team_join","a","1=1","2&Game_join_te","2&Game_join_ct")
So my question is: Is this event just called then you Join team by Teamchoosemenu (M) or is it called when a Player simply changes team (cs_set_user_team), too?

Mottzi
__________________
Quote:
#define true ((rand() % 2)? true: false) //Happy debugging suckers
mottzi is offline
Send a message via MSN to mottzi
infek
Senior Member
Join Date: May 2009
Location: Behind you
Old 08-07-2010 , 06:31   Re: Jointeam Question
Reply With Quote #2

// Could happend in the beggining of the round or Team Select
PHP Code:
register_event("TeamInfo","team_assign","a"
// Happends at Team Select & Auto-Join Only
PHP Code:
register_event("TextMsg","team_join","a","1=1","2&Game_join_te","2&Game_join_ct"
__________________
"Domo Arigato, Mr. Roboto!"
PM me if you want to know a secret
infek is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 08-07-2010 , 09:36   Re: Jointeam Question
Reply With Quote #3

And neither of those are triggered when using cs_set_user_team() because that sets team internally... AFAIK.
__________________
Hunter-Digital 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 00:14.


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