AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Help. Silent admin access (https://forums.alliedmods.net/showthread.php?t=76368)

TheRadiance 08-23-2008 08:34

Help. Silent admin access
 
hi :)
if there exists a way to hide action of specified admins, (not for all admins amx_show_activity)?
example:
specified admin bans a player and message in chat won't show to anyone.

I can rewrite every function in admincmd.sma, but i want to know if there is another way to do it?


thnx

anakin_cstrike 09-02-2008 08:33

Re: Help. Silent admin access
 
You can show the message dependingg on his flags:
PHP Code:

if(get_user_flags(id) & ADMIN_SLAY)
{
     
//


Or, checking the steamid:
PHP Code:

new auth[32]; get_user_authid(id,auth,31);
if(
equal,auth,"his steam id"))
{
     
// something


i dont know...there are more ideeas..


All times are GMT -4. The time now is 03:12.

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