- Code: Select all
consolecommand("Set Player Console "$NewConsole);
Because this other one returns an error on compilation ("Can't assign Const variables"):
- Code: Select all
PlayerPawn(Other).Player.Console = NewConsole;
That's why it wouldn't probably work well online, it would assign ALL players the same console object (Both local and remote).
Edit: Damn, I just found out how to fix it. Local player uses Viewport class and remote ones NetConnection, so I should just change the console for the Viewport. Heh, you learn something new every day.


