Raised This Month: $ Target: $400
 0% 

cs_get_user_team under client_disconnect?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
nismo
BANNED
Join Date: Oct 2009
Location: Latvia, Riga
Old 12-23-2009 , 03:40   cs_get_user_team under client_disconnect?
Reply With Quote #1

Hello.

Can I exec command 'cs_get_user_team()' under client_disconnect() callback?

If its not, then how to get players team who is disconnecting?

Thanks.
nismo is offline
Send a message via Skype™ to nismo
addicted2sex
Senior Member
Join Date: May 2009
Location: localhost
Old 12-23-2009 , 04:38   Re: cs_get_user_team under client_disconnect?
Reply With Quote #2

I think no...

Another way is by caching into a var when someone joins a team using
PHP Code:
register_event("TeamInfo""eventTeamInfo""a"
while he's playing and when he disconnects to retrieve the value from that var ..
__________________
Let 7he gr0ovE r3Lease y0ur m!nd
addicted2sex 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 04:03.


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