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 , 08:28   Re: Adding Director Hud Message
Reply With Quote #6

Quote:
Originally Posted by leonardo121 View Post
Which Function? show the full code
Code:
Publiczne hs ()
{
	Nowy hsmode [4] 
	Get_pcvar_string (hs_mode, hsmode, 4) 
	Nowy hsmode_bit = read_flags (hsmode)

	If (hsmode_bit & 1)
	{
	Nowy killer_id = read_data (1)
	Nowy victim_id = read_data (2)
	Nowa nazwa_induktu [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", nazwa_użytkownika)
	}

	If (hsmode_bit & 2)
	{
		Dla (nowe i = 1; i <= get_maxplayers (), i ++) 
			Jeśli (is_user_connected (i) == 1)
				Client_cmd (i "spk misc / headshot")
	}
}

Last edited by Papuszek; 07-28-2017 at 08:29.
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