Thread: [Solved] Hud message
View Single Post
MrPickles
Senior Member
Join Date: Aug 2022
Location: Colombia
Old 08-07-2023 , 21:14   Re: Hud message
Reply With Quote #3

Quote:
Originally Posted by thEsp View Post
If the messages are strictly from your plugin, you can easily do so by writing a wrapper-logger function. If not, you'll have to mess with the core module. Not a hard thing to do, but certainly silly.

TLDR: yes and no.
PHP Code:
stock AIM_HUDClient )
{
        new 
__ent_Target__int_Body;
        
get_user_aiming(Client__ent_Target__int_Body );     
          
        if(
is_user_alive(__ent_Target))
       {
           new 
__str_Name[16];
           
get_user_nameTarget__str_Namecharsmax(__str_Name) );

           
set_hudmessage2551280, -4.5, -0.7506.010.00.50.5);
           
show_hudmessageClient"[NAME]: %s"__str_Name );
       }

Configurate set_hudmessage by yourself

Last edited by MrPickles; 08-07-2023 at 21:14.
MrPickles is offline