v10networkscom / saltychat-fivem

FiveM implementation of Salty Chat (TeamSpeak 3 based Voice Plugin)
https://gaming.v10networks.com
GNU General Public License v3.0
70 stars 64 forks source link

Removed possiblity to talk on the radio underwater #56

Closed leonkappes closed 3 years ago

leonkappes commented 3 years ago

Has the same intention as #48 but fixes the issue with not stopping the communication on entering the water.

leonkappes commented 3 years ago

Ok, I have no clue about b). Where in the OnStateUpdateTick would I check if I can receive/send radio traffic? And what cached bool do you mean in c)? If I understand you correctly you want to add a check here so you can drop sending radio?

I will test the IsSwimming-Value but it will probably return true as soon as one enters a body of water.

BlackFlash5 commented 3 years ago

Implemented with 359d22dc11d101e10d437a29e864ba345b6830f9