Hi, is there any way to run this command from an HTML button using a bypass?
I understand that we can do something in interface.u:
But I've seen that other server owners who use Lucera Classic have managed to do it, yet no one shares how it's done...
I understand that we can do something in interface.u:
C++:
function ExecuteCommandEx(string command)
{
local Actor PlayerActor;
local Controller C;
PlayerActor = GetPlayerActor();
C = PlayerActor.Level.GetLocalPlayerController();
C.ConsoleCommand( command );
}
C++:
class'UIDATA_PAWNVIEWER'.static.ExecuteCommand(command);
But I've seen that other server owners who use Lucera Classic have managed to do it, yet no one shares how it's done...
Last edited: