Raised This Month: $ Target: $400
 0% 

Vip Scoreboard Question


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 02-16-2013 , 14:05   Vip Scoreboard Question
Reply With Quote #1

Hi
Is possible to vip player have VIP in scoreboard if is terrorist in a mod that bomb doesnt exist?
If yes, please tell me how
__________________
Jhob94 is offline
Unkolix
Veteran Member
Join Date: Sep 2012
Old 02-16-2013 , 14:14   Re: Vip Scoreboard Question
Reply With Quote #2

No. VIP in scoreboard is available only for Counter-Terrorist team.
Unkolix is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 02-16-2013 , 14:32   Re: Vip Scoreboard Question
Reply With Quote #3

Yes i read somethings about it but of what i read Terro cant have because of bomb, and my question is possible if there isnt bomb on game mod
__________________
Jhob94 is offline
Backstabnoob
BANNED
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 02-16-2013 , 15:41   Re: Vip Scoreboard Question
Reply With Quote #4

I guess it is, I've seen the VIP flag on terrorist team quite a lot of times. Why not try it?
Backstabnoob is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 02-16-2013 , 16:55   Re: Vip Scoreboard Question
Reply With Quote #5

i tested with this:
Code:
#include < amxmodx > 
#include < amxmisc > 

#define ADMIN_VIP ADMIN_LEVEL_H

enum {
    SCOREATTRIB_ARG_PLAYERID = 1,
    SCOREATTRIB_ARG_FLAGS 
}; 

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

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

public MessageScoreAttrib( iMsgId, iDest, iReceiver ) 
{     
    new iPlayer = get_msg_arg_int( SCOREATTRIB_ARG_PLAYERID );                 

    if( access( iPlayer, ADMIN_VIP ) ) 
    {
        set_msg_arg_int( SCOREATTRIB_ARG_FLAGS, ARG_BYTE, SCOREATTRIB_FLAG_VIP );          
    } 
}
Didnt worked for Terrorists xD
But no problem i gonna do quick edit on show admins online for VIPs
__________________
Jhob94 is offline
EDUTz
Senior Member
Join Date: Jun 2010
Location: Dracula's Homeland
Old 02-16-2013 , 19:04   Re: Vip Scoreboard Question
Reply With Quote #6

it works for Ts, but you must be CT or SPEC to see it, T's can't see the VIP status.

I found this on my computer, maybe you can use it:

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

new g_szVIPMap 

public plugin_init() 
{ 
    register_plugin("Admins are VIP's", "1.0", "PHP++") 
    register_event("ResetHUD", "ResetHUD", "be") 
     
    new szMapName[32] 
    get_mapname(szMapName, 31) 
     
    if (containi(szMapName, "as_") > -1) 
        g_szVIPMap = 1 
} 

public ResetHUD(id) 
{ 
    set_task(0.5, "VIP", id + 6910) 
} 

public VIP(TaskID) 
{ 
    if (g_szVIPMap) 
        return PLUGIN_HANDLED 
         
    new id = TaskID - 6910 
     
    if (get_user_flags(id) & ADMIN_LEVEL_C)
    { 
        message_begin(MSG_ALL, get_user_msgid("ScoreAttrib")) 
        write_byte(id) 
        write_byte(4) 
        message_end() 
    } 
     
    return PLUGIN_HANDLED 
}

Last edited by EDUTz; 02-16-2013 at 19:04.
EDUTz is offline
ANTICHRISTUS
kingdom of weird stuff
Join Date: Jun 2010
Location: My kingdom is not in thi
Old 02-16-2013 , 19:10   Re: Vip Scoreboard Question
Reply With Quote #7

  • search in my posts, I answered this question since some days ago.
  • all the players may get the v¡p flag, but only CTs can see it, as only Terrors can see the bomb tag.
__________________
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 21:45.


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