Raised This Month: $51 Target: $400
 12% 

Print a message when player starts using +voicerecord


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

Then show off what you can do...
thEsp is offline
Krtola
Veteran Member
Join Date: Oct 2013
Location: Serbia
Old 07-25-2019 , 07: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 original plugins for cs 1.6 and subscribe on channel
Look at the video bellow to see zombie frost grenade

https://youtu.be/j0zspNfN-AM?si=_1IiGPETN-GQY9Ua

Look at the video below to see Zombie blind grenade

https://youtu.be/ORC7ZmoaipQ?si=QC8Bul96QGitUwX4

Last edited by Krtola; 07-25-2019 at 07: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 , 09: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.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 07-30-2019 , 10: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 10:05.
edon1337 is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 07-30-2019 , 10: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 Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 07-30-2019 at 10: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 , 10: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 10:38.
edon1337 is offline
Krtola
Veteran Member
Join Date: Oct 2013
Location: Serbia
Old 07-30-2019 , 12: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 original plugins for cs 1.6 and subscribe on channel
Look at the video bellow to see zombie frost grenade

https://youtu.be/j0zspNfN-AM?si=_1IiGPETN-GQY9Ua

Look at the video below to see Zombie blind grenade

https://youtu.be/ORC7ZmoaipQ?si=QC8Bul96QGitUwX4
Krtola is offline
Send a message via Skype™ to Krtola
Natsheh
Veteran Member
Join Date: Sep 2012
Old 07-30-2019 , 13: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 Main Mod v2.7.0 100%
@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 , 13: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 13:39.
edon1337 is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 07-30-2019 , 14: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 Main Mod v2.7.0 100%
@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



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:54.


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