Raised This Month: $ Target: $400
 0% 

native "cs_get_user_team" & native "cs_get_weapon_silen" - The complicated way


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 07-02-2018 , 18:51   Re: native "cs_get_user_team" - The complicated way
Reply With Quote #2

Checking if the user is connected before getting his team should without any doubt prevent that error. Every time you see an "invalid player X" error, it means that the user is not connected. Add the check in the beginning of the function and stop the code from going any further if it returns false.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
 



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


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