Thread: [Solved] [Help] set_user_flags
View Single Post
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 05-18-2020 , 17:25   Re: [Help] set_user_flags
Reply With Quote #4

Think of set_user_flags() more like add_user_flags(). The flags you set with set_user_flags() are not always what the player will end up with after the function is called, since it's truly adding, not setting.

Example, suppose user already has flags "abc" and then you do set_user_flags( "d" ), he will end up with "abcd"

Bookmark this page: http://www.amxmodx.org/api/
__________________

Last edited by Bugsy; 05-18-2020 at 17:27.
Bugsy is offline