command value not working
Hey, This is my 1st time making a command that carry's a value. Basically how do I get the value from the entered command over to the indexed maxbots?
PHP Code:
My code: PHP Code:
|
Re: command value not working
Try
PHP Code:
|
Re: command value not working
You need to start looking at existing plugins and see how things are done. The funcwiki is great but it probably confused you on read_argv() because the "id" shown there is not the "id" of a player at all. It is the index of the argument that you want to retrieve.
PHP Code:
|
Re: command value not working
neither of your guys codes did anything. They actually made the command not function at all.
Quote:
Quote:
|
Re: command value not working
Quote:
Quote:
|
Re: command value not working
Quote:
I just need a foxbot control plugin to replace the one from admin mod so I can finally get rid of admin mod. |
Re: command value not working
Quote:
|
Re: command value not working
Try this. Its a snippet of what works on our server. It also adds a check to ensure the bot value is
within a specific range (edit for you needs) and reports the change in chat. Requires admin level 'f'. Code:
#include <amxmodx>An example RCON command would be: RCON bot "max_bots 10" |
| All times are GMT -4. The time now is 12:11. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.