Sound Range - EmitSound
I'm a new bie with amxx
Please help me clear this problem I try to play a sound to victim and some player near him When i use PHP Code:
1. Index: is victim index or 0 ? If is 0 that mean everybody can hear the sound so what about Float:att param? How should i use this funtion correctly to play sound to victim and a range near him! Thanks ! |
Re: Sound Range - EmitSound
Passing 0 would mean the sound will be played from all players. It's not what you want.
You want a sound played on victim and the others near victim. So you need to pass victim's index. |
Re: Sound Range - EmitSound
Thanks Arkshine! But i found my resolution!
BTW i don't want to make a new topic so i will post my next problem here - hope you show me I./ I make a test speed - change speed to 9999 ro run faster plugin init() PHP Code:
PHP Code:
cl_forwardspeed : 9999 cl_backspeed: 9999 cl_sidespeed:9999 sv_maxspeed:9999 But nothing happen - i still run with normal speed ? What is my problem? :shock: Show me II./ I use PHP Code:
It worked but i've got problem when weapon shoot. If I shoot 5 bullet, sometime just 3 bullet fly out (2 bullet seem doesn't work) Thanks! |
Re: Sound Range - EmitSound
Quote:
One problem = one thread. |
Re: Sound Range - EmitSound
Quote:
|
| All times are GMT -4. The time now is 06:29. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.