HELP Unknown Command
I have this simple pluguin with gives money
PHP Code:
I have a diccionary with al the variables which appear but still. Thanks |
Re: HELP Unknown Command
Can you show your plugins_init() ?
|
Re: HELP Unknown Command
register_concmd("guita","admin_givemoney",ADM IN_SLAY,"")
|
Re: HELP Unknown Command
If you copy and pasted that, then there is no space between M and I. Then, you don't need "" as the fourth parameter.
Also, in the console print, wouldn't you put console_print(0, "%L", LANG_PLAYER, Etc...) |
Re: HELP Unknown Command
All you need to do is return PLUGIN_HANDLED at the end of the function to prevent the "Unknown command" warning.
EDIT: Looks like you do, that's strange. It shouldn't show that warning. |
Re: HELP Unknown Command
Check if all registers in plugin_init are valid! If one is bad, then all registers below won't be executed.
|
Re: HELP Unknown Command
He says it is executed...
|
| All times are GMT -4. The time now is 00:16. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.