Plugin not working after restart
Code:
Compiles and works great, but if I restart the round it stops working. Why? And how do I cause amx_test 0 to restart? |
Re: Plugin not working after restart
It doesn't work because your registering it as a CVAR and if you want amx_text to restart you shouldn't use it as a CVAR.
Try this: PHP Code:
amx_restartserver |
Re: Plugin not working after restart
I don't want it to auto-restart. I want to be able to turn a plugin on or off, on with 1 and off with 0. When someone type amx_test 1 it will turn on and restart and if someone type amx_test 0 it will turn off and restart.
|
Re: Plugin not working after restart
Use your amxmodx menu.
Console: amxmodmenu | Number Nine | Number Six. |
Re: Plugin not working after restart
you still dont get the point.
|
Re: Plugin not working after restart
then explain it more wtf...
you can't use a CVAR when trying this. edit: What the hell is this: PHP Code:
|
| All times are GMT -4. The time now is 16:08. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.