Raised This Month: $95 Target: $400
 23% 

Print a message when player starts using +voicerecord


Post New Thread Reply   
 
Thread Tools Display Modes
thEsp
Veteran Member
Join Date: Aug 2017
Old 07-25-2019 , 06:21   Re: Print a message when player starts using +voicerecord
Reply With Quote #11

Then show off what you can do...
__________________
As the days, and the weeks, and the months fly-by, really take time to appreciate the ones you love, before they die...
thEsp is offline
Krtola
Veteran Member
Join Date: Oct 2013
Location: Serbia
Old 07-25-2019 , 08:56   Re: Print a message when player starts using +voicerecord
Reply With Quote #12

Quote:
Originally Posted by thEsp View Post
Then show off what you can do...
Plugin already exist. Look at link from my post #5
__________________
Check my new Zombie Mod (2019)
Look at the video below to see gameplay

https://www.youtube.com/watch?v=U4mf9obA6x0

Last edited by Krtola; 07-25-2019 at 08:57.
Krtola is offline
Send a message via Skype™ to Krtola
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 07-25-2019 , 10:22   Re: Print a message when player starts using +voicerecord
Reply With Quote #13

Quote:
Originally Posted by Krtola View Post
First test,then post something.
He need plugin which will send msg only when player press button for voice( default K ) .
This forward here send msg all the time, no matter if u have push "K" or not.
That's why I say first test then try to "help".
That's why the third parameter exists.
__________________
EFFx is offline
Send a message via Skype™ to EFFx
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 07-30-2019 , 11:04   Re: Print a message when player starts using +voicerecord
Reply With Quote #14

Quote:
Originally Posted by EFFx View Post
That's why the third parameter exists.
Third parameter returns true in case receiver can hear sender and false otherwise, it won't make any difference. Either way it still keeps spamming.

The method with Orpheu that Krtola provided is the only way for now.
__________________

Last edited by edon1337; 07-30-2019 at 11:05.
edon1337 is offline
Send a message via Skype™ to edon1337
Natsheh
Veteran Member
Join Date: Sep 2012
Location: Muslim and proud!
Old 07-30-2019 , 11:23   Re: Print a message when player starts using +voicerecord
Reply With Quote #15

Quote:
Originally Posted by edon1337 View Post
Either way it still keeps spamming.

With using a delay there will be no longer a spam :-)
Quote:
Originally Posted by Krtola View Post
Then show us how.
Im sure this can be done only with orpheu.
I really would like to show you but I won't waste my time. :-)
__________________
@Jailbreak MOD [Alot of features + API] 100% done !
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Last edited by Natsheh; 07-30-2019 at 11:25.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 07-30-2019 , 11:37   Re: Print a message when player starts using +voicerecord
Reply With Quote #16

Quote:
Originally Posted by Natsheh View Post
With using a delay there will be no longer a spam :-)
Still, that doesn't change the fact that the forward is called every 0.x seconds, does it? He asked for a way to detect when a player presses voice chat key, not a forward that gets called multiple times a second to see if player is talking. If you set a delay, you might miss the voice chat in some occasions.
__________________

Last edited by edon1337; 07-30-2019 at 11:38.
edon1337 is offline
Send a message via Skype™ to edon1337
Krtola
Veteran Member
Join Date: Oct 2013
Location: Serbia
Old 07-30-2019 , 13:26   Re: Print a message when player starts using +voicerecord
Reply With Quote #17

@edon I tried to teach him something new but you see he doesn't get it.
__________________
Check my new Zombie Mod (2019)
Look at the video below to see gameplay

https://www.youtube.com/watch?v=U4mf9obA6x0
Krtola is offline
Send a message via Skype™ to Krtola
Natsheh
Veteran Member
Join Date: Sep 2012
Location: Muslim and proud!
Old 07-30-2019 , 14:00   Re: Print a message when player starts using +voicerecord
Reply With Quote #18

Quote:
Originally Posted by edon1337 View Post
Still, that doesn't change the fact that the forward is called every 0.x seconds, does it? He asked for a way to detect when a player presses voice chat key, not a forward that gets called multiple times a second to see if player is talking. If you set a delay, you might miss the voice chat in some occasions.
What if the player spams the voice key ? Delay then is occurred.
Maybe I wasn't clear where to add the delay anyway he can solve voice on off with a boolean to check if player using the voicechat or not even the tutorial that Krtola posted is using that forward if you did read it correctly.


Krtola thanks but no thanks.
__________________
@Jailbreak MOD [Alot of features + API] 100% done !
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 07-30-2019 , 14:38   Re: Print a message when player starts using +voicerecord
Reply With Quote #19

Quote:
Originally Posted by Natsheh View Post
even the tutorial that Krtola posted is using that forward if you did read it correctly.
Yes, but in the tutorial, SV_ParseVoiceData was used to check whether player is using voice chat or not. Such thing is only achieved with Orpheu.

I tested FM_Voice_SetClientListening, it gets called multiple times within a second even when I'm not holding voice chat, tried checking whether 3rd param is 1 too, same results. Even if you manage to set a delay, how will you know the player is actually holding down the voice chat key?
__________________

Last edited by edon1337; 07-30-2019 at 14:39.
edon1337 is offline
Send a message via Skype™ to edon1337
Natsheh
Veteran Member
Join Date: Sep 2012
Location: Muslim and proud!
Old 07-30-2019 , 15:21   Re: Print a message when player starts using +voicerecord
Reply With Quote #20

I'll do some tests and return with a feedback I can't say anything further without testing.
__________________
@Jailbreak MOD [Alot of features + API] 100% done !
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:21.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode