Raised This Month: $ Target: $400
 0% 

Solved Set player flags question


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-18-2022 , 22:54   Re: Set player flags question
Reply With Quote #1

Quote:
Originally Posted by Bugsy View Post
Yes, set_user_flags() should be named add_user_flags(), as it's a bit misleading at face value.
Well, kind of but not necessarily. Flags are stored as bits. "Setting bits" is simply OR'ing them and that operation doesn't remove any other bits.
__________________
fysiks 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 11:29.


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