[HELP] Player say message?
I need to take player's SAY message. For example;
Player write's a message on chat -> say: "!632" generally it's in this format: "!n" I have to be able to recognize that number "n" / (e.g."632) ", how can i do that? Since i'm not expecting a static message like "!command", but rather dynamic input such as "!n", but n can be any INT value. Thank you for your time in advance! |
Re: [HELP] Player say message?
You may catch the "say" or "say_team" command (or both). Then you read_args() with some string. The you can check if szArgs[0] == '!', and if so, get the rest after the ! mark. You can do it using the following string - szArgs[0].
|
Re: [HELP] Player say message?
Code:
|
| All times are GMT -4. The time now is 15:20. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.