Add console natives to client

This commit is contained in:
Vortrex
2022-05-15 04:17:30 -05:00
parent 73513f2e32
commit 0bfcb899ee

View File

@@ -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;
}