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

Vip tag on score board


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
killerftw
Senior Member
Join Date: Nov 2010
Old 03-12-2011 , 13:25   Vip tag on score board
Reply With Quote #1

Um ,


i need that if someone got the tag Y , it become to him VIP tag in the tab button (scoreboard) ... tag y is ADMIN_ADMIN ..

and i kno u will say search search search .. i did .. and i found 4 .. but the problem that they only appears to CT .. i tried to change it to T like if it was _TEAM_CT i change to T .. it wont work .. and if it was

get_user_team( id ) == 2 )

i change to ==1 ..

but none worked..


so ye.. :S can someone help me. .
killerftw is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 03-12-2011 , 13:35   Re: Vip tag on score board
Reply With Quote #2

Took me 1 minute to find the answer:
http://forums.alliedmods.net/showthr...ight=ViP+score
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
killerftw
Senior Member
Join Date: Nov 2010
Old 03-12-2011 , 13:41   Re: Vip tag on score board
Reply With Quote #3

um.. so you cant put vip in terriorst?

tbh so sad :S well anyone got ideas for vip?

Last edited by killerftw; 03-12-2011 at 13:44.
killerftw is offline
ANTICHRISTUS
kingdom of weird stuff
Join Date: Jun 2010
Location: My kingdom is not in thi
Old 03-12-2011 , 18:46   Re: Vip tag on score board
Reply With Quote #4

there was a picture showing VIPs in the terrorist team, but I can't remember any keyword to search it.
I think I saved that web page, but I can't browse my archives ( more than 700 plugins) without a keyword

it was between the end of january and the beginning of february.


edit: here: https://forums.alliedmods.net/showth...=140436&page=2
__________________

Last edited by ANTICHRISTUS; 03-18-2011 at 07:28.
ANTICHRISTUS is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 03-13-2011 , 08:05   Re: Vip tag on score board
Reply With Quote #5

Try this:

PHP Code:
#include < amxmodx >
#include < amxmisc >

#define ADMIN_FLAG ADMIN_BAN

enum
{
    
SCOREATTRIB_ARG_PLAYERID 1,
    
SCOREATTRIB_ARG_FLAGS
};

enum ( <<= )
{
    
SCOREATTRIB_FLAG_NONE 0,
    
SCOREATTRIB_FLAG_DEAD 1,
    
SCOREATTRIB_FLAG_BOMB,
    
SCOREATTRIB_FLAG_VIP
};

new 
pCvar_AdminVIP;

public 
plugin_init( )
{
    
register_plugin"Admin VIP ScoreBoard""0.0.1""Exolent" );
    
    
register_messageget_user_msgid"ScoreAttrib" ), "MessageScoreAttrib" );
    
    
pCvar_AdminVIP register_cvar"amx_adminvip""1" );
}

public 
MessageScoreAttribiMsgIdiDestiReceiver )
{
    if( 
get_pcvar_numpCvar_AdminVIP ) )
    {
        new 
iPlayer get_msg_arg_intSCOREATTRIB_ARG_PLAYERID );
        
        if( 
accessiPlayerADMIN_FLAG ) )
        {
            
set_msg_arg_intSCOREATTRIB_ARG_FLAGSARG_BYTESCOREATTRIB_FLAG_VIP );
        }
    }

bibu is offline
vL.
Senior Member
Join Date: Aug 2009
Location: Estonia
Old 03-13-2011 , 09:22   Re: Vip tag on score board
Reply With Quote #6

Its not possible for Terrorists to see who is vip, but its possible to be on Terrorist team and have VIP in scoreboard, thought only CT players will see them.
vL. is offline
killerftw
Senior Member
Join Date: Nov 2010
Old 03-13-2011 , 09:37   Re: Vip tag on score board
Reply With Quote #7

Quote:
Originally Posted by bibu View Post
Try this:

PHP Code:
#include < amxmodx >
#include < amxmisc >

#define ADMIN_FLAG ADMIN_BAN

enum
{
    
SCOREATTRIB_ARG_PLAYERID 1,
    
SCOREATTRIB_ARG_FLAGS
};

enum ( <<= )
{
    
SCOREATTRIB_FLAG_NONE 0,
    
SCOREATTRIB_FLAG_DEAD 1,
    
SCOREATTRIB_FLAG_BOMB,
    
SCOREATTRIB_FLAG_VIP
};

new 
pCvar_AdminVIP;

public 
plugin_init( )
{
    
register_plugin"Admin VIP ScoreBoard""0.0.1""Exolent" );
    
    
register_messageget_user_msgid"ScoreAttrib" ), "MessageScoreAttrib" );
    
    
pCvar_AdminVIP register_cvar"amx_adminvip""1" );
}

public 
MessageScoreAttribiMsgIdiDestiReceiver )
{
    if( 
get_pcvar_numpCvar_AdminVIP ) )
    {
        new 
iPlayer get_msg_arg_intSCOREATTRIB_ARG_PLAYERID );
        
        if( 
accessiPlayerADMIN_FLAG ) )
        {
            
set_msg_arg_intSCOREATTRIB_ARG_FLAGSARG_BYTESCOREATTRIB_FLAG_VIP );
        }
    }

i tried it before.. and it didn't show vip :S
killerftw is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 03-13-2011 , 14:42   Re: Vip tag on score board
Reply With Quote #8

Try this then:

PHP Code:
#include <amxmodx>

#define PLUGIN    "Admin - VIP Status"
#define VERSION    "1.0"
#define AUTHOR    "xPaw"

public plugin_init()
{
    
register_pluginPLUGINVERSIONAUTHOR );
    
    
register_messageget_user_msgid"ScoreAttrib" ),    "msgScoreAttrib" );
}

public 
msgScoreAttrib( const MsgId, const MsgType, const MsgDest )
{
    static 
id;
    
id get_msg_arg_int);
    
    if( ( 
get_user_flagsid ) & ADMIN_ADMIN ) && !get_msg_arg_int))
        
set_msg_arg_int2ARG_BYTE, ( << ) );

bibu is offline
killerftw
Senior Member
Join Date: Nov 2010
Old 03-13-2011 , 14:50   Re: Vip tag on score board
Reply With Quote #9

tried before.. :S

VIP wont appear at terriorst
killerftw is offline
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 03-13-2011 , 14:58   Re: Vip tag on score board
Reply With Quote #10

Who told you it works for terrorists?
__________________
hleV is offline
Reply


Thread Tools
Display Modes

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 05:22.


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