Fixed Player Tag For Server Print

This commit is contained in:
Cooldude2606
2018-03-14 19:38:59 +00:00
parent ff2176789c
commit a6fd4215e6

View File

@@ -42,7 +42,7 @@ end
function ExpLib.server_print(player_message,player_name,player_tag,player_colour)
if not player_message then return 'No Message Found' end
local player = game.player or game.players[player_name]
local tag = player_tag and ' '..player_tag or ''
local tag = player_tag and player_tag ~= '' and ' '..player_tag or ''
local colour = player_colour or '#FFFFFF'
if player then
tag = ' '..player.tag