Raised This Month: $ Target: $400
 0% 

Solved Client Disconnect ID


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 02-26-2017 , 15:46   Re: Client Disconnect ID
Reply With Quote #8

Quote:
Originally Posted by OciXCrom View Post
You can simply do this and you won't have to worry about it being transfered on another player:

Code:
g_IsPlayerVIP[id] = bool:(get_user_flags(id) & ADMIN_LEVEL_H)
The point of caching in a variable is to not have to call a native every time you need to check the value. But yes, this is a solution and the native is not expensive to call when needed.
__________________

Last edited by Bugsy; 02-26-2017 at 15:48.
Bugsy 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 20:50.


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