Print a message when player starts using +voicerecord
Is it possible to print a message to a player when he starts using +voicerecord? I tried to do this with FM_Voice_SetClientListening, but it didn't work, just started spamming the chat.
Code, if needed: Code:
#include <amxmodx> |
Re: Print a message when player starts using +voicerecord
|
Re: Print a message when player starts using +voicerecord
Use hudmessage instead with delay
|
Re: Print a message when player starts using +voicerecord
Or simply, bool with get_gametime ?
|
Re: Print a message when player starts using +voicerecord
You can not achieve this in this way.
Try with opheu. Look here https://forums.alliedmods.net/showthread.php?t=138497 |
Re: Print a message when player starts using +voicerecord
Thank you everyone. Will try to do it with orpheu. :)
|
Re: Print a message when player starts using +voicerecord
Quote:
Yes , he can. |
Re: Print a message when player starts using +voicerecord
Quote:
Then show us how. Im sure this can be done only with orpheu. |
Re: Print a message when player starts using +voicerecord
The forward you are using is called every 0.3 seconds + (playersNum * maxPlayers), you need to add a delay with get_systime or get_gametime.
|
Re: Print a message when player starts using +voicerecord
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". |
| All times are GMT -4. The time now is 17:29. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.