AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=7)
-   -   2 Questions about Admin Access Flags (https://forums.alliedmods.net/showthread.php?t=183824)

Diegorkable 04-27-2012 09:39

2 Questions about Admin Access Flags
 
Hey guys, I have 2 questions about admin access flags.

1. How is_user_admin indicates if someone is an admin?
2. What is the access flag needed to see all chat types? (For example, when you're an admin you can see all the team chats, dead players chat, alive players chat, so you don't miss a thing)

thanks :)

fysiks 04-27-2012 09:51

Re: 2 Questions about Admin Access Flags
 
Who are you? Did your account get hacked?

Quote:

Originally Posted by Diegorkable (Post 1697373)
Hey guys, I have 2 questions about admin access flags.

1. How is_user_admin indicates if someone is an admin?

You can look for yourself.

Quote:

Originally Posted by Diegorkable (Post 1697373)
2. What is the access flag needed to see all chat types? (For example, when you're an admin you can see all the team chats, dead players chat, alive players chat, so you don't miss a thing)

That is not part of AMX Mod X. Find the plugin.

Diegorkable 04-27-2012 10:48

Re: 2 Questions about Admin Access Flags
 
Quote:

Originally Posted by fysiks (Post 1697384)
Who are you? Did your account get hacked?



You can look for yourself.



That is not part of AMX Mod X. Find the plugin.

Why would you think that my accout got hacked? lol

and I searched for is_user_admin source code but couldn't find.

EDIT: Nvm found it.

Bilal Pro 04-27-2012 13:40

Re: 2 Questions about Admin Access Flags
 
Quote:

Originally Posted by fysiks (Post 1697384)
Who are you? Did your account get hacked?


LOOOOOOOOOOOOOOOOOOOOL

fysiks 04-27-2012 19:17

Re: 2 Questions about Admin Access Flags
 
Quote:

Originally Posted by Diegorkable (Post 1697439)
EDIT: Nvm found it.

Now do you understand why I said you could look for yourself? Always search the include files first. Get Notepad++ and have it search the whole folder at once!

Diegorkable 04-28-2012 04:29

Re: 2 Questions about Admin Access Flags
 
Quote:

Originally Posted by fysiks (Post 1697724)
Now do you understand why I said you could look for yourself? Always search the include files first. Get Notepad++ and have it search the whole folder at once!

Then how come when I look at includes I always find natives but not the codes themselves? I thought it would be the same in this case aswell.

fysiks 04-28-2012 11:49

Re: 2 Questions about Admin Access Flags
 
Quote:

Originally Posted by Diegorkable (Post 1697875)
Then how come when I look at includes I always find natives but not the codes themselves? I thought it would be the same in this case aswell.

You should always search the includes first. There is often documentation in the includes also whether it is a native or not. In fact, on the funcwiki it tells you which file it is in and if it is a native or a stock.

Diegorkable 04-29-2012 09:41

Re: 2 Questions about Admin Access Flags
 
Quote:

Originally Posted by fysiks (Post 1698110)
You should always search the includes first. There is often documentation in the includes also whether it is a native or not. In fact, on the funcwiki it tells you which file it is in and if it is a native or a stock.

Okay, thank you.


All times are GMT -4. The time now is 06:27.

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