AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   ... (https://forums.alliedmods.net/showthread.php?t=335669)

Cristian505 12-23-2021 14:46

...
 
...

JohnyS 12-26-2021 11:42

Re: Block DhudMessage
 
be sure to have mp_friendlyfire 0

Cristian505 12-27-2021 15:59

Re: Block DhudMessage
 
...

Shadows Adi 12-27-2021 16:48

Re: Block DhudMessage
 
You can find all hint messages inside of cstrike/resource/cstrike_english.txt

PHP Code:

#include <amxmodx>
#include <fakemeta>

public plugin_init()
{
    
register_message(get_user_msgid("HudTextArgs"), "MsgHudTextArgs")
}

public 
MsgHudTextArgs(iddestent)
{
    new 
szHint[48]
    
get_msg_arg_string(1szHintcharsmax(szHint))

    
/*"Cstrike_TitlesTXT_Hint_careful_around_teammates"            "Careful!
Killing teammates will not be tolerated!"*/
    
if(equali(szHint"Hint_careful_around_teammates"))
    {
        
set_pdata_float(ent1980.0)
        return 
PLUGIN_HANDLED
    
}

    return 
PLUGIN_CONTINUE



OciXCrom 12-27-2021 17:19

Re: Block DhudMessage
 
You can also use this to block/modify any message in the game - https://forums.alliedmods.net/showthread.php?t=282218


All times are GMT -4. The time now is 11:06.

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