From 88fdf90cb0a527436ab5ce9859689afcbc804f65 Mon Sep 17 00:00:00 2001 From: vanillaa <80897991+vanillla1@users.noreply.github.com> Date: Thu, 26 Aug 2021 23:05:47 +0300 Subject: [PATCH] beautifier --- server/commands.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/server/commands.lua b/server/commands.lua index 5649b79..1341384 100644 --- a/server/commands.lua +++ b/server/commands.lua @@ -108,7 +108,6 @@ QBCore.Commands.Add("setjob", "Set A Players Job (Admin Only)", {{name="id", hel end end, "admin") - QBCore.Commands.Add("job", "Check Your Job", {}, false, function(source, args) local Player = QBCore.Functions.GetPlayer(source) local duty = "" @@ -117,8 +116,7 @@ QBCore.Commands.Add("job", "Check Your Job", {}, false, function(source, args) else duty = "Off Duty" end - - TriggerClientEvent('QBCore:Notify', source, "Job: "..Player.PlayerData.job.label.. " Grade: "..Player.PlayerData.job.grade.name.. " Duty: "..duty) + TriggerClientEvent('QBCore:Notify', source, "[Job]: "..Player.PlayerData.job.label.. " [Grade]: "..Player.PlayerData.job.grade.name.. " [Duty]: "..duty) end) QBCore.Commands.Add("setgang", "Set A Players Gang (Admin Only)", {{name="id", help="Player ID"}, {name="gang", help="Name of a gang"}, {name="grade", help="Grade"}}, true, function(source, args)