Raised This Month: $32 Target: $400
 8% 

Solved [Help] set_user_flags


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Mikaeel123
Senior Member
Join Date: Oct 2018
Old 05-18-2020 , 08:02   [Help] set_user_flags
Reply With Quote #1

Hi, I saw this code in amxmodx api . How it works and how I can give a player a flag . i want more information about this . Thanks !

Last edited by Mikaeel123; 05-18-2020 at 08:19.
Mikaeel123 is offline
SHIELD755
Veteran Member
Join Date: Feb 2018
Location: FROM MARVEL STUDIO
Old 05-18-2020 , 08:10   Re: [Help] set_user_flags
Reply With Quote #2

https://forums.alliedmods.net/showpo...94&postcount=6
__________________
SED LYF !!!
SHIELD755 is offline
Mikaeel123
Senior Member
Join Date: Oct 2018
Old 05-18-2020 , 08:19   Re: [Help] set_user_flags
Reply With Quote #3

Thanks ! :X
Mikaeel123 is offline
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
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 14:01.


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