AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Problem with checking user flag (https://forums.alliedmods.net/showthread.php?t=143321)

marquezs 11-18-2010 04:58

Problem with checking user flag
 
solved thanks

Bugsy 11-18-2010 08:21

Re: Problem with checking user flag
 
Add this condition where needed, just change ADMIN_CHECK to the flag you want to check:
( get_user_flags( id ) & ADMIN_CHECK )

Also, no need to use set_task, just call the functions directly.

marquezs 11-18-2010 15:01

Re: Problem with checking user flag
 
solved with a diferent solution thanks

fysiks 11-18-2010 19:47

Re: Problem with checking user flag
 
Quote:

Originally Posted by marquezs (Post 1351737)
solved thanks

Don't remove your posts. They can help others learn.


All times are GMT -4. The time now is 11:14.

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