Raised This Month: $433 Target: $400
 108% 

Solved UserId max value


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine
Old 03-01-2020 , 01:05   UserId max value
Reply With Quote #1

Hi,

what are GetClientUserId() min and max values?
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D1 fun (Bloody Witch)
[My plugins] [My tools] [GitHub] [Articles]

Last edited by Dragokas; 03-01-2020 at 05:24.
Dragokas is offline
MAGNAT2645
Senior Member
Join Date: Nov 2015
Location: AlliedMods.net
Old 03-01-2020 , 01:17   Re: UserId max value
Reply With Quote #2

It might be same bounds as integer.
__________________
MAGNAT2645 is online now
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Old 03-01-2020 , 05:03   Re: UserId max value
Reply With Quote #3

Although the Valve Developer Wiki says it's a plain integer, if you look at the Source Game Events you'll see userid is usually denoted as a short, meaning a 16-bit integer. An unsigned 16-bit integer ranges from 0 to 65535.
__________________

Last edited by DJ Tsunami; 03-01-2020 at 05:07.
DJ Tsunami is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine
Old 03-01-2020 , 05:24   Re: UserId max value
Reply With Quote #4

Thanks.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D1 fun (Bloody Witch)
[My plugins] [My tools] [GitHub] [Articles]
Dragokas is offline
Reply


Thread Tools
Display Modes

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


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