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

cs_get_user_team returning incorrect values


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Desikac
Senior Member
Join Date: Apr 2010
Location: Serbia
Old 04-05-2012 , 10:33   cs_get_user_team returning incorrect values
Reply With Quote #1

Why does cs_get_user_team sometimes return the incorrect team. For example, when the player changes team in mid-game.

Is there a way to fix it?
Desikac is offline
Send a message via MSN to Desikac Send a message via Skype™ to Desikac
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-05-2012 , 10:56   Re: cs_get_user_team returning incorrect values
Reply With Quote #2

You mean get_user_team ? cs_get_user_team uses a player's offset and doesn't have this problem. Anyway it fails because something is not updated in amxx. More explanations can be find in a bug report, this one https://bugs.alliedmods.net/show_bug.cgi?id=4656 at the end.
__________________
Arkshine 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 03:21.


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