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

Solved UserId max value


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
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. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

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 offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
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.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.

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

Thanks.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas 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:14.


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