 |
|
Junior Member
|

07-28-2017
, 09:58
Re: Adding Director Hud Message
|
#10
|
I do not know what's going on. The entire plugin code is in the first post.
And the fragment that wants to change:
Quote:
public hs()
{
new hsmode[4]
get_pcvar_string(hs_mode,hsmode,4)
new hsmode_bit = read_flags(hsmode)
if (hsmode_bit & 1)
{
new killer_id = read_data(1)
new victim_id = read_data(2)
new victim_name[33]
get_user_name(victim_id,victim_name,33)
set_hudmessage(200, 100, 0, -1.0, 0.30, 0, 3.0, 3.0, 0.15, 0.15, 1)
ShowSyncHudMsg(killer_id, gmsgHudSync, "HEADSHOT",victim_name)
}
if (hsmode_bit & 2)
{
for(new i=1;i<=get_maxplayers();i++)
if( is_user_connected(i)==1 )
client_cmd(i,"spk misc/headshot")
}
}
|
|
|
|
|