From 4f86616bef16f11debfde859ae80af447b9969c5 Mon Sep 17 00:00:00 2001 From: Mycroft Date: Fri, 23 Sep 2022 01:27:59 +0100 Subject: [PATCH] tweak(esx_rpchat): Uniform Prints --- [esx_addons]/esx_rpchat/server/main.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/[esx_addons]/esx_rpchat/server/main.lua b/[esx_addons]/esx_rpchat/server/main.lua index 8c7a13fa..cd0e10c1 100644 --- a/[esx_addons]/esx_rpchat/server/main.lua +++ b/[esx_addons]/esx_rpchat/server/main.lua @@ -9,7 +9,7 @@ end) RegisterCommand('twt', function(playerId, args, rawCommand) if playerId == 0 then - print('esx_rpchat: you can\'t use this command from console!') + print('[^1ERROR^7] This Command Cannot Be Used By The Console!') else args = table.concat(args, ' ') @@ -21,7 +21,7 @@ end, false) RegisterCommand('anontwt', function(playerId, args, rawCommand) if playerId == 0 then - print('esx_rpchat: you can\'t use this command from console!') + print('[^1ERROR^7] This Command Cannot Be Used By The Console!') else args = table.concat(args, ' ') @@ -33,7 +33,7 @@ end, false) RegisterCommand('me', function(playerId, args, rawCommand) if playerId == 0 then - print('esx_rpchat: you can\'t use this command from console!') + print('[^1ERROR^7] This Command Cannot Be Used By The Console!') else args = table.concat(args, ' ') local playerName = GetRealPlayerName(playerId) @@ -44,7 +44,7 @@ end, false) RegisterCommand('do', function(playerId, args, rawCommand) if playerId == 0 then - print('esx_rpchat: you can\'t use this command from console!') + print('[^1ERROR^7] This Command Cannot Be Used By The Console!') else args = table.concat(args, ' ') local playerName = GetRealPlayerName(playerId)