Raised This Month: $51 Target: $400
 12% 

Show Admins Online


Post New Thread Reply   
 
Thread Tools Display Modes
vato loco [GE-S]
Veteran Member
Join Date: Oct 2006
Location: Germany
Old 10-29-2011 , 07:11   Re: Show Admins Online
Reply With Quote #71

PHP Code:
public client_putinserver(id)
{
    if(
get_user_flags(id) & ADMIN_KICK// <- change ADMIN_KICK to what you want to have
    
{
        
is_admin_connected[id] = true
        g_iAdminCount
++
        
set_admin_msg()
    }
    if(
g_iAdminCount == 0)
        
set_admin_msg()

Code:
#define ADMIN_ALL        0    /* everyone */
#define ADMIN_IMMUNITY        (1<<0)    /* flag "a" */
#define ADMIN_RESERVATION    (1<<1)    /* flag "b" */
#define ADMIN_KICK        (1<<2)    /* flag "c" */
#define ADMIN_BAN        (1<<3)    /* flag "d" */
#define ADMIN_SLAY        (1<<4)    /* flag "e" */
#define ADMIN_MAP        (1<<5)    /* flag "f" */
#define ADMIN_CVAR        (1<<6)    /* flag "g" */
#define ADMIN_CFG        (1<<7)    /* flag "h" */
#define ADMIN_CHAT        (1<<8)    /* flag "i" */
#define ADMIN_VOTE        (1<<9)    /* flag "j" */
#define ADMIN_PASSWORD        (1<<10)    /* flag "k" */
#define ADMIN_RCON        (1<<11)    /* flag "l" */
#define ADMIN_LEVEL_A        (1<<12)    /* flag "m" */
#define ADMIN_LEVEL_B        (1<<13)    /* flag "n" */
#define ADMIN_LEVEL_C        (1<<14)    /* flag "o" */
#define ADMIN_LEVEL_D        (1<<15)    /* flag "p" */
#define ADMIN_LEVEL_E        (1<<16)    /* flag "q" */
#define ADMIN_LEVEL_F        (1<<17)    /* flag "r" */
#define ADMIN_LEVEL_G        (1<<18)    /* flag "s" */
#define ADMIN_LEVEL_H        (1<<19)    /* flag "t" */
#define ADMIN_MENU        (1<<20)    /* flag "u" */
#define ADMIN_ADMIN        (1<<24)    /* flag "y" */
#define ADMIN_USER        (1<<25)    /* flag "z" */
__________________
vato loco [GE-S] is offline
datka888
Member
Join Date: Oct 2011
Old 10-29-2011 , 07:22   Re: Show Admins Online
Reply With Quote #72

vato loco [GE-S] Thank You very Mach :*
datka888 is offline
Send a message via Skype™ to datka888
vato loco [GE-S]
Veteran Member
Join Date: Oct 2006
Location: Germany
Old 10-29-2011 , 07:33   Re: Show Admins Online
Reply With Quote #73

np you'r welcome !
__________________
vato loco [GE-S] is offline
ASHISHLAKWANI
Junior Member
Join Date: Dec 2011
Old 04-18-2012 , 14:47   Re: Show Admins Online
Reply With Quote #74

Just can anyone edit it for me ?
I need to change text from "Admins Online" to "RR-TeAm==> Admins"
Please brother

Also tried to edit scripting file but it dint worked

Waiting for you honorable reply

Regards
Ashish Lakwani (Condition Zero)
ASHISHLAKWANI is offline
MIKEE
Member
Join Date: Aug 2012
Location: CA san diego
Old 08-31-2012 , 04:49   Re: Show Admins Online
Reply With Quote #75

man do you know your plugin dosn't make sense do you know why because i don't know where to upload this files in my server the amx file i know where is go into plugins but your file is amxx where this go and the SMA file where in the hell go LOL man.
MIKEE is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 08-31-2012 , 07:02   Re: Show Admins Online
Reply With Quote #76

Quote:
Originally Posted by MIKEE View Post
man do you know your plugin dosn't make sense do you know why because i don't know where to upload this files in my server the amx file i know where is go into plugins but your file is amxx where this go and the SMA file where in the hell go LOL man.
lol wut? The .amxx file goes into amxmodx/plugins folder then open amxmodx/configs/plugins.ini and write it's name there on the list "blabla.amxx" and you're done.
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
Patryk44
Junior Member
Join Date: Aug 2010
Old 06-10-2013 , 14:31   Re: Show Admins Online
Reply With Quote #77

Works on ZP 5.0.8
Patryk44 is offline
Turbo19973
Junior Member
Join Date: Jul 2012
Location: Romania
Old 06-26-2013 , 18:37   Re: Show Admins Online
Reply With Quote #78

vato loco [GE-S]


how add a big hud or maximize this ?
__________________
ZOMBIE PLAGUE ADVANCE [NEW CLASS + NEW ITEMS]

Turbo19973 is offline
Send a message via Yahoo to Turbo19973 Send a message via Skype™ to Turbo19973
alecsoviki
Junior Member
Join Date: May 2012
Location: Germany
Old 07-02-2013 , 15:15   Re: Show Admins Online
Reply With Quote #79

Hey guys. Exist plugin like that for VIPs Online?
alecsoviki is offline
ANTICHRISTUS
kingdom of weird stuff
Join Date: Jun 2010
Location: My kingdom is not in thi
Old 07-02-2013 , 16:03   Re: Show Admins Online
Reply With Quote #80

  • if you only need to use it for v¡ps, then edit text and admin (v¡p) flags in this .sma
  • if you need both of them to be showed in different locations, then you need to edit the code, also the hud position. not hard for someone knowing pawn.
__________________
ANTICHRISTUS 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 18:40.


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