how to run a command through other plugin
I need the plugin1 execute the command of plugin2.
cmd plugin2: PHP Code:
???? the plugin1 will be called by another plugin and when that happens the plugin1 must run the command plugin2 |
Re: how to run a command through other plugin
Not possible, only if you will register command in plugin2, such a register_clcmd("lala")
then in plugin1 use client_cmd(id, "lala") |
Re: how to run a command through other plugin
Quote:
server_cmd( "command" ) executes commands from the console. |
Re: how to run a command through other plugin
then in plugin2 I should change to:
PHP Code:
PHP Code:
I should just put this in plugin1? it will execute the command? |
Re: how to run a command through other plugin
Quote:
Code:
and execute it from the plugin: Code:
|
Re: how to run a command through other plugin
No.
It depends on what you are doing. What does the "TopMap" function do and how is it defined? |
| All times are GMT -4. The time now is 02:11. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.