Open ConnorMcLeod opened 11 years ago
Maybe both methods with preference on second.
For example:
voice mask to player A voice flag to player A from B
then: player A uses mask for all players except from player B
another native to clear settings will be useful
Should we use groupinfo way like in semiclip? Did it work with voice? If we use it in same way we can avoid to add a lot more code.
Rather than having to hook FM_SetClientListening, or more usefull then engine natives : native that allow to set if playerA can hear playerB, that's all and can allow all settings.
2 ways : set_user__(index, playersMask) or set_user__(index, playerB, true/false)
Both methods have cons, mask need to retrieve value first, second one need to call few times the native for some specific stuff. I think second way is better.