execute_server_command not working
Posted: Sat Mar 31, 2018 8:23 am
im trying to execute "execute_server_command" which supposed to execute mp_warmup_end command.
Say text 2 is working but the command is not getting executed.
Did i miss something?
Say text 2 is working but the command is not getting executed.
Did i miss something?
Syntax: Select all
from events import Event
from messages import SayText2
from engines.server import execute_server_command
from commands.typed import TypedServerCommand,TypedSayCommand
@TypedSayCommand('!test3')
def cmd_on_test3(command_info):
execute_server_command('mp_warmup_end')
SayText2(f"Warmup ended").send()