AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Solved [Help] set_user_flags (https://forums.alliedmods.net/showthread.php?t=324511)

Mikaeel123 05-18-2020 08:02

[Help] set_user_flags
 
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 !

SHIELD755 05-18-2020 08:10

Re: [Help] set_user_flags
 
https://forums.alliedmods.net/showpo...94&postcount=6

Mikaeel123 05-18-2020 08:19

Re: [Help] set_user_flags
 
Thanks ! :X

Bugsy 05-18-2020 17:25

Re: [Help] set_user_flags
 
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/


All times are GMT -4. The time now is 16:57.

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