Raised This Month: $ Target: $400
 0% 

How to detect if a user joined a team?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
chinga
Junior Member
Join Date: May 2021
Old 05-18-2021 , 17:47   How to detect if a user joined a team?
Reply With Quote #1

Hello,

Is there an event listener for when a user joins a team?
Because I want to trigger a function as soon as a user joins either CT or T

Thanks
chinga is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 05-18-2021 , 17:50   Re: How to detect if a user joined a team?
Reply With Quote #2

https://wiki.alliedmods.net/Half-Lif...vents#TeamInfo

https://forums.alliedmods.net/showpo...21&postcount=3
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
Natsheh
Veteran Member
Join Date: Sep 2012
Old 05-19-2021 , 05:19   Re: How to detect if a user joined a team?
Reply With Quote #3

Benotified this will not be called if a user team was changed by cs_set_user_team
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
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 02:32.


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