diff --git a/plugins/tags/modules/tagsloader.lua b/plugins/tags/modules/tagsloader.lua index b8b7928..08c6a73 100644 --- a/plugins/tags/modules/tagsloader.lua +++ b/plugins/tags/modules/tagsloader.lua @@ -90,7 +90,7 @@ function SetupTag(playerid) else player:CCSPlayerController().Clan = "" end - RefreshScoreboard() + RefreshScoreboard(playerid) end function DetermineTag(playerid) diff --git a/plugins/tags/utils.lua b/plugins/tags/utils.lua index 90cda29..ddef666 100644 --- a/plugins/tags/utils.lua +++ b/plugins/tags/utils.lua @@ -16,7 +16,7 @@ function PrepareColor(stringColor) return "{" .. stringColor .. "}" end -function RefreshScoreboard() +function RefreshScoreboard(playerid) local event = Event("OnNextlevelChanged") - event:FireEvent(false) + event:FireEventToClient(playerid) end