AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How to hide this text? (https://forums.alliedmods.net/showthread.php?t=174105)

kiki33hun 12-15-2011 14:38

How to hide this text?
 
How to hide this text?

http://deathrun.esports-cs.hu/img/hidetext.jpg

ConnorMcLeod 12-15-2011 14:39

Re: How to hide this text?
 
mp_playerid 2 (or 1, not sure).

kiki33hun 12-15-2011 14:40

Re: How to hide this text?
 
Scripting change, requie my plugin!

Xellath 12-15-2011 14:50

Re: How to hide this text?
 
Block or change StatusText.

kiki33hun 12-15-2011 14:53

Re: How to hide this text?
 
Please help :S

fysiks 12-15-2011 14:56

Re: How to hide this text?
 
Isn't that CSO? (because of the score thing at the top)

Quote:

Originally Posted by kiki33hun (Post 1613716)
Please help :S

They are helping but you are not taking the advice. Also, this forum is for people who want to write the plugin themselves.

Xellath 12-15-2011 14:56

Re: How to hide this text?
 
Quote:

Originally Posted by kiki33hun (Post 1613716)
Please help :S

Quote:

Originally Posted by Xellath (Post 1613712)
Block or change StatusText.

This is the Scripting Help board. I told you what you could do in order to achieve your goal; if you can't use the information I provided for you - post a request instead (in the Request section).

kiki33hun 12-15-2011 14:59

Re: How to hide this text?
 
PHP Code:

#include <amxmodx>

new g_blockstatus[33// set to true for someone

public plugin_init()
{
    
register_plugin("Status""Value""Sucks")
    
register_message(get_user_msgid("StatusValue"), "message_statusvalue")
}

public 
message_statusvalue()
{
    if (
get_msg_arg_int(1) == && g_blockstatus[get_msg_arg_int(2)])
    {
        
// Pretend the previous message never arrived
        
set_msg_arg_int(1get_msg_argtype(1), 1)
        
set_msg_arg_int(2get_msg_argtype(2), 0)
    }


Its working?

joshknifer 12-15-2011 15:01

Re: How to hide this text?
 
Looks like CSO...

ConnorMcLeod 12-16-2011 01:35

Re: How to hide this text?
 
Quote:

mp_playerid


serverToggles what information players see in the status bar
0 everyone: players see all names listed in the status bar (with appropriate
team colors)
1 team only: players only see names for their teammates and hostages in the
status bar
2 off: players do not see any names in the status bar (hostages included)
Just put mp_playerid 2 in server.cfg and don't install useless plugin !!!!


All times are GMT -4. The time now is 19:42.

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