About Radio
Wondering how to detect a radio is called by client.
Should "SendAudio" be hooked? If it is, can someone show me the code? |
Re: About Radio
|
Re: About Radio
according to sma, can i use register_event instead of using register_message?
PS:i just type in register_message("SendAudio", "msg_send_audio")//... register_message(get_user_msgid("SendAudio"), "msg_send_audio")//this should be correct.. |
Re: About Radio
I don't know, best result would be in trying it first.
|
Re: About Radio
register_message() gets called before it is sent, so you can alter the values of it or block it.
register_event() hooks the event after it is sent. |
Re: About Radio
Radio is loop through all team, better to check commands and menu, check if user is alive, and if m_flNextRadio is < gametime, and if m_iRadioLeft is > 0.
|
| All times are GMT -4. The time now is 01:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.