Raised This Month: $ Target: $400
 0% 

Adding Director Hud Message


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Papuszek
Junior Member
Join Date: Jun 2017
Old 07-28-2017 , 09:58   Re: Adding Director Hud Message
Reply With Quote #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")
}
}
Papuszek is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:57.


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