problem with reading arguments...
Hey
I have this code: PHP Code:
Code:
you chosed a matchIf I type in console say .startwar blabla it will print: Code:
you chosed a blabla match |
Re: problem with reading arguments...
When you register a say message it must be exactly that. If you do register_clcmd("say hello", ...) then it will only be called when you "say hello" and not when you "say hello how are you". It must be exact.
To provide arguments you must register only "say" then read_args() and parse it into the parts that you need (the first part being the .startwar which you need to check to continue then the remaining is your argument). |
| All times are GMT -4. The time now is 14:30. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.