How to get what player is saying in chat?
i already know about register_clcmd and register_concmd, but is there another way to get what player is saying, like input name and calculator, and not in plugin_init?
|
Re: How to get what player is saying in chat?
If you're asking about the input (text) you type before you say something (a.k.a messagemode), then that's not possible.
|
Re: How to get what player is saying in chat?
register_message(get_user_msgid("SayText"), "fw_saytext_message_hook");
|
Re: How to get what player is saying in chat?
You can register the "say" command with "register_clcmd" and get the message in it with "read_args".
|
Re: How to get what player is saying in chat?
Quote:
PHP Code:
|
| All times are GMT -4. The time now is 17:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.