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 13:46

...
 
...

JohnyS 12-26-2021 10:42

Re: Block DhudMessage
 
be sure to have mp_friendlyfire 0

Cristian505 12-27-2021 14:59

Re: Block DhudMessage
 
...

Shadows Adi 12-27-2021 15: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 16: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 09:58.

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