AdminMod.de https://www.adminmod.de/ |
|
admin_live, admin_sub, admin_tax https://www.adminmod.de/viewtopic.php?t=9432 |
Seite 2 von 2 |
Autor: | lala [ 10.06.2005, 20:04 ] |
Betreff des Beitrags: | |
Well i have a little problem i add a 4rth command but it doesn't works admin_maincmds.ini has this : admin_live:64:admin_live <delay>: makes restarts and messages admin_tax:64:admin_tax <delay>: sets freezetime to 60 and restarts with messages admin_sub:64:admin_sub: pause the game with messages admin_subok:64:admin_subok: unpause the game with messages and admin_subcmds.ini has : 0:admin_freezetime 6 0:admin_restart 1 0:admin_restart 1 0:admin_restart 1 0:admin_tsay red The Game Is ON ! 0:admin_tsay red The Game Is ON ! 0:admin_say GAME IS LIVE ! GL & HF ! 0:admin_say GAME IS LIVE ! GL & HF ! 1:admin_freezetime 60 1:admin_restart 1 1:admin_tsay red Tactics and Positions ! 1:admin_tsay red Tactics and Positions ! 1:admin_say Tactives and Positions ! 1:admin_say Tactives and Positions ! 2:admin_pause 1 2:pause 2:admin_pause 0 2:admin_say Admin is looking for a sub 2:admin_say plz be patient. 3:admin_pause 1 3:pause 3:admin_pause 0 3:admin_say Sub has joined the game 3:admin_say Thanks for your patience. where is the error ? |
Autor: | lala [ 10.06.2005, 20:08 ] |
Betreff des Beitrags: | |
oh i found it ! it doesn't get the last command |
Autor: | Sir Drink a lot [ 10.06.2005, 21:19 ] |
Betreff des Beitrags: | |
but there seems to be a problem with "pause". Ok. Perhaps only when i tested the plugin. Perhaps it works for you, i don't know. When u pause the server and send another admin_cmd it did not execute this command. If a player manually executes pause again to unpause, all timer functions seems not to work anymore. That is maybe a bug in adminmod. So if u use "pause" never use another admin_command. Only if server is unpaused, you can use the admin_commands again. So admin_sub will perhaps not work with these subcomands. It is a bit tricky. Very strange *Ah yes! There must always be an empty line in files at least!!! Else it did not load the last entry!* |
Seite 2 von 2 | Alle Zeiten sind UTC+01:00 |
Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |