Fix stop working message
This commit is contained in:
@@ -641,9 +641,10 @@ function stopWorking(client) {
|
|||||||
restorePlayerJobLockerItems(client);
|
restorePlayerJobLockerItems(client);
|
||||||
respawnJobVehicle(client);
|
respawnJobVehicle(client);
|
||||||
sendPlayerStopJobRoute(client);
|
sendPlayerStopJobRoute(client);
|
||||||
messageDiscordEventChannel(`💼 ${getPlayerName(client)} has stopped working as a ${getJobData(jobId).name}`);
|
|
||||||
|
|
||||||
let jobId = getPlayerJob(client);
|
let jobId = getPlayerJob(client);
|
||||||
|
messageDiscordEventChannel(`💼 ${getPlayerName(client)} has stopped working as a ${getJobData(jobId).name}`);
|
||||||
|
|
||||||
switch(getJobType(jobId)) {
|
switch(getJobType(jobId)) {
|
||||||
case VRR_JOB_POLICE:
|
case VRR_JOB_POLICE:
|
||||||
messagePlayerInfo(client, "Your uniform, equipment, and vehicle have been returned to the police station");
|
messagePlayerInfo(client, "Your uniform, equipment, and vehicle have been returned to the police station");
|
||||||
|
|||||||
Reference in New Issue
Block a user