Raised This Month: $ Target: $400
 0% 

Emit_sound for only one player?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Alucard^
AMXX Moderator: Others
Join Date: Sep 2007
Location: Street
Old 06-20-2010 , 17:14   Re: Emit_sound for only one player?
Reply With Quote #1

PHP Code:
emit_sound indexchannelsample[], Float:volFloat:att,flagspitch 
Just using the index of that player? I never used this native but... i think this is the correct way ><
__________________
Approved Plugins - Steam Profile

Public non-terminated projects:
All Admins Menu, HLTV parameters, Subnick,
Second Password (cool style), InfoZone,
Binary C4 plant/defuse, and more...

Private projects:
NoSpec (+menu), NV Surf Management,
PM Adanved System, KZ longjump2, and more...
Alucard^ is offline
Send a message via Skype™ to Alucard^
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 06-20-2010 , 17:19   Re: Emit_sound for only one player?
Reply With Quote #2

http://www.mail-archive.com/hlcoders.../msg03222.html

I remember i had test without any success with emit_sound, you can try with EmitAmbientSound though.
Or PM_PlaySound since you seems to want that for a plugin using orpheu.
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 06-20-2010 at 17:21.
ConnorMcLeod is offline
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 06-20-2010 , 17:44   Re: Emit_sound for only one player?
Reply With Quote #3

Quote:
Originally Posted by Alucard^ View Post
PHP Code:
emit_sound indexchannelsample[], Float:volFloat:att,flagspitch 
Just using the index of that player? I never used this native but... i think this is the correct way ><
No no no. Index is the entity that is emitting the sound.

Quote:
Originally Posted by ConnorMcLeod View Post
http://www.mail-archive.com/hlcoders.../msg03222.html

I remember i had test without any success with emit_sound, you can try with EmitAmbientSound though.
Or PM_PlaySound since you seems to want that for a plugin using orpheu.
Will try this! Thanks a lot!

Edit: Tried it. No luck.
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.

Last edited by ot_207; 06-20-2010 at 18:04.
ot_207 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 14:48.


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