Need help with a restart plugin
I've tried to make my own restartround + message plugin line in adminmod, but I have some problems with it.
First problem: If I do "amx_restart 3 live hf", the plugins shows message like "ADMIN Adminname: amx_restart 3 3 live hf", but the expected message is like "ADMIN Adminname: amx_restart 3 live hf" Second problem: If I do "amx_restart live hf" without a number between command and message, the plugin show message like "ADMIN Adminname: amx_restart 0 life hf". I want to hide this message if there is no number specified. Here's what i've done so far: Code:
/* Plugin generated by AMXX-Studio */ |
Re: Need help with a restart plugin
PHP Code:
|
Re: Need help with a restart plugin
Thank you, now it works.
I found this somewhere, but when i execute any of the commands in that plugin, is says that the command is uknown, but still works. Code:
public restartround(id,level,cid) amx_restart 1 "sv_restartround" changed to "1" Unknown command: amx_restart The game will restart in 1 SECOND And which method is more efficient if there is more than one command in the plugin? The first one posted, or this one? |
Re: Need help with a restart plugin
Use the first one posted.
|
| All times are GMT -4. The time now is 04:06. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.