Thread: Spray bug fix
View Single Post
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-01-2012 , 17:22   Re: Spray sound bug fix
Reply With Quote #5

Quote:
Originally Posted by Simo123 View Post
I can't find any other way, client_cmd is just like you would write it in your console, I wouldn't say it would harm anyone, and no it didn't work with emitsound, I don't know any other way since I don't know what is causing it, if it's entities or what it is.

Also sound is working properly, you can hear it and others can do so, imo it's good as it is. Ofc if anyone is coming up with a better idea which may work, feel free to post it here then.
But all players hear it, whatever the place they are on the map lol.

Well, from your event you could retrieve player index using read_data(2) and then emit sound from that player (no index is passed to the event, so id you use is equal to 0).
This won't fix the wrong pdata though.
edit : misread, i thought about another bug.
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 03-01-2012 at 17:35.
ConnorMcLeod is offline