Raised This Month: $ Target: $400
 0% 

[HELP] VIP in ScoreBoard


Post New Thread Reply   
 
Thread Tools Display Modes
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
skillmaker
Member
Join Date: Mar 2009
Old 02-06-2010 , 02:59   Re: [HELP] VIP in ScoreBoard
Reply With Quote #2

This is impossible.
skillmaker is offline
reinert
Veteran Member
Join Date: Feb 2007
Old 02-06-2010 , 06:50   Re: [HELP] VIP in ScoreBoard
Reply With Quote #3

okay, but is it possible to leave my models alone, because with this plugin, all ADMIN's/VIP's are VIP Model. i want default models ;/
reinert is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 02-06-2010 , 07:09   Re: [HELP] VIP in ScoreBoard
Reply With Quote #4

Quote:
Originally Posted by skillmaker View Post
This is impossible.
Who says that?
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
matsi
Thinkosaur
Join Date: Sep 2006
Old 02-06-2010 , 07:25   Re: [HELP] VIP in ScoreBoard
Reply With Quote #5

AFAIK you can't have VIP for terrorists.
matsi is offline
Old 02-06-2010, 14:21
Seta00
This message has been deleted by Seta00.
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 07:21.


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