Raised This Month: $ Target: $400
 0% 

[HELP] VIP in ScoreBoard


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
reinert
Veteran Member
Join Date: Feb 2007
Old 02-05-2010 , 08:05   [HELP] VIP in ScoreBoard
Reply With Quote #1

Hello, could someone make this code, to write in Scoreboard VIP, when player is ADMIN_LEVEL_H or ADMIN_RESERVATION. i got code but it only show's CT VIP'S not T's.

here it is:

PHP Code:
#include < amxmodx >

#define ADMIN_VIP ADMIN_RESERVATION

#define SCOREATTRIB_NONE    0
#define SCOREATTRIB_DEAD    ( 1 << 0 )
#define SCOREATTRIB_BOMB    ( 1 << 1 )
#define SCOREATTRIB_VIP  ( 1 << 2 )

public plugin_init( ) {
    
register_plugin"VIP Admin""0.0.1""Exolent" );
    
    
register_messageget_user_msgid"ScoreAttrib" ), "MessageScoreAttrib" );
}

public 
MessageScoreAttribiMsgIDiDestiReceiver ) {
    new 
iPlayer get_msg_arg_int);
    if( 
is_user_connectediPlayer )
    && ( 
get_user_flagsiPlayer ) & ADMIN_VIP ) ) {
         
set_msg_arg_int2ARG_BYTEis_user_aliveiPlayer ) ? SCOREATTRIB_VIP SCOREATTRIB_DEAD );
    }





reinert is offline
 



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 07:21.


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