Raised This Month: $ Target: $400
 0% 

who hears the sound


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
anakonda001
Member
Join Date: Jul 2020
Old 08-22-2020 , 07:52   who hears the sound
Reply With Quote #1

guys how to make the sound heard only by the player himself

Code:
if(++g_Frags[iAttacker] == NEADED_FRAGS)
	{
		ChatColor(iAttacker, "%s !yYou have entered the necessary frags", PREFIX);
                emit_sound(id, CHAN_AUTO, FRAG_SOUNDS[1], VOL_NORM, ATTN_NORM, 0, PITCH_NORM);
	}
}
the error here emit_sound(id,

when I put "0" it works, but "id" does not

Last edited by anakonda001; 08-22-2020 at 07:58.
anakonda001 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 13:48.


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