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

Invisible Admin


Post New Thread Reply   
 
Thread Tools Display Modes
eclipsa
Junior Member
Join Date: May 2007
Old 05-18-2007 , 19:08   Re: Invisible Admin
Reply With Quote #11

Quote:
Originally Posted by rule22 View Post
or go to server.cfg and change allow_spec 1 then any one can join spec
why did u post this ?

Quote:
Originally Posted by YamiKaitou View Post
try reconnecting and joining spec instead of a team. That way they might think that you are still connecting
i don`t want them to think i`m still connecting, that could make them disable the cheats too, i want them to not see me at all
eclipsa is offline
vvg125
AMX Mod X Beta Tester
Join Date: Dec 2006
Location: Queens (Douglaston), New
Old 05-18-2007 , 19:12   Re: Invisible Admin
Reply With Quote #12

Quote:
Originally Posted by rule22 View Post
ok u are prop half retarted because i just told u how to fix and two get a better server and three get a better pc 60 FPS LOL
You're the retard... You don't even understand what his problem is.
__________________
vvg125 is offline
Send a message via AIM to vvg125 Send a message via MSN to vvg125 Send a message via Yahoo to vvg125
eclipsa
Junior Member
Join Date: May 2007
Old 05-18-2007 , 19:13   Re: Invisible Admin
Reply With Quote #13

Quote:
Originally Posted by rule22 View Post
ok u are prop half retarted because i just told u how to fix and two get a better server and three get a better pc 60 FPS LOL
wtf has to do my pc whit this thread ? u stupid ? read my request until u got it
eclipsa is offline
eclipsa
Junior Member
Join Date: May 2007
Old 05-18-2007 , 19:15   Re: Invisible Admin
Reply With Quote #14

finally someone got it GG vvg +KARMA
eclipsa is offline
vvg125
AMX Mod X Beta Tester
Join Date: Dec 2006
Location: Queens (Douglaston), New
Old 05-18-2007 , 19:29   Re: Invisible Admin
Reply With Quote #15

Well... answering your question... I'm pretty sure there is no way to hide yourself from the scoreboard. However I've used a MetaMod plugin that allow you to spectate people while your alive/dead without having to join the spectator team.
__________________
vvg125 is offline
Send a message via AIM to vvg125 Send a message via MSN to vvg125 Send a message via Yahoo to vvg125
eclipsa
Junior Member
Join Date: May 2007
Old 05-18-2007 , 19:33   Re: Invisible Admin
Reply With Quote #16

or if it`s not possible something to change the color of the admins name in score tab to transparent, so it could get unnoticed
eclipsa is offline
vvg125
AMX Mod X Beta Tester
Join Date: Dec 2006
Location: Queens (Douglaston), New
Old 05-18-2007 , 23:01   Re: Invisible Admin
Reply With Quote #17

Still not possible. The scoreboard is built into the game.
__________________
vvg125 is offline
Send a message via AIM to vvg125 Send a message via MSN to vvg125 Send a message via Yahoo to vvg125
cccpsmiley
Senior Member
Join Date: Mar 2006
Location: Los Angeles, CA
Old 05-19-2007 , 03:50   Re: Invisible Admin
Reply With Quote #18

im not a coder for shit but theres this by d-0 from dodplugins.net

Code:
//////////////////////////////////////////////////////////////////////////////////
//
//    DoD Join/Quit/Switch Messages +more
//        - Version 1.8
//        - 09.02.2006
//        - diamond-optic
//
//////////////////////////////////////////////////////////////////////////////////
//
// Information:
//
// - Replaces join & quit messages, team switch msgs, and name change msgs
// - Will also hide bot & admin messages
// - Bots & admins can have their own new messages
// - Set custom roundstart messages for each team
//
// - ** Requires AMXX 1.75 or higher **
//
// CVARs:
//
//    dod_jqs_msgs "1"       //"0" = use defualt messages
//                   //"1" = use new messages
//                   //"2" = hide messages
//
//    dod_jqs_bots "2"       //"0" = no difference between bots & normal clients
//                  //"1" = bots use their own new messages
//                   //"2" = hide bot messages
//
//    dod_jqs_admins "2"    //"0" = no difference between admins & normal clients
//                   //"1" = admins use their own new messages
//                   //"2" = hide admin messages
//
//    dod_jqs_join "1"       //"0" = defualt join message
//                   //"1" = new join message
//                   //"2" = hide join message

//    dod_jqs_quit "1"      //"0" = defualt quit message
//                   //"1" = new quit message
//                   //"2" = hide quit message
//
//    dod_jqs_teams "1"      //"0" = defualt join team messages
//                   //"1" = new join team messages
//                   //"2" = hide join team messages
//
//    dod_jqs_spec "1"       //"0" = defualt join spec message
//                   //"1" = new join spec message
//                   //"2" = hide join spec message
//
//    dod_jqs_name "1"       //"0" = defualt name change message
//                   //"1" = new name change message
//                   //"2" = hide name change message
//
//    dod_jqs_start_allies "1"       //"0" = defualt allies roundstart messages
//                       //"1" = new allies roundstart messages
//                       //"2" = hide allies roundstart messages
//
//    dod_jqs_start_brits "1"       //"0" = defualt british roundstart messages
//                       //"1" = new british roundstart messages
//                       //"2" = hide british roundstart messages
//
//    dod_jqs_start_axis "1"       //"0" = defualt axis roundstart messages
//                       //"1" = new axis roundstart messages
//                       //"2" = hide axis roundstart messages
//
// Extra:
//
//    Change the "#define JQS_ADMIN_LEVEL ADMIN_IMMUNITY" line
//    to change the level used by dod_jqs_admins
//
//      Place the 'dod_joinquitswitch_msgs.txt' file in your
//      amxmodx/data/lang/ directory. This is the file you
//      need to edit to use your own messages...  
//
//    To hide the team switch death messages use the DoD Team Manager
//    and enable the 'soft kill' feature
//
// Changelog:
//
// - 05.13.2006 Version 1.0
//    Initial Release
//
// - 05.26.2006 Version 1.1
//    Fixed error where it was blocking all msgs
//      Renamed to DoD Join/Quit/Switch Messages
//      Added msgs for joining DoD Teams
//      Immunity to block joining spec msg for admins
//
// - 05.27.2006 Version 1.2
//    Added CVARs to set each new msg
//
// - 06.01.2006 Version 1.3
//    Added CVARs to turn on/off each new message
//
// - 06.05.2006 Version 1.4
//    Added seperate control over bots
//    Reworked the whole admin/immunity stuff
//      Condensed allies/axis/british cvars into one 'teams' cvar
//    Expanded the message control (defualt/new/hide)
//    Moved all new messages into a language file (byebye on the fly editing)
//    Removed <engine> (no idea why it was included lol..)
//
// - 06.11.2006 Version 1.4b
//    Fixed my stupidity of using amxx CVS includes...
//
// - 06.16.2006 Version 1.5
//    Added new msgs/hiding of name changes
//
// - 07.01.2006 Version 1.6
//    Fixed a few problems with msg blocks
//    Added msgs for roundstart text
//    Removed ENGINE module (requires amxx 1.75+)
//
// - 08.14.2006 Version 1.7
//    Fixed mistake in language file
//    Fixed problem with name changes not showing up
//    Changed some return values
//
// - 09.02.2006 Version 1.8
//    Changed LANG_SERVER to LANG_PLAYER
//
//////////////////////////////////////////////////////////////////////////////////

#include <amxmodx>
#include <amxmisc>
#include <dodx>

//////////////////////////////////////////////////////////////////////////////////
#define JQS_ADMIN_LEVEL ADMIN_IMMUNITY    //admin level used by dod_jqs_admins
//////////////////////////////////////////////////////////////////////////////////

new p_dod_jqs_msgs, p_bots, p_admins, p_join, p_quit, p_teams, p_spec, p_name, p_start_allies, p_start_axis, p_start_brits

public plugin_init() {
    register_plugin("DoD Join/Quit/Switch Msgs", "1.8", "AMXX DoD Team")
   
    register_dictionary("dod_joinquitswitch_msgs.txt")
   
    p_dod_jqs_msgs = register_cvar("dod_jqs_msgs", "1")
    p_admins = register_cvar("dod_jqs_admins", "1")
    p_bots = register_cvar("dod_jqs_bots", "2")
    p_join = register_cvar("dod_jqs_join", "1")
    p_quit = register_cvar("dod_jqs_quit", "1")
    p_teams = register_cvar("dod_jqs_teams", "1")
    p_spec = register_cvar("dod_jqs_spec", "1")
    p_name = register_cvar("dod_jqs_name", "1")
    p_start_allies = register_cvar("dod_jqs_start_allies", "1")
    p_start_brits = register_cvar("dod_jqs_start_brits", "1")
    p_start_axis = register_cvar("dod_jqs_start_axis", "1")
   
    register_message(get_user_msgid("TextMsg"), "block_message")

    register_event("TextMsg","join_axis","a","1=3","2=#game_joined_team","4=Axis")        //joined axis
    register_event("TextMsg","join_allies","a","1=3","2=#game_joined_team","4=Allies")    //joined allies
    register_event("TextMsg","join_spec","a","1=3","2=#game_joined_team","4=Spectators")    //joined spec
    register_event("TextMsg","change_name","a","1=3","2=#game_changed_name")        //changed name
   
    register_event("TextMsg","roundstart_allies1","bc","1=3","2=#game_roundstart_allie1")
    register_event("TextMsg","roundstart_allies2","bc","1=3","2=#game_roundstart_allie2")
    register_event("TextMsg","roundstart_brits1","bc","1=3","2=#game_roundstart_brit1")
    register_event("TextMsg","roundstart_brits2","bc","1=3","2=#game_roundstart_brit2")
    register_event("TextMsg","roundstart_axis1","bc","1=3","2=#game_roundstart_axis1")
    register_event("TextMsg","roundstart_axis2","bc","1=3","2=#game_roundstart_axis2")
}

public block_message()
{
    if(get_pcvar_num(p_dod_jqs_msgs) == 0 || get_pcvar_num(p_dod_jqs_msgs) > 2)
        return PLUGIN_CONTINUE
   
    if(get_msg_argtype(2) == ARG_STRING)
        {
        new value[64]
        get_msg_arg_string(2, value, 63)
       
        new name[32]
        read_data(3,name,31)
        new id = get_user_index(name)
       
       
        if(get_pcvar_num(p_dod_jqs_msgs) == 2)
            {
            if(equali(value, "#game_joined_game"))
                {
                return PLUGIN_HANDLED
                }
            else if(equali(value, "#game_disconnected"))
                {
                return PLUGIN_HANDLED
                }
            else if(equali(value, "#game_joined_team"))
                {
                return PLUGIN_HANDLED
                }
            else if(equali(value, "#game_changed_name"))
                {
                return PLUGIN_HANDLED
                }
            else if(equali(value, "#game_roundstart_allie1") || equali(value, "#game_roundstart_allie2"))
                {
                return PLUGIN_HANDLED
                }
            else if(equali(value, "#game_roundstart_brits1") || equali(value, "#game_roundstart_brits2"))
                {
                return PLUGIN_HANDLED
                }
            else if(equali(value, "#game_roundstart_axis1") || equali(value, "#game_roundstart_allie2"))
                {
                return PLUGIN_HANDLED
                }
            }
        else if(is_user_bot(id) && (get_pcvar_num(p_bots) == 1 || get_pcvar_num(p_bots) == 2))
            {
            if(equali(value, "#game_joined_game"))
                {
                return PLUGIN_HANDLED
                }
            else if(equali(value, "#game_disconnected"))
                {
                return PLUGIN_HANDLED
                }
            else if(equali(value, "#game_joined_team"))
                {
                return PLUGIN_HANDLED
                }
            else if(equali(value, "#game_changed_name"))
                {
                return PLUGIN_HANDLED
                }
            }
        else if(access(id, JQS_ADMIN_LEVEL) && (get_pcvar_num(p_admins) == 1 || get_pcvar_num(p_admins) == 2))
            {
            if(equali(value, "#game_joined_game"))
                {
                return PLUGIN_HANDLED
                }
            else if(equali(value, "#game_disconnected"))
                {
                return PLUGIN_HANDLED
                }
            else if(equali(value, "#game_joined_team"))
                {
                return PLUGIN_HANDLED
                }
            else if(equali(value, "#game_changed_name"))
                {
                return PLUGIN_HANDLED
                }
            }
        else if(equali(value, "#game_joined_game") && (get_pcvar_num(p_join) == 1 || get_pcvar_num(p_join) == 2))
            {
            return PLUGIN_HANDLED
            }
        else if(equali(value, "#game_disconnected") && (get_pcvar_num(p_quit) == 1 || get_pcvar_num(p_quit) == 2))
            {
            return PLUGIN_HANDLED
            }
        else if(equali(value, "#game_joined_team"))
            {
            new team[16]
            get_msg_arg_string(4, team, 15)
           
            if((get_pcvar_num(p_teams) == 1 || get_pcvar_num(p_teams) == 2) && (equali(team, "Axis") || equali(team, "Allies")))
                {
                return PLUGIN_HANDLED
                }
            else if((get_pcvar_num(p_spec) == 1 || get_pcvar_num(p_spec) == 2) && equali(team, "Spectators"))
                {
                return PLUGIN_HANDLED
                }
            }
        else if(equali(value, "#game_changed_name") && (get_pcvar_num(p_name) == 1 || get_pcvar_num(p_name) == 2))
            {
            return PLUGIN_HANDLED
            }
        else if(equali(value, "#game_roundstart_allie1") || equali(value, "#game_roundstart_allie2") && (get_pcvar_num(p_start_allies) == 1 || get_pcvar_num(p_start_allies) == 2))
            {
            return PLUGIN_HANDLED
            }
        else if(equali(value, "#game_roundstart_brit1") || equali(value, "#game_roundstart_brit2") && (get_pcvar_num(p_start_brits) == 1 || get_pcvar_num(p_start_brits) == 2))
            {
            return PLUGIN_HANDLED
            }
        else if(equali(value, "#game_roundstart_axis1") || equali(value, "#game_roundstart_axis2") && (get_pcvar_num(p_start_axis) == 1 || get_pcvar_num(p_start_axis) == 2))
            {
            return PLUGIN_HANDLED
            }
        }
    return PLUGIN_CONTINUE
} 

public client_putinserver(id)
{ 
    if((get_pcvar_num(p_dod_jqs_msgs) != 1) || (access(id, JQS_ADMIN_LEVEL) && get_pcvar_num(p_admins) == 2) || (is_user_bot(id) && get_pcvar_num(p_bots) == 2))
        return PLUGIN_HANDLED
               
    new putin_name[32]
    get_user_name(id, putin_name, 32)
   
    if(is_user_bot(id) && get_pcvar_num(p_bots) == 1)
        {
        client_print(0, print_chat, "%L", LANG_PLAYER, "BOT_JOIN", putin_name)
        }
    else if(access(id, JQS_ADMIN_LEVEL) && get_pcvar_num(p_admins) == 1)
        {
        client_print(0, print_chat, "%L", LANG_PLAYER, "ADMIN_JOIN", putin_name)
        }
    else if(get_pcvar_num(p_join) == 1)
        {
        client_print(0, print_chat, "%L", LANG_PLAYER, "JOIN_MSG", putin_name)
        }   
    return PLUGIN_CONTINUE
}

public client_disconnect(id)
{
    if((get_pcvar_num(p_dod_jqs_msgs) != 1) || (access(id, JQS_ADMIN_LEVEL) && get_pcvar_num(p_admins) == 2) || (is_user_bot(id) && get_pcvar_num(p_bots) == 2))
        return PLUGIN_HANDLED
       
    new leave_name[32]
    get_user_name(id, leave_name, 32)
   
    if(is_user_bot(id) && get_pcvar_num(p_bots) == 1)
        {
        client_print(0, print_chat, "%L", LANG_PLAYER, "BOT_QUIT", leave_name)
        }
    else if(access(id, JQS_ADMIN_LEVEL) && get_pcvar_num(p_admins) == 1)
        {
        client_print(0, print_chat, "%L", LANG_PLAYER, "ADMIN_QUIT", leave_name)
        }
    else if(get_pcvar_num(p_quit) == 1)
        {   
        client_print(0, print_chat, "%L", LANG_PLAYER, "QUIT_MSG", leave_name)
        }
    return PLUGIN_CONTINUE
}

public join_axis()
{
    if(get_pcvar_num(p_dod_jqs_msgs) != 1)
        return PLUGIN_HANDLED
       
    new axis_name[32]
    read_data(3,axis_name,31)
    new id = get_user_index(axis_name)
   
    if((is_user_bot(id) && get_pcvar_num(p_bots) == 2) || (access(id, JQS_ADMIN_LEVEL) && get_pcvar_num(p_admins) == 2))
        {   
        return PLUGIN_HANDLED
        }
    else if(is_user_bot(id) && get_pcvar_num(p_bots) == 1)
        {
        client_print(0, print_chat, "%L", LANG_PLAYER, "BOT_AXIS", axis_name)
        }
    else if(access(id, JQS_ADMIN_LEVEL) && get_pcvar_num(p_admins) == 1)
        {
        client_print(0, print_chat, "%L", LANG_PLAYER, "ADMIN_AXIS", axis_name)
        }
    else if(get_pcvar_num(p_teams) == 1)
        {   
        client_print(0, print_chat, "%L", LANG_PLAYER, "AXIS_MSG", axis_name)
        }
    return PLUGIN_CONTINUE
}

public join_allies()
{
    if(get_pcvar_num(p_dod_jqs_msgs) != 1)
        return PLUGIN_HANDLED
       
    new allies_name[32]
    read_data(3,allies_name,31)
    new id = get_user_index(allies_name)
   
    if((is_user_bot(id) && get_pcvar_num(p_bots) == 2) || (access(id, JQS_ADMIN_LEVEL) && get_pcvar_num(p_admins) == 2))
        {
        return PLUGIN_HANDLED
        }
    else if (dod_get_map_info(MI_ALLIES_TEAM) == 1)
        {
        if(is_user_bot(id) && get_pcvar_num(p_bots) == 1)
            {
            client_print(0, print_chat, "%L", LANG_PLAYER, "BOT_BRITISH", allies_name)
            }
        else if(access(id, JQS_ADMIN_LEVEL) && get_pcvar_num(p_admins) == 1)
            {
            client_print(0, print_chat, "%L", LANG_PLAYER, "ADMIN_BRITISH", allies_name)
            }
        else if(get_pcvar_num(p_teams) == 1)
            {   
            client_print(0, print_chat, "%L", LANG_PLAYER, "BRITISH_MSG", allies_name)
            }
        }
    else if (dod_get_map_info(MI_ALLIES_TEAM) == 0)
        {
        if(is_user_bot(id) && get_pcvar_num(p_bots) == 1)
            {
            client_print(0, print_chat, "%L", LANG_PLAYER, "BOT_ALLIES", allies_name)
            }
        else if(access(id, JQS_ADMIN_LEVEL) && get_pcvar_num(p_admins) == 1)
            {
            client_print(0, print_chat, "%L", LANG_PLAYER, "ADMIN_ALLIES", allies_name)
            }
        else if(get_pcvar_num(p_teams) == 1)
            {       
            client_print(0, print_chat, "%L", LANG_PLAYER, "ALLIES_MSG", allies_name)
            }
        }       
    return PLUGIN_CONTINUE
}

public join_spec()
{
    if(get_pcvar_num(p_dod_jqs_msgs) != 1)
        return PLUGIN_HANDLED
       
    new spec_name[32]
    read_data(3,spec_name,31)
    new id = get_user_index(spec_name)
   
    if(access(id, JQS_ADMIN_LEVEL) && get_pcvar_num(p_admins) == 2)
        {
        return PLUGIN_HANDLED
        }
    else if(access(id, JQS_ADMIN_LEVEL) && get_pcvar_num(p_admins) == 1)
        {
        client_print(0, print_chat, "%L", LANG_PLAYER, "ADMIN_SPEC", spec_name)
        }
    else if(get_pcvar_num(p_spec) == 1)
        {
        client_print(0, print_chat, "%L", LANG_PLAYER, "SPEC_MSG", spec_name)
        }
    return PLUGIN_CONTINUE
}

public change_name()
{
    if(get_pcvar_num(p_dod_jqs_msgs) != 1 || get_pcvar_num(p_name) != 1)
        return PLUGIN_HANDLED

    new old_name[32], new_name[32]
    read_data(3,old_name,31)
    read_data(4,new_name,31)
    new userID = get_user_index(old_name)

    if(access(userID, JQS_ADMIN_LEVEL) && get_pcvar_num(p_admins) == 2)
        return PLUGIN_HANDLED

    else if(access(userID, JQS_ADMIN_LEVEL) && get_pcvar_num(p_admins) == 1)
        client_print(0, print_chat, "%L", LANG_PLAYER, "ADMIN_NAME", old_name, new_name)

    else if(get_pcvar_num(p_name) == 1)
        client_print(0, print_chat, "%L", LANG_PLAYER, "NAME_MSG", old_name, new_name)

    return PLUGIN_CONTINUE
}

public roundstart_allies1(entity)
{
    if(get_pcvar_num(p_dod_jqs_msgs) != 1 || get_pcvar_num(p_start_allies) != 1 || !is_user_connected(entity) || is_user_bot(entity))
        return PLUGIN_HANDLED

    client_print(entity, print_chat, "%L", LANG_PLAYER, "START_ALLIES1_MSG")

    return PLUGIN_CONTINUE
}

public roundstart_allies2(entity)
{
    if(get_pcvar_num(p_dod_jqs_msgs) != 1 || get_pcvar_num(p_start_allies) != 1 || !is_user_connected(entity) || is_user_bot(entity))
        return PLUGIN_HANDLED
   
    client_print(entity, print_chat, "%L", LANG_PLAYER, "START_ALLIES2_MSG")
   
    return PLUGIN_CONTINUE
}

public roundstart_brits1(entity)
{
    if(get_pcvar_num(p_dod_jqs_msgs) != 1 || get_pcvar_num(p_start_brits) != 1 || !is_user_connected(entity) || is_user_bot(entity))
        return PLUGIN_HANDLED
   
    client_print(entity, print_chat, "%L", LANG_PLAYER, "START_BRITS1_MSG")

    return PLUGIN_CONTINUE
}

public roundstart_brits2(entity)
{
    if(get_pcvar_num(p_dod_jqs_msgs) != 1 || get_pcvar_num(p_start_brits) != 1 || !is_user_connected(entity) || is_user_bot(entity))
        return PLUGIN_HANDLED
   
    client_print(entity, print_chat, "%L", LANG_PLAYER, "START_BRITS2_MSG")
   
    return PLUGIN_CONTINUE
}

public roundstart_axis1(entity)
{
    if(get_pcvar_num(p_dod_jqs_msgs) != 1 || get_pcvar_num(p_start_axis) != 1 || !is_user_connected(entity) || is_user_bot(entity))
        return PLUGIN_HANDLED
   
    client_print(entity, print_chat, "%L", LANG_PLAYER, "START_AXIS1_MSG")

    return PLUGIN_CONTINUE
}

public roundstart_axis2(entity)
{
    if(get_pcvar_num(p_dod_jqs_msgs) != 1 || get_pcvar_num(p_start_axis) != 1 || !is_user_connected(entity) || is_user_bot(entity))
        return PLUGIN_HANDLED
   
    client_print(entity, print_chat, "%L", LANG_PLAYER, "START_AXIS2_MSG")
   
    return PLUGIN_CONTINUE
}
now this modifies messages such as JOINED TEAM< JOINED SPECTATORS...but its for dod...and im sure the code for joining SPEC is workable for CS as well. One of many coders out here can take that specific code and recode this into a cs plugin.

it aint MAKING UR NAME DISAPPEAR...BUT...it aint showing that UR JOINING SPEC if u choose to hide admin messages. so it is i believe useful
cccpsmiley is offline
Send a message via AIM to cccpsmiley
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 11:26.


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