Files
GTA4RP/scripts/server/job/police.js
2020-12-13 14:44:14 -06:00

75 lines
2.0 KiB
JavaScript

// ===========================================================================
// Asshat-Gaming Roleplay
// https://github.com/VortrexFTW/gtac_asshat_rp
// Copyright (c) 2020 Asshat-Gaming (https://asshatgaming.com)
// ---------------------------------------------------------------------------
// FILE: police.js
// DESC: Provides police officer job functions and usage
// TYPE: Job (JavaScript)
// ===========================================================================
function policeTazerCommand(command, params, client) {
if(!canClientUseJobs(client) || !!canClientUsePoliceJob(client)){
return false;
}
return true;
}
// ---------------------------------------------------------------------------
function policeCuffCommand(command, params, client) {
if(!canClientUseJobs(client) || !!canClientUsePoliceJob(client)) {
return false;
}
return true;
}
// ---------------------------------------------------------------------------
function policeArrestCommand(command, params, client) {
if(!canClientUseJobs(client) || !!canClientUsePoliceJob(client)) {
return false;
}
return true;
}
// ---------------------------------------------------------------------------
function policeSearchCommand(command, params, client) {
if(!canClientUseJobs(client) || !!canClientUsePoliceJob(client)) {
return false;
}
return true;
}
// ---------------------------------------------------------------------------
function policeDragCommand(command, params, client) {
if(!canClientUseJobs(client) || !!canClientUsePoliceJob(client)) {
return false;
}
return true;
}
// ---------------------------------------------------------------------------
function policeDetainCommand(command, params, client) {
if(!canClientUseJobs(client) || !!canClientUsePoliceJob(client)) {
return false;
}
return true;
}
// ---------------------------------------------------------------------------