From 0bfcb899ee4d9d3a399ca09bef6c951e44d6f7d7 Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Sun, 15 May 2022 04:17:30 -0500 Subject: [PATCH] Add console natives to client --- scripts/client/native/connected.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/scripts/client/native/connected.js b/scripts/client/native/connected.js index 46104209..4f18cc48 100644 --- a/scripts/client/native/connected.js +++ b/scripts/client/native/connected.js @@ -514,6 +514,18 @@ function consolePrint(text) { // =========================================================================== +function consoleWarn(text) { + console.warn(text); +} + +// =========================================================================== + +function consoleError(text) { + console.error(text); +} + +// =========================================================================== + function getPlayerName(client) { return client.name; }