Thread: ...
View Single Post
Shadows Adi
AlliedModders Donor
Join Date: Aug 2019
Location: Romania
Old 12-27-2021 , 15:48   Re: Block DhudMessage
Reply With Quote #4

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

__________________


Accepting Paid Requests, contact PM.

MVP Of The Round View project on GITHUB / AlliedModders
CSGO REMAKE ~ CSGO MOD [STABLE + SOURCE CODE]

Last edited by Shadows Adi; 12-27-2021 at 15:49.
Shadows Adi is offline