Restricting player voice
Hello.
I'm trying to get it so that only people within a certain distance of you can hear you. This is the code I have... Code:
public client_PreThink(id) { |
maybe it's possible to use fakemeta module to hook when a player starts speaking... not sure.
but on a 32player server this will execute 900 loops every frame or something, probably not a good idea ;] you could restrict this by finding out who is currently using the mic (somehow) |
You could also try to hook when the icon is being placed on the hud or over someones head.
|
Never thought of that. Any ideas on how to hook the sprite icons?
|
proberbly via 1 of these events:
Quote:
|
EKS: nope, unfortunately mic icon != status icon
I tried: 1) catch event 2) catch client command 3) register voice forwards (fakemeta) No one can catch voice... PS: Its so hard as catching equiping a shield! |
HOLY SHIT!
Way to bump a 1-year-old post.. |
lol.
wots wif the ;'s |
v3x:
I just tryinig to help people who have the same problem of catching voicerecord I'm sure there are some of them I made some researches and just report about results I leave previous post just in hope it would be useful to people who trying to find a way of solve this task Is it restricted to post in "old" topics? Nothing agains u vex. If i was wrong with something, please PM me. Thanks. To man who decrease my karma: please PM me why u do it |
Quote:
|
| All times are GMT -4. The time now is 17:26. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.