Raised This Month: $ Target: $400
 0% 

Invalid player 10 | native "cs_get_user_team"


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-14-2013 , 12:47   Re: Invalid player 10 | native "cs_get_user_team"
Reply With Quote #5

I would not recommend using the entity ID, it can cause a race condition.
  • Player 1 has entity id 1
  • Admin opens menu
  • Player 1 leaves
  • Player 2 joins and is assigned entity id 1
  • Admin chooses Player 1 from the menu
  • Action is performed on Player 2

I would use userid.
__________________
fysiks is offline
 



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:12.


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