Raised This Month: $ Target: $400
 0% 

Emit sound with exclusion


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
PRoSToTeM@
Veteran Member
Join Date: Jan 2010
Location: Russia, Ivanovo
Old 06-22-2017 , 15:10   Re: Emit sound with exclusion
Reply With Quote #1

Quote:
Originally Posted by CrazY. View Post
No,

Code:
public fw_EmitSound(id, channel, const sample[], Float:volume, Float:attn, flags, pitch)

First parameter is the player ID or any entity ID.
First parameter is the source of the sound, not the destination.
__________________
PRoSToTeM@ is offline
Send a message via ICQ to PRoSToTeM@ Send a message via Skype™ to PRoSToTeM@
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 06-22-2017 , 15:50   Re: Emit sound with exclusion
Reply With Quote #2

Quote:
Originally Posted by PRoSToTeM@ View Post
First parameter is the source of the sound, not the destination.
Mmm, my mistake.
__________________









Last edited by CrazY.; 06-22-2017 at 15:50.
CrazY. is offline
Reply



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 22:45.


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