Fix wrong error message

This commit is contained in:
Vortrex
2020-12-25 02:43:13 -06:00
parent c415ac01cb
commit 6147239844
2 changed files with 31 additions and 9 deletions

View File

@@ -20,7 +20,7 @@ function policeTazerCommand(command, params, client) {
}
if(!isPlayerWorking(client)) {
messageClientError(client, "You are working! Use /startwork first.");
messageClientError(client, "You are not working! Use /startwork first.");
return false;
}
@@ -29,8 +29,6 @@ function policeTazerCommand(command, params, client) {
return false;
}
return true;
}
@@ -48,7 +46,7 @@ function policeCuffCommand(command, params, client) {
}
if(!isPlayerWorking(client)) {
messageClientError(client, "You are working! Use /startwork first.");
messageClientError(client, "You are not working! Use /startwork first.");
return false;
}
@@ -74,7 +72,7 @@ function policeArrestCommand(command, params, client) {
}
if(!isPlayerWorking(client)) {
messageClientError(client, "You are working! Use /startwork first.");
messageClientError(client, "You are not working! Use /startwork first.");
return false;
}
@@ -100,7 +98,7 @@ function policeSearchCommand(command, params, client) {
}
if(!isPlayerWorking(client)) {
messageClientError(client, "You are working! Use /startwork first.");
messageClientError(client, "You are not working! Use /startwork first.");
return false;
}
@@ -126,7 +124,7 @@ function policeDragCommand(command, params, client) {
}
if(!isPlayerWorking(client)) {
messageClientError(client, "You are working! Use /startwork first.");
messageClientError(client, "You are not working! Use /startwork first.");
return false;
}
@@ -152,7 +150,7 @@ function policeDetainCommand(command, params, client) {
}
if(!isPlayerWorking(client)) {
messageClientError(client, "You are working! Use /startwork first.");
messageClientError(client, "You are not working! Use /startwork first.");
return false;
}