Raised This Month: $ Target: $400
 0% 

Add VIP Tag to terrorist.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
DataCore
Junior Member
Join Date: Jun 2014
Old 08-04-2014 , 16:18   Add VIP Tag to terrorist.
Reply With Quote #1

Hello!

I have vipmenu, and there adds VIP tag to CT http://prntscr.com/49jwhy, but how can i add it to terrorists to if user is VIP.

PHP Code:
const VipFlags ADMIN_LEVEL_H;

enum {
    
SCOREATTRIB_ARG_PLAYERID 1,
    
SCOREATTRIB_ARG_FLAGS
};

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

public 
MessageScoreAttribiMsgId iDest iReceiver ) {
    new 
iPlayer get_msg_arg_intSCOREATTRIB_ARG_PLAYERID );
    
    if( 
is_user_aliveiPlayer ) && get_user_flagsiPlayer ) & VipFlags && cs_get_user_teamiPlayer ) == CS_TEAM_CT )
        
set_msg_arg_intSCOREATTRIB_ARG_FLAGS ARG_BYTE SCOREATTRIB_FLAG_VIP );


Last edited by DataCore; 08-04-2014 at 16:50.
DataCore is offline
 


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 12:52.


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