diff --git a/scripts/server/job.js b/scripts/server/job.js index d35664be..821a48a9 100644 --- a/scripts/server/job.js +++ b/scripts/server/job.js @@ -641,9 +641,10 @@ function stopWorking(client) { restorePlayerJobLockerItems(client); respawnJobVehicle(client); sendPlayerStopJobRoute(client); - messageDiscordEventChannel(`💼 ${getPlayerName(client)} has stopped working as a ${getJobData(jobId).name}`); let jobId = getPlayerJob(client); + messageDiscordEventChannel(`💼 ${getPlayerName(client)} has stopped working as a ${getJobData(jobId).name}`); + switch(getJobType(jobId)) { case VRR_JOB_POLICE: messagePlayerInfo(client, "Your uniform, equipment, and vehicle have been returned to the police station");