local CurrentActionData, handcuffTimer, dragStatus, blipsCops, currentTask = {}, {}, {}, {}, {} emioueabua https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=stu8
local HasAlreadyEnteredMarker, isDead, isHandcuffed, hasAlreadyJoined, playerInService = false, false, false, false, falsehttps://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S?pwd=tuv7
local LastStation, LastPart, LastPartNum, LastEntity, CurrentAction, CurrentActionMsghttps://pan.baidu.com/s/6Y7Z8A9B0C1D2E3F4G5H
dragStatus.isDragged, isInShopMenu = false, falsexylclcvqgxiv
lkmfrhxbgqonjdiyrdgc
RegisterNetEvent('esx:playerLoaded')mngmyokjqrfauweokhgjyesipqxlfyqsmx
AddEventHandler('esx:playerLoaded', function(xPlayer)ltwewmlminyxqfheenpqhoyfymjewokiihm
ESX.PlayerData = xPlayerfxwhuvdzzysobxopiagafkqgps
ESX.PlayerLoaded = truelvbvbqanubnjedzqszkpuyhydigujpsvkuqmkrzftmoxqnoim
end)fcdcgajtfi
这是干扰码
RegisterNetEvent('esx:onPlayerLogout')https://pan.baidu.com/s/1C2D3E4F5G6H7I8J9K0L
AddEventHandler('esx:onPlayerLogout', function()gftjvtigzwgfvrmsgdidoyjhylwdlve
ESX.PlayerLoaded = falsehttps://pan.baidu.com/s/3T4U5V6W7X8Y9Z0A1B2C?pwd=yza1
ESX.PlayerData = {}tyyijnnkjmerjxdphy
end)https://pan.baidu.com/s/1R2S3T4U5V6W7X8Y9Z0A?pwd=qrst
wdiubftoqi
function cleanPlayer(playerPed)ndnhklgnajfgvrhfagdqjuwlfvzqfabsdpaobgc
SetPedArmour(playerPed, 0)tjorqoqkowpbcrfskyxgwwmswlzihwyagnswbigqfws
ClearPedBloodDamage(playerPed)dsuftqnuwgntuhjoebtxaeoiakzvaax
ResetPedVisibleDamage(playerPed)lqjilujfjyrxgsonmrm
ClearPedLastWeaponDamage(playerPed)qosaseirojbn
ResetPedMovementClipset(playerPed, 0)rvecnjxzjmleinzsvrpvmohnnnhloj
endskflhryowhavmzehxbupp
pggkmaancpfpaksbjyudsgnkfksucxerekbrlc
function setUniform(uniform, playerPed)ndnhklgnajfgvrhfagdqjuwlfvzqfabsdpaobgc
TriggerEvent('skinchanger:getSkin', function(skin)byaxsjdrfkxbbkthnblbauj
local uniformObjectzgcvxtysgdbgtamxgpzengliacrklctkjvggo
iqjmsdcddmihsjphulowipuyhgkvgeupudbnheqlqzsijhpdse
if skin.sex == 0 thenecfymedslagqadukmxqorfhampy https://pan.baidu.com/s/5X6Y7Z8A9B0C1D2E3F4G
uniformObject = Config.Uniforms[uniform].malevapjcoysrhjfudlyxugonvrbrmlnuqgqrvaukzmbhvhbz
elsegghtzxjpfudtwmlqbq
uniformObject = Config.Uniforms[uniform].femalednyzsomldiwaniiuc
endhttps://pan.baidu.com/s/2T3U4V5W6X7Y8Z9A0B1C
ctfkvgwtlhwxezhharjgkjgjqufmwcsyvxj
if uniformObject thenknsfokrjkeoodxbgkk
TriggerEvent('skinchanger:loadClothes', skin, uniformObject)xphozsdemtqbgzrixyjgxwlpvdklpcl
wqifkwhfwyzemuxdxvspykeiz
if uniform == 'bullet_wear' thenmksbsxcwbbzcayeqoherceblarygenrqxjrpgu
SetPedArmour(playerPed, 100)posacpigvkbfqfn
endwzlhbvabwvzblvoqmaoxldeodukeaqhttps://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=yza0
elsebubzyhzmtlqdnneehlwnzumhopd
ESX.ShowNotification(TranslateCap('no_outfit'))https://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W?pwd=efg1
end这是干扰码
end)
endzhdmhhtfjwnzht
https://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2
function OpenCloakroomMenu()jxkijkkqmmuuvwkuwhhxkfteidlovwietsmdcxupkpkgl
local playerPed = PlayerPedId()jyahnunkomwfhwrazbmwpxxnksfumifwhfeuzr
local grade = ESX.PlayerData.job.grade_nameimhgvsfaywhocxlkdurqafrloluorerz
sbrrurzkqbhuoeqbctbdohhpbint
local elements = {wemqswjphfvdzrcgjqqcjsynknsidwtzbfqtcz
{unselectable = true, icon = "fas fa-shirt", title = TranslateCap("cloakroom")},https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5
{icon = "fas fa-shirt", title = TranslateCap('citizen_wear'), value = 'citizen_wear'},rsssxdkoysxwqluwcejbh
{icon = "fas fa-shirt", title = TranslateCap('bullet_wear'), uniform = 'bullet_wear'},vxoloilhjxpyavpkoxudjpssjbgejudfsrqgzbnjzchzyxkmue
{icon = "fas fa-shirt", title = TranslateCap('gilet_wear'), uniform = 'gilet_wear'},kqapysrxwaxzd https://pan.baidu.com/s/6N7O8P9Q0R1S2T3U4V5W?pwd=abcd
{icon = "fas fa-shirt", title = TranslateCap('police_wear'), uniform = grade}mcyqmegsxwrtihgcgoyzbblarsgumxyza
}https://pan.baidu.com/s/5X6Y7Z8A9B0C1D2E3F4G
zmhxswxrtfnyiffmmivbdmofshnpptlpgsnypkqipegyjll
if Config.EnableCustomPeds thenhttps://pan.baidu.com/s/8P9Q0R1S2T3U4V5W6X7Y?pwd=ijkl
for k,v in ipairs(Config.CustomPeds.shared) dowrupfopofzwgacbxpmw
elements[#elements+1] = {cdcyeyvugxrlwnpqtcrvotqxlmpquxuxb
icon = "fas fa-shirt",copviizdauvjjwppqnf
title = v.label, nocehjntyavxtpfgiyvre
value = 'freemode_ped', wybjuppqjofbsiulndnwjzllsoxzvqmrpobjeran
maleModel = v.maleModel, https://pan.baidu.com/s/9A0B1C2D3E4F5G6H7I8J?pwd=qrs4
https://pan.baidu.com/s/2J3K4L5M6N7O8P9Q0R1S?pwd=klmn
femaleModel = v.femaleModelskovdopuyjrtkqzcwydrkzizchyyyneqytm
}vtxpsdejrgohlosw
endxtjkpjmpwbqsoixexng
utznthkktvaznaglfkbyypqcqf
for k,v in ipairs(Config.CustomPeds[grade]) dowiirpksjlffobcvpatfmygjwhczelguhocyemroywum
elements[#elements+1] = {ysftsfpfjblljdkvcslcnxyskwglsvkqnpjgvzlfbwqkzbgcu
icon = "fas fa-shirt",hdgaiffdmriurigcgunljoyzqfgzejjlmqmuvs
title = v.label, ujagegnjoww https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U?pwd=yza9
value = 'freemode_ped', rszpcmrzyeyvxullugnbkh
maleModel = v.maleModel, tcebvntakqgingwdumxajzxdatynfcsyfw
femaleModel = v.femaleModelechptrotpbaigpnehfrglptbfxuoopcsrjhkbveqx
}iwuavksjxqukbmiyemcflslgzhyq
endumpkavkauicpexagzugwfkdbwllcsqtmciwddhdyqgo
endrsssxdkoysxwqluwcejbh
gretojnttkjeizekirhagtauodslcsxijbbxlpr
ESX.OpenContext("right", elements, function(menu,element)https://pan.baidu.com/s/8A9B0C1D2E3F4G5H6I7J
cleanPlayer(playerPed)cyfktwmcdhgnfxksailmxpxwhttps://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K?pwd=tuv5
local data = {current = element}ozqpmxskfnsrxzozfdldviogvkedii
https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N
if data.current.value == 'citizen_wear' thenrzoddwaajyrlizfnwimrgnncjwzhmyrdyfgbcg
if Config.EnableCustomPeds thenestpnmcitmztzgifbhepnctecugjagwezqtmcvvv
ESX.TriggerServerCallback('esx_skin:getPlayerSkin', function(skin, jobSkin)vbaxasnxljfnvchttps://pan.baidu.com/s/8A9B0C1D2E3F4G5H6I7J
local isMale = skin.sex == 0ogypxsunpmyblsdhttps://pan.baidu.com/s/2M3N4O5P6Q7R8S9T0U1V
jyglddwskhrugvfyalkadommvemir
TriggerEvent('skinchanger:loadDefaultModel', isMale, function()yvzrdrhmofwirlqxoysvcjvfgifsyakwvjnzbvlqbiys https://pan.baidu.com/s/8R0S1T2U3V4W5X6Y7Z8A
ESX.TriggerServerCallback('esx_skin:getPlayerSkin', function(skin)ffmttrxjroid
TriggerEvent('skinchanger:loadSkin', skin)krxsksckmtqlnubgtpuqangdxhuhmk
TriggerEvent('esx:restoreLoadout')pqorbikqrmrpmlso
end)frcrzyceeu
end)iaamwxgfkvmggshdstvxnbxqfk
xtdnmooixsfiqmfownorutwysybpbsyymbmzp
end)jaazaelaswjbfqgwstcjzxwapli
elsevbnswfnttavieots
ESX.TriggerServerCallback('esx_skin:getPlayerSkin', function(skin)rdktnvwpuufocjddihunqrfvxuvnr
TriggerEvent('skinchanger:loadSkin', skin)ozjwhpofuoufwibqdasdcem
end)jqfkwoltlmxmx
endhttps://pan.baidu.com/s/6O7P8Q9R0S1T2U3V4W5X
ciajuqgrqenouadzgnqwxvdlctelviqyrr
if Config.EnableESXService thenhttps://pan.baidu.com/s/9S1T2U3V4W5X6Y7Z8A9B
ESX.TriggerServerCallback('esx_service:isInService', function(isInService)mviadtxxyxkbuidcyvbukruxdifv
if isInService thenlptgujuaukajyafybta
playerInService = falsedvnddzulqjtpowvlusxvxqysjbahhixlelpikjubtn
vwhkxtjsqaeydzzamtomwx
local notification = {ficdrocyxetdbweficj
title = TranslateCap('service_anonunce'),zfffzwkelitba
subject = '',ugyytndlurbkkmarfnquxhcnljmuuxrpepnxcrjxjkitxilc
msg = TranslateCap('service_out_announce', GetPlayerName(PlayerId())),rvecnjxzjmleinzsvrpvmohnnnhloj
iconType = 1mdhqjgsezepiuxfvdgfirpmzpvbdxwrkzyajetnex
}qwiiuykiiumwlundaifzmmwiypinslpj
drntwfubrdpmhpnbqrzocczeyqlvyh
TriggerServerEvent('esx_service:notifyAllInService', notification, 'police')ajaivsuchewmxldfxabpqbsstgnjvspvbpd
tbxtpfbniokdtsvlspiyrg
TriggerServerEvent('esx_service:disableService', 'police')fiktcmawseiaeqvd
TriggerEvent('esx_policejob:updateBlip')oztzafmxntiueddormndmrcvuvaypgidfcdgiq
ESX.ShowNotification(TranslateCap('service_out'))obubktfwwkhownodmefesqtab
endqlibaxfyjgcraokbtajdcoezzxxbfmrvxaxxxcwhjzy
end, 'police')ecyjjvkelaqypnfhnlacjdvtnhbmprlttjcdfnhqnypdmvkag
endwlirfeizqyqsgegqhwciszgzzcfvvytskbkpfsovrenyiuoqq
enddcefgvehbrricbrptfysyjjnzcqfdpmgrrm
https://pan.baidu.com/s/4F5G6H7I8J9K0L1M2N3O
if Config.EnableESXService and data.current.value ~= 'citizen_wear' thentjrsdykjmnouvznjlxjhmjezbgxbnmfhw
local awaitServiceogypxsunpmyblsdhttps://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S?pwd=tuv7
ethmnegkdowomrlvavpczgseaztlfwrkpzx
ESX.TriggerServerCallback('esx_service:isInService', function(isInService)bmzoycizgrjhttps://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5
if not isInService thenyeumjcraicpbe
https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=bcd1
if Config.MaxInService ~= -1 thenjksapgqstaezscemfvttyfuh
ESX.TriggerServerCallback('esx_service:enableService', function(canTakeService, maxInService, inServiceCount)pnashpokyekccnzjegkjd
if not canTakeService thenhylrukkvqwkqx
ESX.ShowNotification(TranslateCap('service_max', inServiceCount, maxInService))xdfdoynxtsdrouyodzpqmqxauyfdene
elsegqehwwutickekqyis
awaitService = truemlhmgqzmarznhnirhvxaf
playerInService = truehttps://pan.baidu.com/s/9S1T2U3V4W5X6Y7Z8A9B
cgvywxiawqqaswjzbzefwjjcpaacbtqdamcxkkyga
local notification = {jxtxzyznmucuq
title = TranslateCap('service_anonunce'),uychwytgkaqaldcqhttps://pan.baidu.com/s/4N5O7P8Q9R0S1T2U3V4W
subject = '',ofbymnbabeqlmxpvjljbqblxbhgyqpteuuchhehijxtvvj
msg = TranslateCap('service_in_announce', GetPlayerName(PlayerId())),gqhnaawkswaznstoxshzxtesmyqssxjzormorjzjgziu https://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop
iconType = 1rufwmfmllzdxluggzqyqlucxgpqjmwxerdadjnovm https://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R?pwd=qrs6
}nshhuqdttxsogudvqmrhcuzemwqfrdwfvempuqjoobc
kfamkeyprzblpqzdaxfxd这是干扰码
TriggerServerEvent('esx_service:notifyAllInService', notification, 'police')cjoegfkmoyfkexyxmkvctxcwigiamrhoawth
TriggerEvent('esx_policejob:updateBlip')gftjvtigzwgfvrmsgdidoyjhylwdlve
ESX.ShowNotification(TranslateCap('service_in'))eyonwdabxnhdhrcztizyoiwqgaxylutqshepkfrhtzlbqna
endpvjarooesqzoxetlagstqdxyvfkkhkfxgoxyclcubbjzgc
end, 'police')pnjpbxhbjymesyrupms
elsemnxhngvjkucjicfkn
awaitService = truebnyqbpakhmlfuxvfhrxvbokyorsicnwdautcktmrg
playerInService = truevvlmtgmbytjkxxnkiyzvorlnyavxsrwnmhafomgmgqxdoknxj
dyzlaojorpuvptkhmqd
local notification = {mfmuhrohaxtxgeniuomnezrhgynocqvovii
title = TranslateCap('service_anonunce'),mxxdcpcuhsbuvghsvtvbzuerfuhnnsgapddssfmayouuv
subject = '',https://pan.baidu.com/s/7Y8Z9A0B1C2D3E4F5G6H?pwd=klm2
msg = TranslateCap('service_in_announce', GetPlayerName(PlayerId())),https://pan.baidu.com/s/8I9J0K1L2M3N4O5P6Q7R
iconType = 1https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J
}bbcgfwhecsweboqhwadcxceqybgnjhkkimroizslroptcgaz
https://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2
TriggerServerEvent('esx_service:notifyAllInService', notification, 'police')mcyqmegsxwrtihgcgoyzbblarsgumxyza
TriggerEvent('esx_policejob:updateBlip')kytmhsovoouikkaeheeuekm
ESX.ShowNotification(TranslateCap('service_in'))unqiiurrpixkuzejefxxqajqipkcliigvy
enddobcjizosdqoobrgrktusqxwxb
zmhxswxrtfnyiffmmivbdmofshnpptlpgsnypkqipegyjll
elsegvtxchdjurzjalkwku
awaitService = trueydfurashisdfzktsw
endvtenyxpxdaqzmtcuaqaxasxiejfthczcvephttps://pan.baidu.com/s/6O7P8Q9R0S1T2U3V4W5X?pwd=hij2
end, 'police')nrbpljjlzimynokexkjzhrfyr
syyzxjvzxshkivyebosfdiowtbhgdxmvwk
while awaitService == nil dojbciunawhlacwbdirsahvpmitk
Wait(0)zvhabbanzhcylqexyfzqplsivbdbisghno
endlexsvdfogir
glqytxdpiefgloedfbyrdxvscxguqwwx
-- if we couldn't enter service don't let the player get changedgkmtmavakgrjhduncfegnomamiavar
if not awaitService thenevldywvovx
returnhttps://pan.baidu.com/s/7I8J9K0L1M2N3O4P5Q6R
https://pan.baidu.com/s/7Y8Z9A0B1C2D3E4F5G6H
endntcbldwtpctuxs https://pan.baidu.com/s/8P9Q0R1S2T3U4V5W6X7Y?pwd=ijkl
endhttps://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5
https://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L
feqirafrjscnaqntlejgrxnflbmxpvjvazeszjjj
if data.current.uniform thenmvhkqangogvzyngyeqzbchfa
setUniform(data.current.uniform, playerPed)rwekpirpkzcnttegpklsspyixcxybtnsqrdfzuvju
elseif data.current.value == 'freemode_ped' thennskdsuwteunhnuvxzgpuinyasicjufohxy
local modelHashxpabimxsplzovcxxya
tlizgwbjdi
ESX.TriggerServerCallback('esx_skin:getPlayerSkin', function(skin, jobSkin)ztmagyqpcpahgqzrrgshgchsfyxwvtevmqvsp
if skin.sex == 0 thenoznicpyndffeazossgvkpdbeqtvloy
modelHash = joaat(data.current.maleModel)niimjdfwoihtejkemagawbfswslhiunvcwi
elsetjorqoqkowpbcrfskyxgwwmswlzihwyagnswbigqfws
modelHash = joaat(data.current.femaleModel)ewqzsejfdsqvokiifbozfseexvwnvvras
enddrntwfubrdpmhpnbqrzocczeyqlvyh
yxioamjdrzpwwfhgghmcuunovohwvejtcriddrgv
ESX.Streaming.RequestModel(modelHash, function()zgcvxtysgdbgtamxgpzengliacrklctkjvggo
SetPlayerModel(PlayerId(), modelHash)https://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K
SetModelAsNoLongerNeeded(modelHash)cvzhnzbirduqgaccccycjrvkhtdmvbayxagkahtsl
SetPedDefaultComponentVariation(PlayerPedId())ecfymedslagqadukmxqorfhampyhttps://pan.baidu.com/s/2U3V4W5X6Y7Z8A9B0C1D
https://pan.baidu.com/s/9Z0A1B2C3D4E5F6G7H8I?pwd=pqr7
TriggerEvent('esx:restoreLoadout')wsbyngswbftquckdvwcdexj
end)jnrnxyelyoifdwlylfdhnfyrfquivhdeuvsrtwcsllyohjn
end)zusclejbwccrawaxicapbwbwcb https://pan.baidu.com/s/7Z8A9B0C1D2E3F4G5H6I
endyhzydikhlttzfbopbnyhfsfmqszhzihxphwsqhabauagvpvwcu
end, function(menu)https://pan.baidu.com/s/9H0I1J2K3L4M5N6O7P8Q?pwd=cdef
CurrentAction = 'menu_cloakroom'plvethzuwnfekbgvhrltopisqoxmhyuxjqcd
CurrentActionMsg = TranslateCap('open_cloackroom')lfytcvuxsbkbbgzvpepzhttps://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=ijkl
CurrentActionData = {}sqaodhrfhtumtchupzqunjoof
end)msuoaygvttydsoffjawlesatusclycglvbawagstaqxsecy
endhdrrefvgmvvfzmqisiyujhbsw
sropkjavjratcrgfbulcepnrqtfeixibo
function OpenArmoryMenu(station)fdjgympsjmpbbtpgvcpacdqjiljglrfquoxtbmllzbmbvbhqew
local elementsuqheebdcpidtedixhqsztapmaapsxvjrmrvqsztihxcl
if Config.OxInventory thenptrmubksiczrkodtmekrqgugleas
exports.ox_inventory:openInventory('stash', {id = 'society_police', owner = station})hbwgknzueyxbxasizbhbjfahsfyryktg
return ESX.CloseContext()https://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E?pwd=bcd9
elsebpetlezcpqhn
elements = {nekhmvafcrwrjiafxulaoyhymtylpmfdqpldlljncgfmo
{unselectable = true, icon = "fas fa-gun", title = TranslateCap('armory')},vdeugagftfrgxyfbvxsknefgfdrsoubkyfeeg
{icon = "fas fa-gun", title = TranslateCap('buy_weapons'), value = 'buy_weapons'}bkdxkrjzuoqxkhrdpxdnrrpllewjpearoeoywxyqmpn
cmvyqqyexpeovbvxhmes
}rszpcmrzyeyvxullugnbkh
sijbfeyroiyzqmwojvnkkmesaixqmkqfsagyeepsnoseaotkkg
if Config.EnableArmoryManagement thendjsrcfngjawddyjypevyuvvqvhoglxnoggghttps://pan.baidu.com/s/9J0K1L2M3N4O5P6Q7R8S
table.insert(elements, {icon = "fas fa-gun", title = TranslateCap('get_weapon'), value = 'get_weapon'})xpabimxsplzovcxxya
table.insert(elements, {icon = "fas fa-gun", title = TranslateCap('put_weapon'), value = 'put_weapon'})https://pan.baidu.com/s/7P8Q9R0S1T2U3V4W5X6Y?pwd=klm3
table.insert(elements, {icon = "fas fa-box", title = TranslateCap('remove_object'), value = 'get_stock'})gzzpokjkzolocjybeevhdyfxzfwxk
table.insert(elements, {icon = "fas fa-box", title = TranslateCap('deposit_object'), value = 'put_stock'})citqzuapdfkwnvitzqskhmvsilosclcfuvwtp
endirliqmjhmlgpifybxrpxkagj https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=vwx9
enddkczbyaymqvzeecltsbmwkcaszexscvvmyunxvlkmgkqlmbff
gqncfvjyjgbw
ESX.OpenContext("right", elements, function(menu,element)wqifkwhfwyzemuxdxvspykeiz
local data = {current = element}zawtuyrllvccpnzlsxcuxpxjgwewk https://pan.baidu.com/s/8J9K0L1M2N3O4P5Q6R7S
if data.current.value == 'get_weapon' thencfsiqiymfbvav
OpenGetWeaponMenu()rdhuwtirizyvjrtanbadoupzhvwqrckifrdclltulspukj
elseif data.current.value == 'put_weapon' thenvfnlydjvoxcmovdprckqkpgyrlr
OpenPutWeaponMenu()rwmvijlujkmpmfxoldtnshds
elseif data.current.value == 'buy_weapons' thenyayovlfucajthgmqytynxamt
OpenBuyWeaponsMenu()hhwllrqvdchnpmexjgdav
elseif data.current.value == 'put_stock' thenfmriimismqez
OpenPutStocksMenu()hwphhpcpxmzjulswlevjvzcwabdlwxaeuqmbfordar
elseif data.current.value == 'get_stock' thenregqagsiikoddkwbxqtxv
OpenGetStocksMenu()hmctuaohhevmhtdcxauizktjhizicomja https://pan.baidu.com/s/6W7X8Y9Z0A1B2C3D4E5F?pwd=ghi4
endnyxqhxihavwyvpdzufrucshl https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U?pwd=yza9
end, function(menu)iufixbuqxuzrcgxlqurwqyilzhjbugxdadlyegpbaotcvrnl
CurrentAction = 'menu_armory'https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=ijkl
CurrentActionMsg = TranslateCap('open_armory')vcfrnknxfnzcnbgzydadxqpzwerafjnaltszefxk
CurrentActionData = {station = station}smzshepqmjqicpwcxseujdagskifcah
end)wulwjnffyflqyukczvii
endlnvxbokomgxkzuanngtwuwpjihv
ejtvuzalmfgepuottpnjstrbibkphn
function OpenPoliceActionsMenu()-------------------oilhiulliplhmjjsvhttps://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=mnop
local elements = {https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=ijkl
{unselectable = true, icon = "fas fa-police", title = "警察菜单"},https://pan.baidu.com/s/8Y9Z0A1B2C3D4E5F6G7H?pwd=mno6
{icon = "fas fa-user", title = TranslateCap('citizen_interaction'), value = 'citizen_interaction'},yehxvltzpcd
{icon = "fas fa-car", title = TranslateCap('vehicle_interaction'), value = 'vehicle_interaction'},cccuvhgozwrbeutmsrk
{icon = "fas fa-user", title = TranslateCap('object_spawner'), value = 'object_spawner'},hchbnknosmonquqqghpmmcve
{icon = "fas fa-user", title = '通缉系统', value = 'wanted_menu'},ficdrocyxetdbweficj
{icon = "fas fa-user", title = '监狱系统', value = 'jail_menu'},oubbaksmztgwnotspknyoacfscunj
{icon = "fas fa-user", title = 'NPC任务', value = 'copsrun'},uetarplrpdsafajgjce
{icon = "fas fa-scroll", title = TranslateCap('search'), value = 'search'},vbfnbcappighmcajhqckv
{icon = "fas fa-user", title = '抢劫结束后清理太平洋内部', value = 'pdpacific'},nxaywxesurkqckyk
{icon = "fas fa-user", title = '抢劫结束后清理珠宝店内部', value = 'pdvangelico'}hdrrefvgmvvfzmqisiyujhbsw
}ulhkaauzgfkphfgkpjwiqtrxdcaenrthcbscbmchrn
rozttftwtgvjnfatjogjydrmhprsbuytixm
ESX.OpenContext("right", elements, function(menu,element)kaglvituyrqvazgazfipxvhjrvrgvufgulrptljsdandzuezzn
local data = {current = element}pqadwyvcpqklxoprjiidflvqwtfedswsjxwfvshliswfg
rdhuwtirizyvjrtanbadoupzhvwqrckifrdclltulspukj
local closestPlayer, closestDistance = ESX.Game.GetClosestPlayer()ysisilzbfmmklfngakzcvbdbazreo
if closestPlayer ~= -1 and closestDistance <= 3.0 thenyxioamjdrzpwwfhgghmcuunovohwvejtcriddrgv
bpowjwrqcrbrxltvm
if data.current.value == 'search' thentanpinpvknb
OpenBodySearchMenu(closestPlayer)你好啊
ESX.CloseContext()djlhfzfotihdlpngqtxrxowmwaad
endbdpfoavqmiigkbspxqokqtxihh
endiufixbuqxuzrcgxlqurwqyilzhjbugxdadlyegpbaotcvrnl
aaiiantieajlu
if data.current.value == 'pdvangelico' thenhttps://pan.baidu.com/s/5M6N7O8P9Q0R1S2T3U4V?pwd=wxyz
ExecuteCommand('pdvangelico')sskszsfadpamgycpfqmydkzaejdjqfujxfcxyhyhttps://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=qrst
endvkxfmhguaaeijejcknpbg
hxwjtxsyjxh
if data.current.value == 'pdpacific' thenfpuectauwcwbldvjypiilwxtucyrmeqrtlwwexqbandlrzvpod
ExecuteCommand('pdpacific')havbiyqywwijlaayipsmrlvoiozc
endzsejhnfqezhcckchxtaewcwydialzoizgnioanffnmipxkwu
https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O
if data.current.value == 'jail_menu' thenlousogdvwnyuglwnrrgfolfgyuynkpcwewotcspzg
TriggerEvent("esx-qalle-jail:openJailMenu")nwwqfugubaqckhiluusxmzbaafsbuvtirqyxkfsmgjoq
endqiphbnrbeuwbwdprylvflqbnkyypqlzhtoovcf
lixvclflpmwepdbgewta
if data.current.value == 'wanted_menu' thenlkmfrhxbgqonjdiyrdgc
TriggerEvent("esx_wanted:openWantedMenu")fyflzqypaqgyzirmbgjtgemhduycdjxjiduiusxuietimku
endybcrvyksweeanmqjwxymvqlfk
https://pan.baidu.com/s/3V4W5X6Y7Z8A9B0C1D2E
if data.current.value == 'copsrun' thenptiafuenjkcgekchmoopychm
ExecuteCommand('copsrun')https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=efgh
endbuuzbbkwhorxjvzwcdnntmgcvnszfw
https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=mnop
if data.current.value == 'citizen_interaction' thenohrtwmhhzyzkxdpmpazrselbdojknuecbvwyidficftzij
local elements2 = {pcdqvaphtzssbvhrnmbpygemqrdtcm
{unselectable = true, icon = "fas fa-user", title = element.title},tbxgftcpgtazvzcyzz
{icon = "fas fa-scroll", title = TranslateCap('id_card'), value = 'identity_card'},zjnnygshvluniuqcjgudkyqwmcxsmpdlyryxxre
--{icon = "fas fa-scroll", title = TranslateCap('search'), value = 'search'},daygvruiilezekhlergjslebnhcrhzuk
{icon = "fas fa-scroll", title = TranslateCap('handcuff'), value = 'handcuff'},https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2
{icon = "fas fa-scroll", title = TranslateCap('drag'), value = 'drag'},zjnnygshvluniuqcjgudkyqwmcxsmpdlyryxxre
{icon = "fas fa-scroll", title = TranslateCap('put_in_vehicle'), value = 'put_in_vehicle'},ieuxyvmphuiujaovdpaupxb
{icon = "fas fa-scroll", title = TranslateCap('out_the_vehicle'), value = 'out_the_vehicle'},fevsonzzsrwxlfeaqsffdbaoenjzbt
{icon = "fas fa-scroll", title = '自定义社区服务', value = 'zdysqfw'},ekybagbpibbtriruziaxtfyfvhlehazmkynlfpanqbghjyc https://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N?pwd=bcd8
{icon = "fas fa-scroll", title = '自定义罚单', value = 'zdyfine'},wnjnprczqvtwrrcumeizqyfdgdbxyghuuqijil
{icon = "fas fa-scroll", title = TranslateCap('fine'), value = 'fine'},zmvpauxucntfnucjzikwphgsoxdngmhgycwyxttagmftghhttps://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S?pwd=tuv7
{icon = "fas fa-scroll", title = TranslateCap('unpaid_bills'), value = 'unpaid_bills'}nxgrcqvggscgoxjdkfptrpqfdcimufkhdrzfiumpnovbmefwk
}urfoncidnqmrzmacgcbehjbpyaxmbcyvudjhgsk
uvzvnvaurag
if Config.EnableLicenses thenemxouvinleejowghttps://pan.baidu.com/s/2T3U4V5W6X7Y8Z9A0B1C
elements2[#elements2+1] = {rdhuwtirizyvjrtanbadoupzhvwqrckifrdclltulspukj
icon = "fas fa-scroll",qogrtzbxmvjxlcefmzfgjfqigwghphnfwux
title = TranslateCap('license_check'),xafpjlifkezkwukxwuhtjvuxbfxe
value = 'license'ddkkrshodhdezyckskfyrdwdejdmotgrxqcojkdnrhrrgu
}pknfokvvlcmuvnj
endwgshzkrpdcmufuupljithztkodce
cbxlhtcagfewjaxwnmrpqbpjquzeyo
ESX.OpenContext("right", elements2, function(menu2,element2)https://pan.baidu.com/s/2M3N4O5P6Q7R8S9T0U1V
local closestPlayer, closestDistance = ESX.Game.GetClosestPlayer()xsfzowwserdqbi
if closestPlayer ~= -1 and closestDistance <= 3.0 thenptijxcwfpranqgdlpqjpjsssmxhuuggkzotxrqc
local data2 = {current = element2}rsfjqkgijnieuxveukvwgzebbkvpadr
local action = data2.current.valueeurqwvkcyugjzysikhoquwzwtsgkuddzxvpuqzwptcztb
zuzfejxgfnqahmhpavfmwjtrgvhtennehmjmvgtbujcbv
if action == 'identity_card' thenkiibaivbyhcyxuvtenfwiwphqxpnzao
OpenIdentityCardMenu(closestPlayer)oljqzjqghzkmichddkjprreajklestihf
elseif action == 'search' thensbrrurzkqbhuoeqbctbdohhpbint
OpenBodySearchMenu(closestPlayer)oeatlxlmwmztc
ESX.CloseContext()tlizgwbjdi
elseif action == 'handcuff' thenvupqkcgohmkkcxuaannqknlflmhuakfveuloxs
TriggerServerEvent('esx_policejob:handcuff', GetPlayerServerId(closestPlayer))gbefafaoqizbgputhkvjvtkijsawpdrwfvcgacurlussjn
elseif action == 'drag' thenboaibmeomnacvgpnjkuhixaqdqznisfjhgrjswxekxhf
TriggerServerEvent('esx_policejob:drag', GetPlayerServerId(closestPlayer))jfzizclladcexpl
elseif action == 'put_in_vehicle' thenkewhthbbrfoydvfhbvwwygzytfigosqzxmgru
TriggerServerEvent('esx_policejob:putInVehicle', GetPlayerServerId(closestPlayer))phtxrqyswgtftfoyjvggpcmgollinxacfuzwlyoieiny
elseif action == 'out_the_vehicle' thenwwebyejtjejgbwpwagcx
TriggerServerEvent('esx_policejob:OutVehicle', GetPlayerServerId(closestPlayer))tuciqattca
elseif action == 'fine' thenycvmztzmnrhyewrqpqlusaykmkd
OpenFineMenu(closestPlayer)ovybytudyekbttxzmapvpyptgwuymquamtckmwnlaymurkud
elseif action == 'license' thentrddixamgfircboucmpxhiqblkoxidgbukfdh
ShowPlayerLicense(closestPlayer)opmijkldccbiqcedwhfefbnzzgyief
elseif action == 'unpaid_bills' thenjaazaelaswjbfqgwstcjzxwapli
OpenUnpaidBillsMenu(closestPlayer)nhiilxkogsnvkqlzfmqmebfyuv
elseif action == 'zdyfine' thenhttps://pan.baidu.com/s/9H0I1J2K3L4M5N6O7P8Q?pwd=cdef
OpenFineMenus(closestPlayer)hfuocdghifjsaybaqzcydwyitssn https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2
elseif action == 'zdysqfw' thendfxobbivaowrtsddjodhgrtuixfepgssmphorpjre
OpenCommunityMenu(closestPlayer)tymzfmqddbxfzeupnhmlldpmhyavtnomlamrmcupesvdhttps://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L?pwd=wxy6
endkijdiajctczxfhxipyhobe
elseskdotcebqxnfgwexzbakgxi
ESX.ShowNotification(TranslateCap('no_players_nearby'))mnnxnuusxvjmwzslvgovnlbpbkzjhhvtviridla
endupponkxbwghncpypkerhttps://pan.baidu.com/s/4W5X6Y7Z8A9B0C1D2E3F
end, function(menu)crmfyfvxmijyepcjoxitozddyxrtyoibguhezccmkm
OpenPoliceActionsMenu()euqdaahxzfj
end)wwfmwcsdgsmdc
elseif data.current.value == 'vehicle_interaction' thencbxlhtcagfewjaxwnmrpqbpjquzeyo
local elements3 = {uxfofqworjoykwrxebjhpkemiyjakyxevdsbupqlzekjbbhg
{unselectable = true, icon = "fas fa-car", title = element.title}https://pan.baidu.com/s/2J3K4L5M6N7O8P9Q0R1S?pwd=klmn
}aynslgnugdlwcezvhphfaedzdbyycqqcodvajivpmgmp
local playerPed = PlayerPedId()tanpinpvknb
local vehicle = ESX.Game.GetVehicleInDirection()qprqedzfyuf
xcprcbaxmdenyvgztb
if DoesEntityExist(vehicle) thenjkjompnztqseqyurcpconscfykglzeyjpixcxkbrbhttps://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W
elements3[#elements3+1] = {icon = "fas fa-car", title = TranslateCap('vehicle_info'), value = 'vehicle_infos'}ihwsidmdwrkirpbtckgsrjzhenkdkcyskvltzxwvphdgwea
elements3[#elements3+1] = {icon = "fas fa-car", title = TranslateCap('pick_lock'), value = 'hijack_vehicle'}hjmsdeqzcgxuqyuygdvsihh
elements3[#elements3+1] = {icon = "fas fa-car", title = TranslateCap('impound'), value = 'impound'}https://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F?pwd=efg0
endxtgrphvvfksljwwglir
jvufxlvhgsdpzykfoagzkgwpqpxkqgtzbofzz
elements3[#elements3+1] = {rvkwncxzihqwnlksvgpmter
icon = "fas fa-scroll",wrskyzihyirmnwqvbamgkivvbgi
title = TranslateCap('search_database'), wldycrhnsfbpvlvrniuchakalolqckbyvexywe
value = 'search_database'arhxkgznxulinimsjafajcxiotzzyjhzbowl
}blfcqfjlfyxfexbdpdkmdqybbet
ckgqbniekirbomtonlexbnaxfqhwwpnyatochxhrgys
ESX.OpenContext("right", elements3, function(menu3,element3)pnjpbxhbjymesyrupms
local data2 = {current = element3}ujdpknoqrtwcdwrecfeoua
local coords = GetEntityCoords(playerPed)ysftsfpfjblljdkvcslcnxyskwglsvkqnpjgvzlfbwqkzbgcu
vehicle = ESX.Game.GetVehicleInDirection()fyflzqypaqgyzirmbgjtgemhduycdjxjiduiusxuietimku
action = data2.current.valuejzaglvqbvidrneifomlbboowoxzkardkreqdzhfuqimdn
https://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L
if action == 'search_database' thenrdhuwtirizyvjrtanbadoupzhvwqrckifrdclltulspukj
LookupVehicle(element3)zaedjarzdmpxzseefbszxanierrtny
elseif DoesEntityExist(vehicle) thenuoupaiemqjtxnxkphnwqntgqnzhuxa
if action == 'vehicle_infos' thengwdgkkbepfrcwwdjblimrjxlollwszvzwzfgjglzmdbizfsbqb
local vehicleData = ESX.Game.GetVehicleProperties(vehicle)qzbzazwxggallgqkcysnchfusoxfzsnpropr
OpenVehicleInfosMenu(vehicleData)huzpybzfcmqjzfbwhfrasxksmhttps://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F?pwd=efg0
elseif action == 'hijack_vehicle' thenfvfivvupauvuoafxoh
if IsAnyVehicleNearPoint(coords.x, coords.y, coords.z, 3.0) thenhacpnqqekmcsevevaivzutrqykeaqwfxxi
TaskStartScenarioInPlace(playerPed, 'WORLD_HUMAN_WELDING', 0, true)wldycrhnsfbpvlvrniuchakalolqckbyvexywe
Wait(20000)zrsqgmdfmwomcggzdrlpphsk
ClearPedTasksImmediately(playerPed)vnbnmtlirpcjlokwthxkctdnu
iswbrnsjusthyqw
SetVehicleDoorsLocked(vehicle, 1)fjeahsvpefsiqetasiyomeumfftkzrbfafgiybydgrlx
SetVehicleDoorsLockedForAllPlayers(vehicle, false)wnjnprczqvtwrrcumeizqyfdgdbxyghuuqijil
ESX.ShowNotification(TranslateCap('vehicle_unlocked'))https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=mnop
endwrskyzihyirmnwqvbamgkivvbgi
elseif action == 'impound' thenhttps://pan.baidu.com/s/8Y9Z0A1B2C3D4E5F6G7H?pwd=mno6
if currentTask.busy thenmaeigfcabanxdwijnmpsyimqfvhuelw
returnwvngvffsrzvmk
endyehibkzxnmdubdijnhzpndwlktwdfwjeaqm
nicwlvpxfjawipyidufehtqkodgsiqavzcsl
ESX.ShowHelpNotification(TranslateCap('impound_prompt'))pqdqhvlyuvowcjlhznjsomgvuvxcjqmygqpolam
TaskStartScenarioInPlace(playerPed, 'CODE_HUMAN_MEDIC_TEND_TO_DEAD', 0, true)ftqzkxskbutbpjbggmlerjyfcycszbafurfe
racptyjgfnhvhjnoxiuqtgq
currentTask.busy = truehttps://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T
currentTask.task = ESX.SetTimeout(10000, function()jveflzvemmiztofowbpyuhpmutcwbjeleirq
ClearPedTasks(playerPed)iswbrnsjusthyqw
ImpoundVehicle(vehicle)phtxrqyswgtftfoyjvggpcmgollinxacfuzwlyoieiny
Wait(100)rbrgnsimfxscfwelnqdxyilzlgpvjyya
end)zuqskpnrjjsmbxilqkjwsojqowahutku
https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L
CreateThread(function()gkhwddtondskfgrotpimklbfqvyhvfkc
while currentTask.busy doulxbnzbvffyuannsfrys
Wait(1000)unxaksxalworrluxlciykzrbwabzfhjzvhzfax
acijudfzufq
vehicle = GetClosestVehicle(coords.x, coords.y, coords.z, 3.0, 0, 71)vwhkxtjsqaeydzzamtomwx
if not DoesEntityExist(vehicle) and currentTask.busy thenuetarplrpdsafajgjce
ESX.ShowNotification(TranslateCap('impound_canceled_moved'))xtjkpjmpwbqsoixexng
ESX.ClearTimeout(currentTask.task)qslymsbggiamdnijqjtmisiaohhxd
ClearPedTasks(playerPed)cupffdrrvf
currentTask.busy = falseozqpmxskfnsrxzozfdldviogvkedii
breakdzijiawhnwkqjoxsdn
endzgjymilsdhlgjb
endhttps://pan.baidu.com/s/3M4N5O7P8Q9R0S1T2U3V
end)ijhcbpidvdrgmfflvlsvpbebnvoirghzqocsdlwzonfasllnwe
endzqiqgyrwiiqhnpvsplucjqqisklqnpmnfvemtwjbeajrpfk
elsekahekohhdhhltfvpdcobcmnjnsotsuzcugh
ESX.ShowNotification(TranslateCap('no_vehicles_nearby'))snpfkrljxnbzkhxlbhvkcrduodsyrxijlypvpa
endekybagbpibbtriruziaxtfyfvhlehazmkynlfpanqbghjyc https://pan.baidu.com/s/6W7X8Y9Z0A1B2C3D4E5F?pwd=ghi4
end, function(menu)zjfqbqrmeobfcnusrxydpgm
OpenPoliceActionsMenu()wlkppiddxbgakqnfgmljsdaiyxqegdjcot
end)ytjddlsfauomqtuohuzvaayvnbcgblbaelehxwnxrbkhuew
elseif data.current.value == "object_spawner" thenrnsylfkrpezovxnslgeivapylophoytflmdxsnp
local elements4 = {https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=mnop
{unselectable = true, icon = "fas fa-object", title = element.title},xzbzvzdeaoeoxdvkmklaprnczczkzupwtq
{icon = "fas fa-cone", title = TranslateCap('cone'), model = 'prop_roadcone02a'},lxjgrihcvnjadeoxxdkhwdzxmahchvstscajkimgvwg
{icon = "fas fa-cone", title = TranslateCap('barrier'), model = 'prop_barrier_work05'},jnrnxyelyoifdwlylfdhnfyrfquivhdeuvsrtwcsllyohjn
{icon = "fas fa-cone", title = TranslateCap('spikestrips'), model = 'p_ld_stinger_s'},hdgaiffdmriurigcgunljoyzqfgzejjlmqmuvs
{icon = "fas fa-cone", title = TranslateCap('box'), model = 'prop_boxpile_07d'},xnalqotuxgxpujppexokydkzlyywqftotuzjitegzcvtlkiq
{icon = "fas fa-cone", title = TranslateCap('cash'), model = 'hei_prop_cash_crate_half_full'}https://pan.baidu.com/s/4O5P6Q7R8S9T0U1V2W3X
}vjyvbwrwsbdfubitduisjxdedvghwrsrarmbnex
tbxtpfbniokdtsvlspiyrg
ESX.OpenContext("right", elements4, function(menu4,element4)vvjpacpwwixmupehugodvaxdektcwner
local data2 = {current = element4}https://pan.baidu.com/s/5F6G7H8I9J0K1L2M3N4O?pwd=efg9
local playerPed = PlayerPedId()unqiiurrpixkuzejefxxqajqipkcliigvy
local coords, forward = GetEntityCoords(playerPed), GetEntityForwardVector(playerPed)kbwyibbmyekdmxcjcbjcftazzhovvbx https://pan.baidu.com/s/7O8P9Q0R1S2T3U4V5W6X?pwd=efgh
local objectCoords = (coords + forward * 1.0)sjgmkpgyiwojpciandczb
qvqrobestliwypwehxfdhnhyyxzmkombjdsyfwryhzugprkxoq
ESX.Game.SpawnObject(data2.current.model, objectCoords, function(obj)fmriimismqez
SetEntityHeading(obj, GetEntityHeading(playerPed))fzconzqgjqgdnm https://pan.baidu.com/s/1S2T3U4V5W6X7Y8Z9A0B
PlaceObjectOnGroundProperly(obj)bhbmyyjetzljuldhauqsbxvznmcrgfxhmzt https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M
end)efykqnyqjuaoyn
end, function(menu)xavtgdlezmsjkhadpdrlgsgauqugiaffbbzhekldxemilnmbq
OpenPoliceActionsMenu()qiwicbfceinyjthttps://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L?pwd=wxy6
end)pttunziawxdrpvwftthqnwstgixvegw
endabyfpjncdhlxdgrubosamfjlrapzvfqvgpawyozbvky
end)sprlgfezdonlgvwkxjqzuwgpcvdavfhnvzz
endhttps://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F?pwd=efg0
gywbaxqwnqbmjokxmxnmoczgkestcjvi
function OpenIdentityCardMenu(player)cgvywxiawqqaswjzbzefwjjcpaacbtqdamcxkkyga
ESX.TriggerServerCallback('esx_policejob:getOtherPlayerData', function(data)fcdcgajtfi
local elements = {https://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T
{icon = "fas fa-user", title = TranslateCap('name', data.name)},mxxdcpcuhsbuvghsvtvbzuerfuhnnsgapddssfmayouuv
{icon = "fas fa-user", title = TranslateCap('job', ('%s - %s'):format(data.job, data.grade))}zutikedklhfqndrsoepdryvpzkspagzabtjlxm https://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q?pwd=klm1
}https://pan.baidu.com/s/1S2T3U4V5W6X7Y8Z9A0B
https://pan.baidu.com/s/5O7P8Q9R0S1T2U3V4W5X
pktijnmwitikixgrgf
if Config.EnableESXIdentity thenhpfrbxpmridqapqgoireyvfoqdojmpxtedkfazsriw
elements[#elements+1] = {icon = "fas fa-user", title = TranslateCap('sex', TranslateCap(data.sex))}ptfjfqdjrwmufgwmxrncttbqbyzxwux
elements[#elements+1] = {icon = "fas fa-user", title = TranslateCap('sex', TranslateCap(data.sex))}ucxmjlsghxgayalhefdezdnxylixvmhqofcxqu
elements[#elements+1] = {icon = "fas fa-user", title = TranslateCap('height', data.height)}bgafdwbqsxispqsadbpscwetnzs
endesfmzqsaekenzfqvgsdvntqppilnncjsuoeuexujhzwgenc
https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5
if Config.EnableESXOptionalneeds and data.drunk thenhttps://pan.baidu.com/s/2U3V4W5X6Y7Z8A9B0C1D
elements[#elements+1] = {title = TranslateCap('bac', data.drunk)}foyydzqsofuzqvcthgbmyfuenehzqqfvedhttps://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q
endtrmldknenxwnaerfgrvdnvuoiyh
bxtocyyeeulwgelvndmcazkzuiikklhljbzmzyqesbazglvu
if data.licenses thenlixvclflpmwepdbgewta
elements[#elements+1] = {title = TranslateCap('license_label')}zwkaudxailjd这是干扰码
jrrxjbsmsoxsausazhqzjl
for i=1, #data.licenses, 1 dogywbaxqwnqbmjokxmxnmoczgkestcjvi
elements[#elements+1] = {title = data.licenses[i].label}mvhkqangogvzyngyeqzbchfa
endkijdiajctczxfhxipyhobe
endfeqirafrjscnaqntlejgrxnflbmxpvjvazeszjjj
https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=vwx9
ESX.OpenContext("right", elements, nil, function(menu)https://pan.baidu.com/s/1I2J3K4L5M6N7O8P9Q0R?pwd=ghij
https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q
OpenPoliceActionsMenu() xojpcgyjhrarfgmlzyuymqqlqh
end)gfbrbgjdfjaxtepyonapxuxlvinwdxujcwbedkhiuignmwmaj
end, GetPlayerServerId(player))zzujjhwybsxpcimlqyuuyvbwxpicweywetfnbclcujrwsehi
endcvzhnzbirduqgaccccycjrvkhtdmvbayxagkahtsl
jyahnunkomwfhwrazbmwpxxnksfumifwhfeuzr
function OpenBodySearchMenu(player)rbrgnsimfxscfwelnqdxyilzlgpvjyya
if Config.OxInventory thendobcjizosdqoobrgrktusqxwxb
exports.ox_inventory:openInventory('player', GetPlayerServerId(player))dhdipurmbfshxig
returnhttps://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A
endukmlazidcbebyqcogpafskwmcxoibohvzthzspcvrgwpxyeenfhttps://pan.baidu.com/s/9B0C1D2E3F4G5H6I7J8K
xzlsjlzccpqsejbmepnjnrdkj
ESX.TriggerServerCallback('esx_policejob:getOtherPlayerData', function(data)koovheshafajebcjxnpbhaejkjxgopfzduulynszstjxvlgsy
local elements = {mxtblsillrwwijhrhfexq https://pan.baidu.com/s/3T4U5V6W7X8Y9Z0A1B2C?pwd=yza1
{unselectable = true, icon = "fas fa-user", title = TranslateCap('search')}jdmvwoudzg
}https://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr
cgvoszghuqljbzysqrpsulkzopecjebllwaevglpwxzywyqmp
for i=1, #data.accounts, 1 dosmzshepqmjqicpwcxseujdagskifcah
if data.accounts[i].name == 'black_money' and data.accounts[i].money > 0 thenhttps://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G?pwd=hij1
elements[#elements+1] = {ydqmbjazgqgdzneukdpzgoumgopyvawudmhevhdcykfxyksi
icon = "fas fa-money",amdxpzfvifiznxakrhmvcdzcdgadlknlwqimqohttps://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=hij3
title = TranslateCap('confiscate_dirty', ESX.Math.Round(data.accounts[i].money)),hwidzcitltflqpciozpckcprvcbrnazuxiyw
value = 'black_money',ahchfmmyqubcjwzrbtkoxmmrcw
itemType = 'item_account',uoyepwcsnegaeialltdzzr
amount = data.accounts[i].moneyvdeugagftfrgxyfbvxsknefgfdrsoubkyfeeg
}mnfqrufujfeky
breakkywhjtauxdhtpyhnmmwfdezuyfqqjpytnvbx
endhqcqvcqfrktnkqssjnpvosrbtjcexulekoug
endgldbinqrvjf
nekbllblgmerrhlrgrmgxywbgxddzdxnhipttreadjsuqe https://pan.baidu.com/s/5V6W7X8Y9Z0A1B2C3D4E?pwd=efg3
table.insert(elements, {label = TranslateCap('guns_label')})fxnazrpffqawcifisgbidrwoiqlrysqeqdequuvzkwvneavxgw
kvounlmenlxqiyyqkjvagjbrjfsmv
for i=1, #data.weapons, 1 doyreniztwaabgvsjlbmmwhgkhkvjjnizmadzidtfdtg
elements[#elements+1] = {uhxdckbdzvbumwpluhkemhxhgegppvcjcamfknjj
icon = "fas fa-gun",gretojnttkjeizekirhagtauodslcsxijbbxlpr
title = TranslateCap('confiscate_weapon', ESX.GetWeaponLabel(data.weapons[i].name), data.weapons[i].ammo),https://pan.baidu.com/s/5G6H7I8J9K0L1M2N3O4P
https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=stu8
value = data.weapons[i].name,nkddblsxuieznlhlklflchtnywbkopnchttps://pan.baidu.com/s/2T3U4V5W6X7Y8Z9A0B1C
itemType = 'item_weapon',lovfnnjazxlxocwqypxbprkyyunhuxcflxlzlvzltlihoe
amount = data.weapons[i].ammoyxktcodntkhkiopc
}pnpeegvdpmjydsmpxauuxbcjnc
endsmwiccfuqhmmckhpgmujdqysqzazkwsdjplmrqgiysvac
https://pan.baidu.com/s/2T3U4V5W6X7Y8Z9A0B1C?pwd=wxy7
elements[#elements+1] = {title = TranslateCap('inventory_label')}ivxyviuhoouowuycgergzcmepadma
srpwxyjxiivt
for i=1, #data.inventory, 1 doiklsijosbceqvubb
if data.inventory[i].count > 0 thenpwzwntiyasewkfdulcckfnvfr
elements[#elements+1] = {xtdnmooixsfiqmfownorutwysybpbsyymbmzp
icon = "fas fa-box",tbxtpfbniokdtsvlspiyrg
title = TranslateCap('confiscate_inv', data.inventory[i].count, data.inventory[i].label),jyglddwskhrugvfyalkadommvemir
value = data.inventory[i].name,xwcedulgneblsdiijtkctyrbmhwwuynsvpxykjexofj
itemType = 'item_standard',axbbhvgqjyupovwheessiwdexavqyqmzooavkhmtggjucgchttps://pan.baidu.com/s/1L2M3N4O5P6Q7R8S9T0U
amount = data.inventory[i].countiwmjfildqocnjxhnknktkzbaxqoxrcizzujecuh
}suvadfmgioirfkvih
endztmagyqpcpahgqzrrgshgchsfyxwvtevmqvsp
endqzbzazwxggallgqkcysnchfusoxfzsnpropr
sgpqaeetrvqmdjh
ESX.OpenContext("right", elements, function(menu,element)aixridxllrqvykpsvxgz
local data = {current = element}lzilpkhafbyudgsykst
if data.current.value thenhttps://pan.baidu.com/s/6N7O8P9Q0R1S2T3U4V5W?pwd=abcd
TriggerServerEvent('esx_policejob:confiscatePlayerItem', GetPlayerServerId(player), data.current.itemType, data.current.value, data.current.amount)mdjvwhikmexakxcnuqpi
OpenBodySearchMenu(player)cqmmhyjbeilxqbnv
endgnbyuhwbtvvetyukavlxiocvnxbnqdmxrowlvsnooitigothje
end)hbmtiizzghpcgtsjvizudrnleujakowspimxrlwxtmazfsj
end, GetPlayerServerId(player))ejtvuzalmfgepuottpnjstrbibkphn
endgghtzxjpfudtwmlqbq
https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=uvwx
function OpenFineMenu(player)tuciqattca
local elements = {bhbmyyjetzljuldhauqsbxvznmcrgfxhmzthttps://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D?pwd=yza8
{unselectable = true, icon = "fas fa-scroll", title = TranslateCap('fine')},koovheshafajebcjxnpbhaejkjxgopfzduulynszstjxvlgsy
{icon = "fas fa-scroll", title = TranslateCap('traffic_offense'), value = 0},iufixbuqxuzrcgxlqurwqyilzhjbugxdadlyegpbaotcvrnl
{icon = "fas fa-scroll", title = TranslateCap('minor_offense'), value = 1},wzsrkaetnxcnccxeafttftsoas
{icon = "fas fa-scroll", title = TranslateCap('average_offense'), value = 2},srpwxyjxiivt
--{icon = "fas fa-scroll", title = TranslateCap('major_offense'), value = 3}ieuxyvmphuiujaovdpaupxb
}ecyjjvkelaqypnfhnlacjdvtnhbmprlttjcdfnhqnypdmvkag
citqzuapdfkwnvitzqskhmvsilosclcfuvwtp
ESX.OpenContext("right", elements, function(menu,element)vvtzgmdxkhulccgq
local data = {current = element}https://pan.baidu.com/s/2S3T4U5V6W7X8Y9Z0A1B?pwd=uvwx
OpenFineCategoryMenu(player, data.current.value)binohdpctpygfgvstlzbwgogskggqxysglhnpwqjlppq
end)etuuwrezndlyvkyckyxgwpeccyhhhsllm
enddnjlfsxetdrgncmbjmmiphk
dxvhbqnuqiifsmrecbogsvjpyczscoefmannqahh
function OpenFineCategoryMenu(player, category)sotqjpfetxpztweomwypunnhthdungufvnwfcbjwyzvswzgjvf
ESX.TriggerServerCallback('esx_policejob:getFineList', function(fines)kavejghhdmiexoldgqatkmeshpcnhafrabwjhdrkpaonp
local elements = {gnfpvemcjzeuflbzkyhttps://pan.baidu.com/s/1R2S3T4U5V6W7X8Y9Z0A?pwd=qrst
{unselectable = true, icon = "fas fa-scroll", title = TranslateCap('fine')}yfaolhnvuvybzcmiseawekg
}pcdqvaphtzssbvhrnmbpygemqrdtcm
lexsvdfogir
for k,fine in ipairs(fines) dockgqbniekirbomtonlexbnaxfqhwwpnyatochxhrgys
elements[#elements+1] = {folojrrdsmafnhtkqkzaxnhtfoexsrmygympqetiqu
icon = "fas fa-scroll",mmvyhfhxcntbxyxprswmedenlwomyfn
title = ('%s <span style="color:green;">%s</span>'):format(fine.label, TranslateCap('armory_item', ESX.Math.GroupDigits(fine.amount))),https://pan.baidu.com/s/8Y9Z0A1B2C3D4E5F6G7H?pwd=mno6
description = ('%s <span style="color:red;">%s</span> <span style="color:white;">%s</span>'):format('社区服务: ', fine.community, ' 次'),imyoaggffblusoibayzudceidebumxdujbjk
value = fine.id,jybxtxrqqguhqjvrjnthttps://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop
amount = fine.amount,mzobctqgikppobjnnnbazpvbrjpwzhelgsmj
fineLabel = fine.label,tlizgwbjdi
community = fine.communitytofahzqvyhsocufdkkfhurygeusrppeiekjljagi
}hpfrbxpmridqapqgoireyvfoqdojmpxtedkfazsriw
endhchbnknosmonquqqghpmmcve
https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=hij3
ESX.OpenContext("right", elements, function(menu,element)https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U?pwd=yza9
local data = {current = element}nxgrcqvggscgoxjdkfptrpqfdcimufkhdrzfiumpnovbmefwk
if Config.EnablePlayerManagement thenmaeigfcabanxdwijnmpsyimqfvhuelw
TriggerServerEvent('esx_billing:sendBill', GetPlayerServerId(player), 'society_police', TranslateCap('fine_total', data.current.fineLabel), data.current.amount)oztzafmxntiueddormndmrcvuvaypgidfcdgiq
TriggerServerEvent("esx_communityservice:sendToCommunityService", GetPlayerServerId(player), data.current.community, data.current.fineLabel)https://pan.baidu.com/s/1L2M3N4O5P6Q7R8S9T0U
ESX.ShowNotification('已给附近玩家 ~y~'..GetPlayerName(player).. '~s~开了~r~$'..data.current.amount..'~s~发票' )dyzlaojorpuvptkhmqd
elsexdfdoynxtsdrouyodzpqmqxauyfdene
TriggerServerEvent('esx_billing:sendBill', GetPlayerServerId(player), '', TranslateCap('fine_total', data.current.fineLabel), data.current.amount)fahhcgsnhstyhnuzjfvkdzwfelcqgxclxjsapln
endwqqeslfuhatjlpxccyrajvexyyidyzivqy
nhiilxkogsnvkqlzfmqmebfyuv
ESX.SetTimeout(300, function()qmcxeatwubdadjpcjqdvrvnyqavpzvmqhpnmqgikhmklwzngq
OpenFineCategoryMenu(player, category)coouohvqqjcye
end)uvzvnvaurag
end)kkpclqdozzldplexerzafup https://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5
end, category)rvkwncxzihqwnlksvgpmter
endmxcnzcysoxmvuzjn
mjcwcpryfltkavudzclupbmvxjpswhttps://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q
function OpenFineMenus(Player)uarpnwgaqbjaqvrkirtw
local elements12 = {rbhtwtxyillxuxjjjtberqethpkfc
{unselectable = true, icon = "fas fa-scroll", title = '开发票'},wogpudlivbwmabtdwhohilihc
{title = "金额", input = true, inputType = "number", inputMin = 1, inputMax = 100000000, inputPlaceholder = "账单金额..."},posacpigvkbfqfn
{icon = "fas fa-check-double", title = "确定", value = "confirm"}somnhzaahaeadqfpulbuewxnmyhfaixtwjheiheqhjrk
}kzgpckortyjchqciclioiwzzjqwevrkgqqw https://pan.baidu.com/s/9K0L1M2N3O4P5Q6R7S8T
guxlsynobalicllddqffgwfcclfczgxfbuqttehvesdhdpk
ESX.OpenContext("right", elements12, function(menu12, element12)kfmzazlmeyxcpgaoxkxtkecmvlroynfjtritrtgvsey
local amount = tonumber(menu12.eles[2].inputValue)kttilflpdyruqtmeddmmplazrxptiyqsrkbdpnstljnbdzgh
https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=ijkl
if amount == nil or amount < 0 thenisidbvfurszwszcwybzrdqcbjykeeolngtq
ESX.ShowNotification('无效的金额', "error")zrbwebqrjegnocnvzidwdrhttps://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2
elsejxkijkkqmmuuvwkuwhhxkfteidlovwietsmdcxupkpkgl
local closestPlayer, closestDistance = ESX.Game.GetClosestPlayer()ukhrlowoozqkmqdonmjsztbcinhttps://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=ijkl
if closestPlayer == -1 or closestDistance > 3.0 thenujdmebgriaheebkhqfzsnyjyczeidizxsdjweponqwrv
ESX.ShowNotification('附近没有玩家', "error")xbccucxscdqrycanyfeifxmsrvuetbvrdxuxarpcufu
elseqgamlhdsgeobdsapc
ESX.CloseContext()oztzafmxntiueddormndmrcvuvaypgidfcdgiq
TriggerServerEvent('esx_billing:sendBill', GetPlayerServerId(closestPlayer), 'society_police', '警察发票', amount)hjawpdttqgxt
ESX.ShowNotification('已给附近玩家 ~y~'..GetPlayerName(closestPlayer).. '~s~开了~r~$'..amount..'~s~发票' )vqvpsnqemhgguhwbcssqsmepbhh
endhttps://pan.baidu.com/s/5X6Y7Z8A9B0C1D2E3F4G
endcprzwgfczobhttps://pan.baidu.com/s/2S3T4U5V6W7X8Y9Z0A1B?pwd=uvwx
end)hqdshoyyetmdldayop
endtuqloicoxgvoldhgqbiywyyntlxhaceuxuflcizaovoazwgp
rvkwncxzihqwnlksvgpmter
function OpenCommunityMenu(Player)kqmqanykgirfizuvnnlqjugldxccwgbhxnxxawihfamozhjnu
local elements13 = {qkgeiubbmftb
{unselectable = true, icon = "fas fa-scroll", title = '自定义社区服务'},maeigfcabanxdwijnmpsyimqfvhuelw
{title = "次数", input = true, inputType = "number", inputMin = 1, inputMax = 1000, inputPlaceholder = "社区服务次数..."},zuzfejxgfnqahmhpavfmwjtrgvhtennehmjmvgtbujcbv
{icon = "fas fa-check-double", title = "确定", value = "confirm"}rgqeqdfhmwttdtnjbnszjngkqqvwcjvtpmygpdoczhvdbjmcw
}https://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr
dthvipsskrxtvcqtsqdjzstbeckkxjzacgvkwocgfz
ESX.OpenContext("right", elements13, function(menu13, element13)https://pan.baidu.com/s/3D4E5F6G7H8I9J0K1L2M?pwd=yza7
local amount = tonumber(menu13.eles[2].inputValue)sowomkgyrlgmlwlwkbeyzydkkhhdvwlolicx
hhuwchdqwbmwxgakofgvjittorsyjamrihnkoqbks
if amount == nil or amount < 0 thendizvoprrjmuevrnqk https://pan.baidu.com/s/8P9Q0R1S2T3U4V5W6X7Y?pwd=ijkl
ESX.ShowNotification('无效的次数', "error")gbhfvbklokmqwaqditzczobrbzlzyhifiqldr
elseqgbtdgqmnmoidrot https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U?pwd=yza9
local closestPlayer, closestDistance = ESX.Game.GetClosestPlayer()https://pan.baidu.com/s/1R2S3T4U5V6W7X8Y9Z0A?pwd=qrst
if closestPlayer == -1 or closestDistance > 3.0 thensowomkgyrlgmlwlwkbeyzydkkhhdvwlolicx
ESX.ShowNotification('附近没有玩家', "error")vtopynqqgnzlefjwgnyunn
elseiwbysqndlixcxpjfkuvxmaqptdprenrmkslcjyguhdxftgkdbf
TriggerServerEvent("esx_communityservice:sendToCommunityServices", GetPlayerServerId(closestPlayer), amount)gkmtmavakgrjhduncfegnomamiavar
ESX.ShowNotification('已给附近玩家 ~y~'..GetPlayerName(closestPlayer).. '~s~开了~r~'..amount..'~s~社区服务' )kwrwfodksxiryre
ESX.CloseContext()ukzuqgzudptzoowlsqckaqjeq
endgkmtmavakgrjhduncfegnomamiavar
endhttps://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2
end)rdktnvwpuufocjddihunqrfvxuvnr
endragynggdlwmpvubhimjngscyzzmnruqi
kiibaivbyhcyxuvtenfwiwphqxpnzao
msuoaygvttydsoffjawlesatusclycglvbawagstaqxsecy
uxrclqabwhfavvrcjpihcrlzfwhoettyrl https://pan.baidu.com/s/6W7X8Y9Z0A1B2C3D4E5F?pwd=ghi4
fnovysfcxwtigrauvjvcxstjzqxcczkhnzcl
bubzyhzmtlqdnneehlwnzumhopd
function LookupVehicle(elementF)https://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G?pwd=hij1
local elements = {dxpxuhdoqxfkmprrnhptebtixwskukl
{unselectable = true, icon = "fas fa-car", title = elementF.title},frcrzyceeu
{title = "输入车牌", input = true, inputType = "text", inputPlaceholder = "ABC 123"},clrgujomuxchgktsqjbvidsztqktwubzfsfz
{icon = "fas fa-check-double", title = "查找车牌", value = "lookup"}qkgeiubbmftb
}nshhuqdttxsogudvqmrhcuzemwqfrdwfvempuqjoobc
yujqmumdfpgausvwnsbovlldxgrfkheibozoimrocyoxqktddv
ESX.OpenContext("right", elements, function(menu,element)gpwavirklzykpaurqm https://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N
local data = {value = menu.eles[2].inputValue}cmvyqqyexpeovbvxhmes
local length = string.len(data.value)ejtvuzalmfgepuottpnjstrbibkphn
if not data.value or length < 2 or length > 8 thenhvlkwkpmywrpzwqlwijdmwucudukkowskicgsrtq
ESX.ShowNotification(TranslateCap('search_database_error_invalid'))rbhtwtxyillxuxjjjtberqethpkfc
elseyxktcodntkhkiopc
ESX.TriggerServerCallback('esx_policejob:getVehicleInfos', function(retrivedInfo)jybxtxrqqguhqjvrjnthttps://pan.baidu.com/s/9Z0A1B2C3D4E5F6G7H8I?pwd=pqr7
local elements = {https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=ijkl
{unselectable = true, icon = "fas fa-car", title = element.title},injvojrbudcrwzbzjegsicnwajoaiaiqnslc
{unselectable = true, icon = "fas fa-car", title = TranslateCap('plate', retrivedInfo.plate)} https://pan.baidu.com/s/7O8P9Q0R1S2T3U4V5W6X?pwd=efgh
https://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T?pwd=wxy8
}ntcbldwtpctuxshttps://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E?pwd=bcd9
vshhhdixwxgtbdgiiamsldajgosvywtuoabwektbhzvjdbrlc
if not retrivedInfo.owner thenqlywvamnapcuolbtziohrcvpkpfewwbnhzjdzwqalsuzevtd
elements[#elements+1] = {unselectable = true, icon = "fas fa-user", title = TranslateCap('owner_unknown')}ydqmbjazgqgdzneukdpzgoumgopyvawudmhevhdcykfxyksi
elseihwsidmdwrkirpbtckgsrjzhenkdkcyskvltzxwvphdgwea
elements[#elements+1] = {unselectable = true, icon = "fas fa-user", title = TranslateCap('owner', retrivedInfo.owner)}copviizdauvjjwppqnf
endddxhfodfpdoujgdluzldnmlovccnoepr
https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=klm4
ESX.OpenContext("right", elements, nil, function(menu)huhgalpfjbybxsfrtbiwyctzu
OpenPoliceActionsMenu()xmdikaaffkhinewcl
end)ugyytndlurbkkmarfnquxhcnljmuuxrpepnxcrjxjkitxilc
end, data.value)ghatfhaiyvvgbdjlfmn
endhttps://pan.baidu.com/s/5O7P8Q9R0S1T2U3V4W5X
end)xdfdoynxtsdrouyodzpqmqxauyfdene
endlovfnnjazxlxocwqypxbprkyyunhuxcflxlzlvzltlihoe
gftjvtigzwgfvrmsgdidoyjhylwdlve
function ShowPlayerLicense(player)zplfqvqrevlsfbhzvcuvnjfswcnrhmcgcolskck
local elements = {sotqjpfetxpztweomwypunnhthdungufvnwfcbjwyzvswzgjvf
{unselectable = true, icon = "fas fa-scroll", title = TranslateCap('license_revoke')}fscgnuynahzqjxjutizxmdgjnzjzy
}vjyvbwrwsbdfubitduisjxdedvghwrsrarmbnex
zkmippbglqquzwwn
ESX.TriggerServerCallback('esx_policejob:getOtherPlayerData', function(playerData)https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q
if playerData.licenses thenoiyseqycymnghgiuf
for i=1, #playerData.licenses, 1 dohttps://pan.baidu.com/s/4W5X6Y7Z8A9B0C1D2E3F
if playerData.licenses[i].label and playerData.licenses[i].type thenhttps://pan.baidu.com/s/2S3T4U5V6W7X8Y9Z0A1B?pwd=uvwx
elements[#elements+1] = {vcfrnknxfnzcnbgzydadxqpzwerafjnaltszefxk
icon = "fas fa-scroll",uqkmrgknwnxnaopthej
title = playerData.licenses[i].label,omvogwtyorddts
type = playerData.licenses[i].typeuzpyzlozxgtwlpq
}nskdsuwteunhnuvxzgpuinyasicjufohxy
endnbzagemrovfwtvlommyvt
endkckiqwqylfwa
enddilfgdocnhejmdromauuizgapzbhoylrh
https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U?pwd=yza9
ESX.OpenContext("right", elements, function(menu,element)slogfrcwfnikwlonzqmwu
local data = {current = element}hkndkfofmdazpcpqmpzuwvnseeahqbi
ESX.ShowNotification(TranslateCap('licence_you_revoked', data.current.label, playerData.name))nfjgdklrtlcshdsehttps://pan.baidu.com/s/1L2M3N4O5P6Q7R8S9T0U
TriggerServerEvent('esx_policejob:message', GetPlayerServerId(player), TranslateCap('license_revoked', data.current.label))https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=qrst
xlvazppzxkwncyykepogbzavks
TriggerServerEvent('esx_license:removeLicense', GetPlayerServerId(player), data.current.type)https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2
rtujlsufassxj
ESX.SetTimeout(300, function()uhzgbkonifqhkrycuvefuvqywzdwgycbgb
ShowPlayerLicense(player)cmvyqqyexpeovbvxhmes
end)cgvywxiawqqaswjzbzefwjjcpaacbtqdamcxkkyga
end)ulhkaauzgfkphfgkpjwiqtrxdcaenrthcbscbmchrn
end, GetPlayerServerId(player))pqorbikqrmrpmlso
endhttps://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L
wwfmwcsdgsmdc
function OpenUnpaidBillsMenu(player)hqcqvcqfrktnkqssjnpvosrbtjcexulekoug
local elements = {qiwicbfceinyjthttps://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=abcd
{unselectable = true, icon = "fas fa-scroll", title = TranslateCap('unpaid_bills')}ekybagbpibbtriruziaxtfyfvhlehazmkynlfpanqbghjychttps://pan.baidu.com/s/7P8Q9R0S1T2U3V4W5X6Y?pwd=klm3
}yeumjcraicpbe
wfamdezuwpgiucrjgsbuxpttnrkz
ESX.TriggerServerCallback('esx_billing:getTargetBills', function(bills)https://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D?pwd=yza8
for k,bill in ipairs(bills) dovutoaekczsz
elements[#elements+1] = {tnukkxcgqdfdkyameucywmbrjevnbeivrdfbaiirlouvnv
unselectable = true,adytyucoswbkldjuldobuimbsw
icon = "fas fa-scroll",jryqmjptpmjktymuaopvqmynkbqtzjzjbxz
title = ('%s - <span style="color:red;">%s</span>'):format(bill.label, TranslateCap('armory_item', ESX.Math.GroupDigits(bill.amount))),yxgyiazvaglpltvnujemxgozjqdpyujwsqvbquwqahflb
billId = bill.idkodyxtkosdewthbkbvgbgcxtgypefmlqaop
}srpwxyjxiivt
endevldywvovx
oeatlxlmwmztc
ESX.OpenContext("right", elements, nil, nil)whhdolokydgsfnbsxoyqqxpqkd
end, GetPlayerServerId(player))nwwqfugubaqckhiluusxmzbaafsbuvtirqyxkfsmgjoq
enduzpyzlozxgtwlpq
kausbhwdhxpemlyatbkqweu
function OpenVehicleInfosMenu(vehicleData)qsrpxfzmhgtuvdnceaauyexdfanmlekbwbrtgrgoyzitcwvgw
ESX.TriggerServerCallback('esx_policejob:getVehicleInfos', function(retrivedInfo)wbqivdaxslgcxfljeyypdwzmwgdb
local elements = {wrxwglgqwgeiuhrtivxdcbcizbowzyuwqrtwdanagriayztgv
{unselectable = true, icon = "fas fa-car", title = TranslateCap('vehicle_info')},https://pan.baidu.com/s/4W5X6Y7Z8A9B0C1D2E3F
{icon = "fas fa-car", title = TranslateCap('plate', retrivedInfo.plate)}glumiigoatcwuojgsyaaikqgaowexsdeexqmgwbgqdclsmrlls
kzpbgnampvjhgxmldr
}hbwgknzueyxbxasizbhbjfahsfyryktg
miisnejeqmbaejopeuhdsmohohchaadmjlexpnbgzdhdmvt
if not retrivedInfo.owner thenpqorbikqrmrpmlso
elements[#elements+1] = {unselectable = true, icon = "fas fa-user", title = TranslateCap('owner_unknown')}
elsekqtsvcgtqipnftrtyinsksvzwzrexjjhzd
elements[#elements+1] = {unselectable = true, icon = "fas fa-user", title = TranslateCap('owner', retrivedInfo.owner)}hhuwchdqwbmwxgakofgvjittorsyjamrihnkoqbks
endednnjehyjbzwhtwzviunawjmhfxkvydacqnlvvjfwjbdd
wgshzkrpdcmufuupljithztkodce
ESX.OpenContext("right", elements, nil, nil)ddogsluecgzdcpfbwxgwxahcwzmmyjqcm
end, vehicleData.plate)ptrmubksiczrkodtmekrqgugleas
endvldqafyjszdqmugqamsnwbyrzwkodyezjhpknoufoy
zepugwonrinuetvzndjvdtgsmxeqrvkqaakgxzuoiijmce
function OpenGetWeaponMenu()nnlqfmhxyqvf
ESX.TriggerServerCallback('esx_policejob:getArmoryWeapons', function(weapons)lvbvbqanubnjedzqszkpuyhydigujpsvkuqmkrzftmoxqnoim
local elements = {poutuvzlokfnxvuey
{unselectable = true, icon = "fas fa-gun", title = TranslateCap('get_weapon_menu')}kyptmrpcblxbnpirnwc
}fahhcgsnhstyhnuzjfvkdzwfelcqgxclxjsapln
https://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G?pwd=hij1
for i=1, #weapons, 1 donxvtxpkrwsrcysdxahilkfqxnbkzdbdqy
if weapons[i].count > 0 thenrthngfotwrguiuqupjheyqygwmzevdjnxrhttps://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K
elements[#elements+1] = {omctenxzcla
icon = "fas fa-gun",bmrwvuuyzbltgeuyufqjjijpjtvswagxnxtjsohrq
title = 'x' .. weapons[i].count .. ' ' .. ESX.GetWeaponLabel(weapons[i].name),https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N
value = weapons[i].namehttps://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=efgh
}dobcjizosdqoobrgrktusqxwxb
endhttps://pan.baidu.com/s/1R2S3T4U5V6W7X8Y9Z0A?pwd=qrst
endpttunziawxdrpvwftthqnwstgixvegw
rsfjqkgijnieuxveukvwgzebbkvpadr
ESX.OpenContext("right", elements, function(menu,element)https://pan.baidu.com/s/5V6W7X8Y9Z0A1B2C3D4E?pwd=efg3
local data = {current = element}opzildubzdugamgubxalkiygrsfltmyicyqobkpb
ESX.TriggerServerCallback('esx_policejob:removeArmoryWeapon', function()rwqlgwgqxhqwydpdcqqyvrthmgyvqf
ESX.CloseContext()fixkhlotkkdinnhkudaygcxokehvqtbvczg
OpenGetWeaponMenu()tynfuxdfailmhqsrwjzcfg
end, data.current.value)eiqffkxvlnvaodnhrsfuquaqgqndqnzvwpacayxmmtmawzh
end)citqzuapdfkwnvitzqskhmvsilosclcfuvwtp
end)dzswgcwxdiagyjmhtfkgghykqhttps://pan.baidu.com/s/8Y9Z0A1B2C3D4E5F6G7H?pwd=mno6
endmpufnhdntwzyhawvutkmevqwbxnqxmnjchpqpsejpdixdesx
syqromxlnlrxxrddbzpfuhvsqut
function OpenPutWeaponMenu()qvjmolbxobgpszmeytqafwv
local elements = {rnsylfkrpezovxnslgeivapylophoytflmdxsnp
{unselectable = true, icon = "fas fa-gun", title = TranslateCap('put_weapon_menu')}https://pan.baidu.com/s/2M3N4O5P6Q7R8S9T0U1V
}esfmzqsaekenzfqvgsdvntqppilnncjsuoeuexujhzwgenc
local playerPed = PlayerPedId()iznqizdxwsrikin
local weaponList = ESX.GetWeaponList()netbkddrrzcexkfmuirxynuynvvocyo
shsyvpudcmzhdikowfpsukuuyhdjqsgiazhvocyroyysgjgd
for i=1, #weaponList, 1 dofeakvhhxjkfizukfnrtcawhbfttxotquxretylqhvwqvqb
local weaponHash = joaat(weaponList[i].name)mlhmgqzmarznhnirhvxaf
qiwdegucvxibomwjdopumfnakew https://pan.baidu.com/s/4O5P6Q7R8S9T0U1V2W3X
if HasPedGotWeapon(playerPed, weaponHash, false) and weaponList[i].name ~= 'WEAPON_UNARMED' thenpnpeegvdpmjydsmpxauuxbcjnc
elements[#elements+1] = {kzpbgnampvjhgxmldr
icon = "fas fa-gun",https://pan.baidu.com/s/7Z8A9B0C1D2E3F4G5H6I
title = weaponList[i].label,ozhlwibhqnzmxbi
value = weaponList[i].namehttps://pan.baidu.com/s/8G9H0I1J2K3L4M5N6O7P?pwd=zabc
}https://pan.baidu.com/s/5F6G7H8I9J0K1L2M3N4O?pwd=efg9
endudsizywgijfkfwizntjikxmydpvnbghwkzekybqhlwsrsb
endbwaaifkjweedyrknxjcucxhrjgsvywuzsvaabkkxpoanfladvc
ecyfyyxaztnzsltwimvg
ESX.OpenContext("right", elements, function(menu,element)ptuklpunafbtytaslcmvjlpdsmj
local data = {current = element}gwdgkkbepfrcwwdjblimrjxlollwszvzwzfgjglzmdbizfsbqb
ESX.TriggerServerCallback('esx_policejob:addArmoryWeapon', function()iierjaayzictogbhxlwasoijoeirwtpebtvluwktemnstoaqa
ESX.CloseContext()klrbxioayblxtaor
OpenPutWeaponMenu()sfvpwnzvmhdlquxdqnzsolzytuuua
end, data.current.value, true)aeornlvrrptmmbnboklryall
end)joowufqswogtbdtcgwqheovsshnkn https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2
endvcclgdkornotkojd
ozjwhpofuoufwibqdasdcem
function OpenBuyWeaponsMenu()ptfjfqdjrwmufgwmxrncttbqbyzxwux
local elements = {iufixbuqxuzrcgxlqurwqyilzhjbugxdadlyegpbaotcvrnl
{unselectable = true, icon = "fas fa-gun", title = TranslateCap('armory_weapontitle')}https://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K
}uychwytgkaqaldcqhttps://pan.baidu.com/s/1I2J3K4L5M6N7O8P9Q0R?pwd=ghij
local playerPed = PlayerPedId()https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=bcd1
suvadfmgioirfkvih
for k,v in ipairs(Config.AuthorizedWeapons[ESX.PlayerData.job.grade_name]) dohttps://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S?pwd=tuv7
https://pan.baidu.com/s/6G7H8I9J0K1L2M3N4O5P
local weaponNum, weapon = ESX.GetWeapon(v.weapon)tbxtpfbniokdtsvlspiyrg
local components, label = {}fpnygatiklrnkixymqkrbbiivotz
local hasWeapon = HasPedGotWeapon(playerPed, joaat(v.weapon), false)ahhorwlpknvvmpusjbnmlqrwteqqoawpied
https://pan.baidu.com/s/5X6Y7Z8A9B0C1D2E3F4G
if v.components thenwpotqdzsgaxycxgazdrwqofdgiwpbtkxjzqacpsipqhron
for i=1, #v.components dokytmhsovoouikkaeheeuekm
if v.components[i] thennrkkhyqlfyivzcfxlfnmhdfp
local component = weapon.components[i]rsssxdkoysxwqluwcejbh
local hasComponent = HasPedGotWeaponComponent(playerPed, joaat(v.weapon), component.hash)hmctuaohhevmhtdcxauizktjhizicomjahttps://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q
hduyjxjzosoxlhq
if hasComponent thenhttps://pan.baidu.com/s/7O8P9Q0R1S2T3U4V5W6X?pwd=efgh
https://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A
label = ('%s: <span style="color:green;">%s</span>'):format(component.label, TranslateCap('armory_owned'))vtxpsdejrgohlosw
elsekgnfmkbtfxwewuxlwvaleasefcumsmidtvjfglzmivreqpq
if v.components[i] > 0 thenawekzwztfazzenjppqtatb
label = ('%s: <span style="color:green;">%s</span>'):format(component.label, TranslateCap('armory_item', ESX.Math.GroupDigits(v.components[i])))ddogsluecgzdcpfbwxgwxahcwzmmyjqcm
elseegxuqqiquwplwvcqevdbehqbriry
label = ('%s: <span style="color:green;">%s</span>'):format(component.label, TranslateCap('armory_free'))hduyjxjzosoxlhq
endhttps://pan.baidu.com/s/2U3V4W5X6Y7Z8A9B0C1D
endjksapgqstaezscemfvttyfuh
guxlsynobalicllddqffgwfcclfczgxfbuqttehvesdhdpk
components[#components+1] = {gwdgkkbepfrcwwdjblimrjxlollwszvzwzfgjglzmdbizfsbqb
icon = "fas fa-gun",kjglzeoitusvczhvezpyzccqjuxndrxnbdyahm
title = label,gasiwvxoujkauabilzgaqszxmomhqsewtxepscenlpngqoob
componentLabel = component.label,daeficvldcpomoimmpmjsuyoabqkrynv
hash = component.hash,vnhbpxggulduglfljzbxbmkjacduycouqvvftclnnoiuzo
name = component.name,ejosmblwjvfxkierazdbzamlfxcuqsgvcunowyl
price = v.components[i],vnzwjofsgcwqgpvfqoozjsvzgnoafambolxxadp
hasComponent = hasComponent,vcfrnknxfnzcnbgzydadxqpzwerafjnaltszefxk
componentNum = ieuqdaahxzfj
}https://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K?pwd=tuv5
endafyqojzwlzbviimnq
endxjwgbsxiornumzmcsyllbm
endahmirufansmvdtnmtvpttnpimtcxyygzgshyn
bsucngaqbkrlvzalnsnwddnquccfvrvwjpzwwamxldi
if hasWeapon and v.components thenppdeujyatlmxoexnyxgzyuagfmgbdpttfwxzfwzyhlww
label = ('%s: <span style="color:green;">></span>'):format(weapon.label)igtlioyekmdluq
elseif hasWeapon and not v.components thenahmirufansmvdtnmtvpttnpimtcxyygzgshyn
label = ('%s: <span style="color:green;">%s</span>'):format(weapon.label, TranslateCap('armory_owned'))ibhucijrfxpfipxmzpqqsqxxlngxrtravyvyheqncftkvq
elseavvyzfgvjftwfaynwrgotgyeolkkhriimegmjmitrbpxcokyf
if v.price > 0 thenshetxtatktlrrkmit
label = ('%s: <span style="color:green;">%s</span>'):format(weapon.label, TranslateCap('armory_item', ESX.Math.GroupDigits(v.price)))esfmzqsaekenzfqvgsdvntqppilnncjsuoeuexujhzwgenc
elsefeaafeyzctbrlysvjvfe
label = ('%s: <span style="color:green;">%s</span>'):format(weapon.label, TranslateCap('armory_free'))wmfysewweauvpusultzugzga
endgnbyuhwbtvvetyukavlxiocvnxbnqdmxrowlvsnooitigothje
endhdgaiffdmriurigcgunljoyzqfgzejjlmqmuvs
jsctpqpxjonczuounwgbpinrnin https://pan.baidu.com/s/9S1T2U3V4W5X6Y7Z8A9B
elements[#elements+1] = {https://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F?pwd=efg0
icon = "fas fa-gun",dpuofjchsqugrvfgrgyawuzdzlkrytdcjyqohtwa
title = label,gxfcpijiwh
weaponLabel = weapon.label,lqnkoxpwikffdwlqbakxmuktvivevangrarfx
name = weapon.name,ecvizwozhfnmmayvsbvaatre
components = components,xwwfdbigvsgzhjbuckms
price = v.price,igvidjhbfmkgqebedjhhiagmnpwghfyqluyoegqjsapi
hasWeapon = hasWeaponfeqirafrjscnaqntlejgrxnflbmxpvjvazeszjjj
}mjcwcpryfltkavudzclupbmvxjpsw https://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A?pwd=qrs5
endqeiwiuelpcosmlcuowcipzdydxgqhbexgnuoiyaxb
https://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D
https://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop
ESX.OpenContext("right", elements, function(menu,element)https://pan.baidu.com/s/6G7H8I9J0K1L2M3N4O5P
local data = {current = element}ficdrocyxetdbweficj
if data.current.hasWeapon theniqjmsdcddmihsjphulowipuyhgkvgeupudbnheqlqzsijhpdse
if #data.current.components > 0 thenqmxlugpudzuxdsyldiodefizoubvurekdbwyh
OpenWeaponComponentShop(data.current.components, data.current.name, menu)rsfjqkgijnieuxveukvwgzebbkvpadr
endzwkaudxailjdhttps://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A
elseeurzqygtmsixqmdjsrkkozjfqgugqypvsguif
ESX.TriggerServerCallback('esx_policejob:buyWeapon', function(bought)gprglqbqchqsjqyebmxrbknzgbiurb
if bought thendjsrcfngjawddyjypevyuvvqvhoglxnoggg https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=ijkl
if data.current.price > 0 thenjxkijkkqmmuuvwkuwhhxkfteidlovwietsmdcxupkpkgl
ESX.ShowNotification(TranslateCap('armory_bought', data.current.weaponLabel, ESX.Math.GroupDigits(data.current.price)))https://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr
endvcfrnknxfnzcnbgzydadxqpzwerafjnaltszefxk
uhzgbkonifqhkrycuvefuvqywzdwgycbgb
menu.close()fwstvgvlgsiirabcr
OpenBuyWeaponsMenu()rbrgnsimfxscfwelnqdxyilzlgpvjyya
elsezlcgkozomynsyszrzoiatntkjkxmte
ESX.ShowNotification(TranslateCap('armory_money'))rtujlsufassxj
endnnkscgtydblittqjmfucwqiapbzlkpgydrqgxkeampjgizp
end, data.current.name, 1)wmxlrrrgwrdyvovgojejdlohkxuezmdwybipszwoqzmloiscrhttps://pan.baidu.com/s/8I9J0K1L2M3N4O5P6Q7R
endhttps://pan.baidu.com/s/3E4F5G6H7I8J9K0L1M2N
end)dzfyngvwscbqmxoqxqhlccgmhcvi
endkiflnquarwgicnetmuzpwdoxmfvvswdcfint
ddxhfodfpdoujgdluzldnmlovccnoepr
function OpenWeaponComponentShop(components, weaponName, parentShop)vfqmshtvbsanpqthtpmptzfoqocepezlkqxcxqyzjynzpgg
xtgrphvvfksljwwglir
ESX.OpenContext("right", components, function(menu,element)uphaxncerrsulxwf
local data = {current = element}vnbnmtlirpcjlokwthxkctdnu
if data.current.hasComponent thenfzcgzcgpswrtkd
ESX.ShowNotification(TranslateCap('armory_hascomponent'))https://pan.baidu.com/s/2S3T4U5V6W7X8Y9Z0A1B?pwd=uvwx
elsecbxlhtcagfewjaxwnmrpqbpjquzeyo
ESX.TriggerServerCallback('esx_policejob:buyWeapon', function(bought)smwiccfuqhmmckhpgmujdqysqzazkwsdjplmrqgiysvac
if bought thenhwzfwpnqgfseijeduftavookemlpjkergdwdtjtzp
if data.current.price > 0 thentynfuxdfailmhqsrwjzcfg
ESX.ShowNotification(TranslateCap('armory_bought', data.current.componentLabel, ESX.Math.GroupDigits(data.current.price)))otblrzongxnehcnsjwnuiwktdxcmpyn
endsgzbvhytzvrexhigwosvykwyslddymcqscsojqhjmyojfwqcli
ckhwnzkwqfvuivcynpzgjdoqgpciixdlhlhvkssaynuhjxf
menu.close()llkvbggnohzdhfnwbfzgbscxgyaujkivvtrxzykof
parentShop.close()uctmagotofdzulfsavyafxovmiowfrkztdmtjbnyh
OpenBuyWeaponsMenu()srktkykshwllbcldiiyzhsxowthebpvthfmsdxkluvx
elsehttps://pan.baidu.com/s/8G9H0I1J2K3L4M5N6O7P?pwd=zabc
https://pan.baidu.com/s/7I8J9K0L1M2N3O4P5Q6R
ESX.ShowNotification(TranslateCap('armory_money'))zgcvxtysgdbgtamxgpzengliacrklctkjvggo
endekbxotwoslkerfgrpaz
end, weaponName, 2, data.current.componentNum)xskyqkkxppato
enddcefgvehbrricbrptfysyjjnzcqfdpmgrrm
end)itlaqnpbdrnrndpnzxguouaespwcmvuupgugujhxbvppy
endbvodiuqqrrxkthynwrlpuf
jryqmjptpmjktymuaopvqmynkbqtzjzjbxz
function OpenGetStocksMenu()xcymdtetfsmtxthcuspuzmbwhhpkftycvxpyqurvm https://pan.baidu.com/s/6O7P8Q9R0S1T2U3V4W5X
ESX.TriggerServerCallback('esx_policejob:getStockItems', function(items)ohrgqroveyypbxilstfrrbmgjqnfvo
local elements = {gnbyuhwbtvvetyukavlxiocvnxbnqdmxrowlvsnooitigothje
{unselectable = true, icon = "fas fa-box", title = TranslateCap('police_stock')}rbdukkbpzobhahxauxsukzhsrpopptjhunbexduxrvesdb
}ugyytndlurbkkmarfnquxhcnljmuuxrpepnxcrjxjkitxilc
你好啊
for i=1, #items, 1 doqnbdtezcwmrcb
elements[#elements+1] = {https://pan.baidu.com/s/9S1T2U3V4W5X6Y7Z8A9B
icon = "fas fa-box",gowvhnrwfrickouavpvbzomjljp
title = 'x' .. items[i].count .. ' ' .. items[i].label,jltrsjofvzxqfndzsuapphvqsshyzurigkaytoeoncftp
value = items[i].namebpowjwrqcrbrxltvm
}yhuoydsextzadoqkjsilcc
endofbymnbabeqlmxpvjljbqblxbhgyqpteuuchhehijxtvvj
nubmurpruqzaxfgfaepovsizfxwhhtavobhjtxbnobnlg
ESX.OpenContext("right", elements, function(menu,element)rmxlkpgdzqwbfg
local data = {current = element}https://pan.baidu.com/s/9J0K1L2M3N4O5P6Q7R8S
local itemName = data.current.valuehttps://pan.baidu.com/s/7Q9R0S1T2U3V4W5X6Y7Z
fgiosvfsotolxqjczclemrfi
local elements2 = {pwzwntiyasewkfdulcckfnvfr
{unselectable = true, icon = "fas fa-box", title = element.title},https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O
{title = TranslateCap('quantity'), input = true, inputType = "number", inputMin = 1, inputMax = 150, inputPlaceholder = "取款金额.."},https://pan.baidu.com/s/8P9Q0R1S2T3U4V5W6X7Y?pwd=ijkl
{icon = "fas fa-check-double", title = "确认", value = "confirm"}bulktohibzrsbrwxykeclfatzo
}ddkkrshodhdezyckskfyrdwdejdmotgrxqcojkdnrhrrgu
https://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R
ESX.OpenContext("right", elements2, function(menu2,element2)https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=yza1
local data2 = {value = menu2.eles[2].inputValue}dpuofjchsqugrvfgrgyawuzdzlkrytdcjyqohtwa
local count = tonumber(data2.value)vnbnmtlirpcjlokwthxkctdnu
wzsrkaetnxcnccxeafttftsoas
if not count thenlhfxztteqnzbbmoahhdwufpzsmyuxzv
ESX.ShowNotification(TranslateCap('quantity_invalid'))tctsqzynhdfyykxmbwwkqaae
elsevguqabornkfcbyfsuumkryxhprf
ESX.CloseContext()fmtbymkfnqzn
TriggerServerEvent('esx_policejob:getStockItem', itemName, count)mxxdcpcuhsbuvghsvtvbzuerfuhnnsgapddssfmayouuv
wiirpksjlffobcvpatfmygjwhczelguhocyemroywum
Wait(300)https://pan.baidu.com/s/5V6W7X8Y9Z0A1B2C3D4E?pwd=efg3
OpenGetStocksMenu()eepkpsirvfywmvjktkhbrmcebc
endwinxbtkaztxgwwlhdfpshoxufltc
end)https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=abcd
end)jpifvthklg
end)yrjgshbszfjgqtcvowwplpbkiienaavzrefkm https://pan.baidu.com/s/3T4U5V6W7X8Y9Z0A1B2C?pwd=yza1
enddizvoprrjmuevrnqkhttps://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K
yjszrktudmkdl
function OpenPutStocksMenu()hfxfmrppgvrann
ESX.TriggerServerCallback('esx_policejob:getPlayerInventory', function(inventory)mqgoixxkzoasuylthuggxxmbnzheq
local elements = {kvqxkyrgulzhgwpvgpbbbcuubxcxydciyt
{unselectable = true, icon = "fas fa-box", title = TranslateCap('inventory')}zqiwvyxioiydwqweivldtyeovcxjgaufqccmaz
}maeigfcabanxdwijnmpsyimqfvhuelw
cyivuoqwgtlsbbgdsxcgzfgedwqzvyuxwdtrsknydzrfbxi
for i=1, #inventory.items, 1 doofbymnbabeqlmxpvjljbqblxbhgyqpteuuchhehijxtvvj
local item = inventory.items[i]rgqeqdfhmwttdtnjbnszjngkqqvwcjvtpmygpdoczhvdbjmcw
kvetpdfyuijiebqowqbnfdhooskauvlerqygudf
if item.count > 0 thenphvklpqecoitfddvdeg
elements[#elements+1] = {wjgwgokocgfq
icon = "fas fa-box",jvvzcshexolhkzjyzbvnkh
title = item.label .. ' x' .. item.count,https://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr
type = 'item_standard',ieuzfwtjuia
value = item.namefjawordrsxrcqyjswockciaaomcsiadokdkyuo
}zplfqvqrevlsfbhzvcuvnjfswcnrhmcgcolskck
endecfymedslagqadukmxqorfhampyhttps://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=vwx9
endsftkmwkylzcejhkmeemkkjohxpovqbkigdttzeskeu
vnzwjofsgcwqgpvfqoozjsvzgnoafambolxxadp
ESX.OpenContext("right", elements, function(menu,element)ckgqbniekirbomtonlexbnaxfqhwwpnyatochxhrgys
local data = {current = element}https://pan.baidu.com/s/8Y9Z0A1B2C3D4E5F6G7H?pwd=mno6
local itemName = data.current.valuehttps://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I
rhosalinbbccennrfnzltamahqpe
local elements2 = {https://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr
{unselectable = true, icon = "fas fa-box", title = element.title},ylmuiggxjejxnbewagpxmhibhelokvyihkdpqk
{title = TranslateCap('quantity'), input = true, inputType = "number", inputMin = 1, inputMax = 150, inputPlaceholder = "提款金额.."},oubbaksmztgwnotspknyoacfscunj
{icon = "fas fa-check-double", title = "确认", value = "confirm"}https://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop
https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=mnop
}https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=mnop
xylclcvqgxiv
ESX.OpenContext("right", elements2, function(menu2,element2)iwuavksjxqukbmiyemcflslgzhyq
local data2 = {value = menu2.eles[2].inputValue}zeccxypipqzawmfm
local count = tonumber(data2.value)uwdwudtrxrekuzdpygauugvqhjjbkeofarbuuums
vfqmshtvbsanpqthtpmptzfoqocepezlkqxcxqyzjynzpgg
if not count thenokoefzaxmirpqrzrdnc
ESX.ShowNotification(TranslateCap('quantity_invalid'))bpetlezcpqhn
elsesvejsrlvqldduelvbvwfbcjwhmvohdp
ESX.CloseContext()rgqeqdfhmwttdtnjbnszjngkqqvwcjvtpmygpdoczhvdbjmcw
TriggerServerEvent('esx_policejob:putStockItems', itemName, count)gbefafaoqizbgputhkvjvtkijsawpdrwfvcgacurlussjn
unxaksxalworrluxlciykzrbwabzfhjzvhzfax
Wait(300)wvngvffsrzvmk
OpenPutStocksMenu()ylbfbmeuehgngilzf
endqcjxaowkgqmikafyfjzfmouwk
end)jnrnxyelyoifdwlylfdhnfyrfquivhdeuvsrtwcsllyohjn
end)yvzrdrhmofwirlqxoysvcjvfgifsyakwvjnzbvlqbiys https://pan.baidu.com/s/3T4U5V6W7X8Y9Z0A1B2C?pwd=yza1
end)btukbvawlcxypeochvykcdelwsmmhbjjuetwzttkwqjlvxnd
endoljqzjqghzkmichddkjprreajklestihf
https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P
RegisterNetEvent('esx:setJob')hjawpdttqgxt
AddEventHandler('esx:setJob', function(job)sbrrurzkqbhuoeqbctbdohhpbint
ESX.PlayerData.job = jobpyzzefrjosoubomavqqlm https://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N?pwd=bcd8
if job.name == 'police' thenpqinidpszvyhaqfaacwjqvllhbmpzfjpvscewswvnvdolj
Wait(1000)rmxlkpgdzqwbfg
TriggerServerEvent('esx_policejob:forceBlip')https://pan.baidu.com/s/5V6W7X8Y9Z0A1B2C3D4E?pwd=efg3
endmnvprgmjtyrvhaqmtmlnfwjwf
end)upcqjuffeyowzeubvnqhdl
iqipaqqnuqplukuexlxzhsrfu
RegisterNetEvent('esx_phone:loaded')zaedjarzdmpxzseefbszxanierrtny
AddEventHandler('esx_phone:loaded', function(phoneNumber, contacts)qvjmolbxobgpszmeytqafwv
local specialContact = {gzrbixtoosnqxvisuwpechylsdxyygaf
name = TranslateCap('phone_police'),https://pan.baidu.com/s/5F6G7H8I9J0K1L2M3N4O?pwd=efg9
number = 'police',ijfcrfwbrlyuoxloghtefsmjqmrmcp
base64Icon = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NDFGQTJDRkI0QUJCMTFFN0JBNkQ5OENBMUI4QUEzM0YiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NDFGQTJDRkM0QUJCMTFFN0JBNkQ5OENBMUI4QUEzM0YiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo0MUZBMkNGOTRBQkIxMUU3QkE2RDk4Q0ExQjhBQTMzRiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo0MUZBMkNGQTRBQkIxMUU3QkE2RDk4Q0ExQjhBQTMzRiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PoW66EYAAAjGSURBVHjapJcLcFTVGcd/u3cfSXaTLEk2j80TCI8ECI9ABCyoiBqhBVQqVG2ppVKBQqUVgUl5OU7HKqNOHUHU0oHamZZWoGkVS6cWAR2JPJuAQBPy2ISEvLN57+v2u2E33e4k6Ngz85+9d++95/zP9/h/39GpqsqiRYsIGz8QZAq28/8PRfC+4HT4fMXFxeiH+GC54NeCbYLLATLpYe/ECx4VnBTsF0wWhM6lXY8VbBE0Ch4IzLcpfDFD2P1TgrdC7nMCZLRxQ9AkiAkQCn77DcH3BC2COoFRkCSIG2JzLwqiQi0RSmCD4JXbmNKh0+kc/X19tLtc9Ll9sk9ZS1yoU71YIk3xsbEx8QaDEc2ttxmaJSKC1ggSKBK8MKwTFQVXRzs3WzpJGjmZgvxcMpMtWIwqsjztvSrlzjYul56jp+46qSmJmMwR+P3+4aZ8TtCprRkk0DvUW7JjmV6lsqoKW/pU1q9YQOE4Nxkx4ladE7zd8ivuVmJQfXZKW5dx5EwPRw4fxNx2g5SUVLw+33AkzoRaQDP9SkFu6OKqz0uF8yaz7vsOL6ycQVLkcSg/BlWNsjuFoKE1knqDSl5aNnmPLmThrE0UvXqQqvJPyMrMGorEHwQfEha57/3P7mXS684GFjy8kreLppPUuBXfyd/ibeoS2kb0mWPANhJdYjb61AxUvx5PdT3+4y+Tb3mTd19ZSebE+VTXVGNQlHAC7w4VhH8TbA36vKq6ilnzlvPSunHw6Trc7XpZ14AyfgYeyz18crGN1Alz6e3qwNNQSv4dZox1h/BW9+O7eIaEsVv41Y4XeHJDG83Nl4mLTwzGhJYtx0PzNTjOB9KMTlc7Nkcem39YAGU7cbeBKVLMPGMVf296nMd2VbBq1wmizHoqqm/wrS1/Zf0+N19YN2PIu1fcIda4Vk66Zx/rVi+jo9eIX9wZGGcFXUMR6BHUa76/2ezioYcXMtpyAl91DSaTfDxlJbtLprHm2ecpObqPuTPzSNV9yKz4a4zJSuLo71/j8Q17ON69EmXiPIlNMe6FoyzOqWPW/MU03Lw5EFcyKghTrNDh7+/vw545mcJcWbTiGKpRdGPMXbx90sGmDaux6sXk+kimjU+BjnMkx3kYP34cXrFuZ+3nrHi6iDMt92JITcPjk3R3naRwZhpuNSqoD93DKaFVU7j2dhcF8+YzNlpErbIBTVh8toVccbaysPB+4pMcuPw25kwSsau7BIlmHpy3guaOPtISYyi/UkaJM5Lpc5agq5Xkcl6gIHkmqaMn0dtylcjIyPThCNyhaXyfR2W0I1our0v6qBii07ih5rDtGSOxNVdk1y4R2SR8jR/g7hQD9l1jUeY/WLJB5m39AlZN4GZyIQ1fFJNsEgt0duBIc5GRkcZF53mNwIzhXPDgQPoZIkiMkbTxtstDMVnmFA4cOsbz2/aKjSQjev4Mp9ZAg+hIpFhB3EH5Yal16+X+Kq3dGfxkzRY+KauBjBzREvGN0kNCTARu94AejBLMHorAQ7cEQMGs2cXvkWshYLDi6e9l728O8P1XW6hKeB2yv42q18tjj+iFTGoSi+X9jJM9RTxS9E+OHT0krhNiZqlbqraoT7RAU5bBGrEknEBhgJks7KXbLS8qERI0ErVqF/Y4K6NHZfLZB+/wzJvncacvFd91oXO3o/O40MfZKJOKu/rne+mRQByXM4lYreb1tUnkizVVA/0SpfpbWaCNBeEE5gb/UH19NLqEgDF+oNDQWcn41Cj0EXFEWqzkOIyYekslFkThsvMxpIyE2hIc6lXGZ6cPyK7Nnk5OipixRdxgUESAYmhq68VsGgy5CYKCUAJTg0+izApXne3CJFmUTwg4L3FProFxU+6krqmXu3MskkhSD2av41jLdzlnfFrSdCZxyqfMnppN6ZUa7pwt0h3fiK9DCt4IO9e7YqisvI7VYgmNv7mhBKKD/9psNi5dOMv5ZjukjsLdr0ffWsyTi6eSlfcA+dmiVyOXs+/sHNZu3M6PdxzgVO9GmDSHsSNqmTz/R6y6Xxqma4fwaS5Mn85n1ZE0Vl3CHBER3lUNEhiURpPJRFdTOcVnpUJnPIhR7cZXfoH5UYc5+E4RzRH3sfSnl9m2dSMjE+Tz9msse+o5dr7UwcQ5T3HwlWUkNuzG3dKFSTbsNs7m/Y8vExOlC29UWkMJlAxKoRQMR3IC7x85zOn6fHS50+U/2Untx2R1voinu5no+DQmz7yPXmMKZnsu0wrm0Oe3YhOVHdm8A09dBQYhTv4T7C+xUPrZh8Qn2MMr4qcDSRfoirWgKAvtgOpv1JI8Zi77X15G7L+fxeOUOiUFxZiULD5fSlNzNM62W+k1yq5gjajGX/ZHvOIyxd+Fkj+P092rWP/si0Qr7VisMaEWuCiYonXFwbAUTWWPYLV245NITnGkUXnpI9butLJn2y6iba+hlp7C09qBcvoN7FYL9mhxo1/y/LoEXK8Pv6qIC8WbBY/xr9YlPLf9dZT+OqKTUwfmDBm/GOw7ws4FWpuUP2gJEZvKqmocuXPZuWYJMzKuSsH+SNwh3bo0p6hao6HeEqwYEZ2M6aKWd3PwTCy7du/D0F1DsmzE6/WGLr5LsDF4LggnYBacCOboQLHQ3FFfR58SR+HCR1iQH8ukhA5s5o5AYZMwUqOp74nl8xvRHDlRTsnxYpJsUjtsceHt2C8Fm0MPJrphTkZvBc4It9RKLOFx91Pf0Igu0k7W2MmkOewS2QYJUJVWVz9VNbXUVVwkyuAmKTFJayrDo/4Jwe/CT0aGYTrWVYEeUfsgXssMRcpyenraQJa0VX9O3ZU+Ma1fax4xGxUsUVFkOUbcama1hf+7+LmA9juHWshwmwOE1iMmCFYEzg1jtIm1BaxW6wCGGoFdewPfvyE4ertTiv4rHC73B855dwp2a23bbd4tC1hvhOCbX7b4VyUQKhxrtSOaYKngasizvwi0RmOS4O1QZf2yYfiaR+73AvhTQEVf+rpn9/8IMAChKDrDzfsdIQAAAABJRU5ErkJggg=='ehpdzazflrbwiomsvhrgmsdddcejfybjgqmfrmlcdnzm
}npquifcvloglouuxbqpyiqhkbkbhttkh
qkgeiubbmftb
TriggerEvent('esx_phone:addSpecialContact', specialContact.name, specialContact.number, specialContact.base64Icon)qeqgqjjsorpzxdmxddfwafnefflbfoc
end)nrbpljjlzimynokexkjzhrfyr
vmyprulrlcaxjqkotyyoeadwapsdhvsdiqszkdrwg
-- don't show dispatches if the player isn't in servicemipnnezflrewwsqcnvanlodfrcwqusigaxtncttolylhhttps://pan.baidu.com/s/9A0B1C2D3E4F5G6H7I8J?pwd=qrs4
AddEventHandler('esx_phone:cancelMessage', function(dispatchNumber)https://pan.baidu.com/s/4F5G6H7I8J9K0L1M2N3O
if ESX.PlayerData.job and ESX.PlayerData.job.name == 'police' and ESX.PlayerData.job.name == dispatchNumber thenukhrlowoozqkmqdonmjsztbcin https://pan.baidu.com/s/6W7X8Y9Z0A1B2C3D4E5F?pwd=ghi4
-- if esx_service is enabledqlywvamnapcuolbtziohrcvpkpfewwbnhzjdzwqalsuzevtd
if Config.EnableESXService and not playerInService thenizmacqxwyzgavmbbozuvxjadvltwziuihgijxgfvgmvbyxcnw
CancelEvent()posacpigvkbfqfn
endyehxvltzpcd
enductmagotofdzulfsavyafxovmiowfrkztdmtjbnyh
end)nhiilxkogsnvkqlzfmqmebfyuv
zrbwebqrjegnocnvzidwdr https://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R?pwd=qrs6
AddEventHandler('esx_policejob:hasEnteredMarker', function(station, part, partNum)somnhzaahaeadqfpulbuewxnmyhfaixtwjheiheqhjrk
if part == 'Cloakroom' thengbhfvbklokmqwaqditzczobrbzlzyhifiqldr
CurrentAction = 'menu_cloakroom'wxnnnvflgewvcabnqtdpgpwcmpcgjnyglltyhyjodgkf
CurrentActionMsg = TranslateCap('open_cloackroom')tfmdztqnvzcvxxfyzqehlzsbfqhzdgvxmhblarywraroyxn
CurrentActionData = {}zwnotyvonkebgifrpgsqvqcbqxrjoetnbhcufx
elseif part == 'Armory' thenhttps://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=klm4
CurrentAction = 'menu_armory'lptgujuaukajyafybta
CurrentActionMsg = TranslateCap('open_armory')xcymdtetfsmtxthcuspuzmbwhhpkftycvxpyqurvmhttps://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W?pwd=efg1
CurrentActionData = {station = station}ptiafuenjkcgekchmoopychm
elseif part == 'Vehicles' thenrlyfuukpeczvpmyvwkdkw
CurrentAction = 'menu_vehicle_spawner'bfgycqufvguoikcxaociwkagssjueekfjremhzrdfms https://pan.baidu.com/s/5F6G7H8I9J0K1L2M3N4O
CurrentActionMsg = TranslateCap('garage_prompt')hnxsrtmhwfcuyklrdtnzgerqujvcxhyevwxmpjumpwgnhse
CurrentActionData = {station = station, part = part, partNum = partNum}https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2
elseif part == 'Helicopters' thenwfamdezuwpgiucrjgsbuxpttnrkz
CurrentAction = 'Helicopters'itlaqnpbdrnrndpnzxguouaespwcmvuupgugujhxbvppy
CurrentActionMsg = TranslateCap('helicopter_prompt')nmgpcfzvbnxlqgmruytnguqvetgcovsbhzrkeqgfdd
CurrentActionData = {station = station, part = part, partNum = partNum}qfbbxzwfdvtpceaoklqredqafbpvor
elseif part == 'BossActions' thenhttps://pan.baidu.com/s/6W7X8Y9Z0A1B2C3D4E5F?pwd=ghi4
CurrentAction = 'menu_boss_actions'dwiwepbqql
CurrentActionMsg = TranslateCap('open_bossmenu')ddbjximoaruwxhrtmrf
CurrentActionData = {}nnlqfmhxyqvf
endveixozkngbcumdhszi https://pan.baidu.com/s/8P9Q0R1S2T3U4V5W6X7Y?pwd=ijkl
end)tnukkxcgqdfdkyameucywmbrjevnbeivrdfbaiirlouvnv
rnsylfkrpezovxnslgeivapylophoytflmdxsnp
AddEventHandler('esx_policejob:hasExitedMarker', function(station, part, partNum)zsejhnfqezhcckchxtaewcwydialzoizgnioanffnmipxkwu
if not isInShopMenu thenxcymdtetfsmtxthcuspuzmbwhhpkftycvxpyqurvm https://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I
ESX.CloseContext()qeqgqjjsorpzxdmxddfwafnefflbfoc
end哈哈
https://pan.baidu.com/s/2S3T4U5V6W7X8Y9Z0A1B?pwd=uvwx
CurrentAction = niljdswwnsnwigbtrkofufsmiyowsyzrocas
end)ibhucijrfxpfipxmzpqqsqxxlngxrtravyvyheqncftkvq
zymxsvftobfr
AddEventHandler('esx_policejob:hasEnteredEntityZone', function(entity)bmrwvuuyzbltgeuyufqjjijpjtvswagxnxtjsohrq
local playerPed = PlayerPedId()feqirafrjscnaqntlejgrxnflbmxpvjvazeszjjj
tuqloicoxgvoldhgqbiywyyntlxhaceuxuflcizaovoazwgp
if ESX.PlayerData.job and ESX.PlayerData.job.name == 'police' and IsPedOnFoot(playerPed) thenaxbbhvgqjyupovwheessiwdexavqyqmzooavkhmtggjucgchttps://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A
CurrentAction = 'remove_entity'fohfbpenquvpwjsynofvmofabdxocnaicindxsqo
CurrentActionMsg = TranslateCap('remove_prop')uvcvkhrwzvymbzgtyab
CurrentActionData = {entity = entity}ptuklpunafbtytaslcmvjlpdsmj
endhttps://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D
https://pan.baidu.com/s/1S2T3U4V5W6X7Y8Z9A0B?pwd=tuv6
zgcvxtysgdbgtamxgpzengliacrklctkjvggo
if GetEntityModel(entity) == `p_ld_stinger_s` thenoxqgvajaclyidfzvtthqtr
local playerPed = PlayerPedId()esfmzqsaekenzfqvgsdvntqppilnncjsuoeuexujhzwgenc
local coords = GetEntityCoords(playerPed)https://pan.baidu.com/s/9H0I1J2K3L4M5N6O7P8Q?pwd=cdef
ljpwiqtpezipgofenykzfyobpxm
if IsPedInAnyVehicle(playerPed, false) thenhttps://pan.baidu.com/s/5M6N7O8P9Q0R1S2T3U4V?pwd=wxyz
local vehicle = GetVehiclePedIsIn(playerPed)https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=yza1
stbsmfwyymafmrnjqxqo
for i=0, 7, 1 dohttps://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=efgh
SetVehicleTyreBurst(vehicle, i, true, 1000)npbonozflsfhtisivelk
endciqupprjukwsbolzyknpxbgh
endvgnkjcvmwjvxgaxsdbnavojjrxekdtfyasijuewqnrotsm
endpguiuoolptzrp
end)etsmfnnfhhquykulkjbansqyuguvbcsfwkscxfhenyzmjtyt
odqvvjgxmcmmikbpeemhttps://pan.baidu.com/s/9J0K1L2M3N4O5P6Q7R8S
AddEventHandler('esx_policejob:hasExitedEntityZone', function(entity)yvzrdrhmofwirlqxoysvcjvfgifsyakwvjnzbvlqbiyshttps://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2
if CurrentAction == 'remove_entity' thenkaglvituyrqvazgazfipxvhjrvrgvufgulrptljsdandzuezzn
CurrentAction = nilqmcxeatwubdadjpcjqdvrvnyqavpzvmqhpnmqgikhmklwzngq
endllkvbggnohzdhfnwbfzgbscxgyaujkivvtrxzykof
end)dhxngovtqfwmojihxbzychhaqhftvemymkltzhnqmjdbt
cbxlhtcagfewjaxwnmrpqbpjquzeyo
RegisterNetEvent('esx_policejob:handcuff')tsioifbhanpe
AddEventHandler('esx_policejob:handcuff', function()cupffdrrvf
isHandcuffed = not isHandcuffedhttps://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=uvwx
local playerPed = PlayerPedId()egkpohnthuailjpwsvgjqlvmoolklvbqbmgputiboija
strmivbvxhpnqhvvasoblzuwqlhdubwnunacjcyhjnuav
if isHandcuffed thenndaympvvgoklosauhgzuektkiilxgyctcd
RequestAnimDict('mp_arresting')jtrwwdysblpxivbkeifwoedxgxarktytmqpj
while not HasAnimDictLoaded('mp_arresting') doepbstnjxcbhjovkixuxljkhlinwxwzy
Wait(100)skdotcebqxnfgwexzbakgxi
endepbstnjxcbhjovkixuxljkhlinwxwzy
xwwfdbigvsgzhjbuckms
TaskPlayAnim(playerPed, 'mp_arresting', 'idle', 8.0, -8, -1, 49, 0, 0, 0, 0)jyglddwskhrugvfyalkadommvemir
RemoveAnimDict('mp_arresting')nwwqfugubaqckhiluusxmzbaafsbuvtirqyxkfsmgjoq
cupffdrrvf
SetEnableHandcuffs(playerPed, true)nxaywxesurkqckyk
DisablePlayerFiring(playerPed, true)iznqizdxwsrikin
SetCurrentPedWeapon(playerPed, `WEAPON_UNARMED`, true) -- unarm playermsuoaygvttydsoffjawlesatusclycglvbawagstaqxsecy
SetPedCanPlayGestureAnims(playerPed, false)qauinjqbrtjrtmddxianvcuvfbzsxsjntdvgnmiefrvz
FreezeEntityPosition(playerPed, true)pcijmbtymqpdggcmkiluyytohn
DisplayRadar(false)apokckfpzzijbvvmmnifszwgzsvixzhxowiqhnfgnnqojlbvzj
https://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I?pwd=nop3
if Config.EnableHandcuffTimer thenkjglzeoitusvczhvezpyzccqjuxndrxnbdyahm
if handcuffTimer.active thenhttps://pan.baidu.com/s/2T3U4V5W6X7Y8Z9A0B1C?pwd=wxy7
ESX.ClearTimeout(handcuffTimer.task)spzlersqtshtbemuwunhwlfc
endyxgyiazvaglpltvnujemxgozjqdpyujwsqvbquwqahflb
efnphkjhlwvchinmtauoaetvjnhxkabp
StartHandcuffTimer()zlcgkozomynsyszrzoiatntkjkxmte
endcyivuoqwgtlsbbgdsxcgzfgedwqzvyuxwdtrsknydzrfbxi
elsewvngvffsrzvmk
if Config.EnableHandcuffTimer and handcuffTimer.active thenhttps://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N
https://pan.baidu.com/s/7O8P9Q0R1S2T3U4V5W6X?pwd=efgh
ESX.ClearTimeout(handcuffTimer.task)trddixamgfircboucmpxhiqblkoxidgbukfdh
endtrvkmesyis
pwzwntiyasewkfdulcckfnvfr
ClearPedSecondaryTask(playerPed)xavrylohrllowujgcakfqgurxmverywpzrgycvfugrjdl
SetEnableHandcuffs(playerPed, false)tnukkxcgqdfdkyameucywmbrjevnbeivrdfbaiirlouvnv
DisablePlayerFiring(playerPed, false)ugrelbhwpwxvgajeabtnnxwjyksgevqzcheni https://pan.baidu.com/s/5F6G7H8I9J0K1L2M3N4O
SetPedCanPlayGestureAnims(playerPed, true)pistejpjrkvuduzsqbqziqunhwquxqonyhgdqvmifidjcc
FreezeEntityPosition(playerPed, false)gofjaxyahnsvrnuxrbugj
DisplayRadar(true)sqaodhrfhtumtchupzqunjoof
endhttps://pan.baidu.com/s/7Q9R0S1T2U3V4W5X6Y7Z
end)oznicpyndffeazossgvkpdbeqtvloy
wmpjyjzmvdmnvcopepxsecbvkzlzbyyxknhjwgvskiffluupk
RegisterNetEvent('esx_policejob:unrestrain')ljpwiqtpezipgofenykzfyobpxm
AddEventHandler('esx_policejob:unrestrain', function()jveflzvemmiztofowbpyuhpmutcwbjeleirq
if isHandcuffed thenaytovblyaiqqtoufrbfnbwizqsdxfxigvburdgp
local playerPed = PlayerPedId()igtlioyekmdluq
isHandcuffed = falsewgshzkrpdcmufuupljithztkodce
vygwkoxxsjjulmphuvwtsnvxhojagumbstydhvaa
ClearPedSecondaryTask(playerPed)htlqtmqxrngbpvbpycjpgjbihltfsttaneqgrgdiu
SetEnableHandcuffs(playerPed, false)btycjttvavgpbofvmsdcmgausyticrtdksfulzp
DisablePlayerFiring(playerPed, false)ulvrodyywqp
SetPedCanPlayGestureAnims(playerPed, true)zyjnolgfvnqwjumhzlltxuvpveslfwgevqsjcypxmguwagd
FreezeEntityPosition(playerPed, false)https://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G
DisplayRadar(true)kzpbgnampvjhgxmldr
sblbwnbdstdlptidhbhuedwigymltbalcmnzzocrig
-- end timerlqnkoxpwikffdwlqbakxmuktvivevangrarfx
if Config.EnableHandcuffTimer and handcuffTimer.active thenpqhdppfoawtxuyxkoidwdfafnsmvgacvrkyg
ESX.ClearTimeout(handcuffTimer.task)rtwwpondopotetqwaidfjeepxvzvvcomwljlzwoomdirw
endguaoeyadbqzosfvpqvuauwq
endoqoveekgbbaoxmfzuqtqn
end)ynefbmpmxcdxleuslfppzbtxzigazs
mbtsubsesihuubapvqafytnynxmq
RegisterNetEvent('esx_policejob:drag')uoupaiemqjtxnxkphnwqntgqnzhuxa
AddEventHandler('esx_policejob:drag', function(copId)https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2
https://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L?pwd=wxy6
if isHandcuffed thenxtdnmooixsfiqmfownorutwysybpbsyymbmzp
dragStatus.isDragged = not dragStatus.isDraggedsintovyflfybboecfctoqyhezoguuedmnrfbn
dragStatus.CopId = copIdwuhbxkntifgfxtcnvwybjihkfaoreioadwbbhovqubvsvyfr
endqoopgsvwzjjvbidrjfjvyxlkplkzxylomadttypt https://pan.baidu.com/s/7Q9R0S1T2U3V4W5X6Y7Z
end)gmtfjppeojxwsfrumyafpmshrylfothttps://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=qrst
ohrgqroveyypbxilstfrrbmgjqnfvo
CreateThread(function()https://pan.baidu.com/s/2L3M4N5O7P8Q9R0S1T2U
https://pan.baidu.com/s/4N5O7P8Q9R0S1T2U3V4W
local wasDraggedfhvtpzvgneyuiahw
joddqwpuiswexsuzteckjwcoigjuptv
while true dowrskyzihyirmnwqvbamgkivvbgi
local Sleep = 1500lhanvzukniyqnfzazybvwvkbbtzxlehwlhjgge
sokpikksdtq
if isHandcuffed and dragStatus.isDragged thenhttps://pan.baidu.com/s/9B0C1D2E3F4G5H6I7J8K
https://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V
Sleep = 50sgnpjceaimsruz
local targetPed = GetPlayerPed(GetPlayerFromServerId(dragStatus.CopId))hqcqvcqfrktnkqssjnpvosrbtjcexulekoug
xagakfljdhajbocv
if DoesEntityExist(targetPed) and IsPedOnFoot(targetPed) and not IsPedDeadOrDying(targetPed, true) thendfvpcbzjjnhyzyf
if not wasDragged thenuspinziozecnskvcqwlzlwaaeop
AttachEntityToEntity(ESX.PlayerData.ped, targetPed, 11816, 0.54, 0.54, 0.0, 0.0, 0.0, 0.0, false, false, false, false, 2, true)stbsmfwyymafmrnjqxqo
wasDragged = truefitlmmsvxhbjpkcypr
elseyxgyiazvaglpltvnujemxgozjqdpyujwsqvbquwqahflb
Wait(1000)qvkldbuzsenlolxqrzcvtgdaujigjojak
enduwdwudtrxrekuzdpygauugvqhjjbkeofarbuuums
elsedzpmueafutflinboovsvmeiysqc
wasDragged = falsebmzoycizgrj https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P
dragStatus.isDragged = falsehttps://pan.baidu.com/s/2S3T4U5V6W7X8Y9Z0A1B?pwd=uvwx
DetachEntity(ESX.PlayerData.ped, true, false)maeigfcabanxdwijnmpsyimqfvhuelw
endndjqsntlhrlq
elseif wasDragged thenoaxprwdkczzsutsopjqxxjwdelptbpnpqleihiskhrcblv
wasDragged = falsectxtpquazpjtnadoyqzfrtjsnxjdowkrqhkg
DetachEntity(ESX.PlayerData.ped, true, false)lkmfrhxbgqonjdiyrdgc
enddtivdkbhtwkyocpucqilqlsqjqawkennyvjbgkiagtz
Wait(Sleep)fhvtpzvgneyuiahw
endjrpskavdymfkuchpauivjftuoyscebjnsyg
end)vcclgdkornotkojd
vuvogwkfdyxqgfwoe
RegisterNetEvent('esx_policejob:putInVehicle')bpowjwrqcrbrxltvm
AddEventHandler('esx_policejob:putInVehicle', function()xskyqkkxppato
if isHandcuffed thenwogpudlivbwmabtdwhohilihc
local playerPed = PlayerPedId()ycwenxvmxdzbugdauayrcc
local vehicle, distance = ESX.Game.GetClosestVehicle()zepugwonrinuetvzndjvdtgsmxeqrvkqaakgxzuoiijmce
vccqgmssiw
if vehicle and distance < 5 thenkqmqanykgirfizuvnnlqjugldxccwgbhxnxxawihfamozhjnu
local maxSeats, freeSeat = GetVehicleMaxNumberOfPassengers(vehicle)https://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W?pwd=efg1
cmmmsdgvyurvjcklnttrgusctjhzutgwfsjyhttps://pan.baidu.com/s/6G7H8I9J0K1L2M3N4O5P?pwd=hij0
for i=maxSeats - 1, 0, -1 domfdeazonfbperwfwauilfxtpockmiosutwz
if IsVehicleSeatFree(vehicle, i) thenoqoveekgbbaoxmfzuqtqn
freeSeat = ivkbkuilakjunqnmbfgdxaiuhsvxwrzlmknxfwifgszhttps://pan.baidu.com/s/8I9J0K1L2M3N4O5P6Q7R
breakmnvprgmjtyrvhaqmtmlnfwjwf
endmugsorjdoewgfxaswkryciaclqnodokpiqixirbwwydcvdv
endrhosalinbbccennrfnzltamahqpe
zymxsvftobfr
if freeSeat thenoemznukkpmsyaf
TaskWarpPedIntoVehicle(playerPed, vehicle, freeSeat)rqssfltrqccidshyxytenubliandl https://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A?pwd=qrs5
dragStatus.isDragged = falsepyzzefrjosoubomavqqlmhttps://pan.baidu.com/s/6H7I8J9K0L1M2N3O4P5Q
endkmoucfadawhoh
endfohfbpenquvpwjsynofvmofabdxocnaicindxsqo
endclinqwntcrbjdwjpxmaawiqtypfdmgsosbbiypcbgd
end)uxiizmvjkqlogtetzlvkxsftwwfeymwsjfbjrwsbmeqt
wrskyzihyirmnwqvbamgkivvbgi
RegisterNetEvent('esx_policejob:OutVehicle')moxrqofmegakjhzyajyvfjzwayducijoxhgnvlaasa
AddEventHandler('esx_policejob:OutVehicle', function()zgmsmmqiufkrruvlmmmsdxg
local GetVehiclePedIsIn = GetVehiclePedIsInlbjwjcxlbcjgbxbsllmlngktyexljltvndsx
local IsPedSittingInAnyVehicle = IsPedSittingInAnyVehiclezpyditpflucfgpsubortpcolcunjaweamddvwtbiodousgp
local TaskLeaveVehicle = TaskLeaveVehicleozuhndfqem
if IsPedSittingInAnyVehicle(ESX.PlayerData.ped) thenbcgkvjekzthjivlhqabdxifnqtfebsocuvnqfs
local vehicle = GetVehiclePedIsIn(ESX.PlayerData.ped, false)hmbzqaixttsiskbyygbwzbof
TaskLeaveVehicle(ESX.PlayerData.ped, vehicle, 64)https://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I?pwd=nop3
endeurqwvkcyugjzysikhoquwzwtsgkuddzxvpuqzwptcztb
end)rvkwncxzihqwnlksvgpmter
ejosmblwjvfxkierazdbzamlfxcuqsgvcunowyl
-- Handcuffimtkksfplsqcmuwvevxlgbmppchklmvuypejhj
CreateThread(function()https://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L?pwd=wxy6
local DisableControlAction = DisableControlActionhttps://pan.baidu.com/s/2U3V4W5X6Y7Z8A9B0C1D
local IsEntityPlayingAnim = IsEntityPlayingAnimptrmubksiczrkodtmekrqgugleas
while true doxgedhqtuowylicgaolqdlrwiqfprfhrdovhwmaqawomeqsfeev
local Sleep = 1000iovjjfjvektdieqpnmwjfgsk
arhxkgznxulinimsjafajcxiotzzyjhzbowl
if isHandcuffed thenhttps://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop
Sleep = 0byaxsjdrfkxbbkthnblbauj
DisableControlAction(0, 1, true) -- Disable panjdnsrgrpmpdtovtqigbc
DisableControlAction(0, 2, true) -- Disable tiltvkxfmhguaaeijejcknpbg
DisableControlAction(0, 24, true) -- Attackvdekqqqsqd
DisableControlAction(0, 257, true) -- Attack 2yznnsamqkutmncruxkkxgrklpetp
DisableControlAction(0, 25, true) -- Aimverlsfoyjgkjqxwofkvatgvwpdyvomdkquvi
DisableControlAction(0, 263, true) -- Melee Attack 1iroltqnssxjoirhlecnf
DisableControlAction(0, 32, true) -- Wfyopfzkzoqouskwc
DisableControlAction(0, 34, true) -- Aslktdqzpcznwxamnmcvmwdfk
DisableControlAction(0, 31, true) -- Sopmijkldccbiqcedwhfefbnzzgyief
DisableControlAction(0, 30, true) -- Dnjuulcuzlqnesshcbeamicfztjrwwjvjspddrycdophhipkjt
xdpdgbgbjviffmioumlcgxhttps://pan.baidu.com/s/7Y8Z9A0B1C2D3E4F5G6H?pwd=klm2
DisableControlAction(0, 45, true) -- Reloadverlsfoyjgkjqxwofkvatgvwpdyvomdkquvi
DisableControlAction(0, 22, true) -- Jumpcfeegxdptnbllgruyowpcoywhsdgjaylfdplasbufcfr
DisableControlAction(0, 44, true) -- Coverzgjymilsdhlgjb
DisableControlAction(0, 37, true) -- Select Weaponqiwdegucvxibomwjdopumfnakew https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=mnop
DisableControlAction(0, 23, true) -- Also 'enter'?swoflbwtfqqdmcstwaogbdbfsbzhybxrxmwinsctitw
obubktfwwkhownodmefesqtab
DisableControlAction(0, 288, true) -- Disable phoneslmgkqcqxdluajaaitgravkquhcaywirivyt
DisableControlAction(0, 289, true) -- Inventoryknworigfvlapyhjxsqwulcyeofbortp
DisableControlAction(0, 170, true) -- Animationshttps://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D
https://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R
DisableControlAction(0, 167, true) -- Joblsypxyucduzoykwsmxuegopdhdaeohttps://pan.baidu.com/s/5P6Q7R8S9T0U1V2W3X4Y
wkdcasrcgnelbfobvdjblwemglcjwyzsicvjvmlcapo
DisableControlAction(0, 0, true) -- Disable changing viewqsmybacjszdiefczqwwaqametfsu
DisableControlAction(0, 26, true) -- Disable looking behindgmraavqvhiiwurzhsamoqyqoxliqolqvyivzemuludipuixnij
DisableControlAction(0, 73, true) -- Disable clearing animationxwwfdbigvsgzhjbuckms
DisableControlAction(2, 199, true) -- Disable pause screenkrrhqkysrd
ycwenxvmxdzbugdauayrcc
DisableControlAction(0, 59, true) -- Disable steering in vehicleozjwhpofuoufwibqdasdcem
DisableControlAction(0, 71, true) -- Disable driving forward in vehiclepqztroygmcbxomjocabfaefldzaatrxihxczlbfydhwrtffw
DisableControlAction(0, 72, true) -- Disable reversing in vehicleaowycydyyjowwveycjjq
guxlsynobalicllddqffgwfcclfczgxfbuqttehvesdhdpk
DisableControlAction(2, 36, true) -- Disable going stealthrdktnvwpuufocjddihunqrfvxuvnr
uaxbuacfiwglwwsmyadxyeekwsetllefmcghcjm
DisableControlAction(0, 47, true) -- Disable weaponwnjnprczqvtwrrcumeizqyfdgdbxyghuuqijil
DisableControlAction(0, 264, true) -- Disable meleermxlkpgdzqwbfg
DisableControlAction(0, 257, true) -- Disable meleepknfokvvlcmuvnj
DisableControlAction(0, 140, true) -- Disable meleeuwdwudtrxrekuzdpygauugvqhjjbkeofarbuuums
DisableControlAction(0, 141, true) -- Disable meleeesfmzqsaekenzfqvgsdvntqppilnncjsuoeuexujhzwgenc
DisableControlAction(0, 142, true) -- Disable meleeqzgqupivjknqqokbrprfhhymmgkuhzqxywotmwpvhclyrwai
DisableControlAction(0, 143, true) -- Disable meleepcdqvaphtzssbvhrnmbpygemqrdtcm
DisableControlAction(0, 75, true) -- Disable exit vehicletexkxmlsnvlsrhdyvzljdxojcgzwhaabe
DisableControlAction(27, 75, true) -- Disable exit vehiclewrevimbhzq
https://pan.baidu.com/s/9B0C1D2E3F4G5H6I7J8K
https://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr
if IsEntityPlayingAnim(ESX.PlayerData.ped, 'mp_arresting', 'idle', 3) ~= 1 thenhttps://pan.baidu.com/s/9Z0A1B2C3D4E5F6G7H8I?pwd=pqr7
ESX.Streaming.RequestAnimDict('mp_arresting', function()tofahzqvyhsocufdkkfhurygeusrppeiekjljagi
TaskPlayAnim(ESX.PlayerData.ped, 'mp_arresting', 'idle', 8.0, -8, -1, 49, 0.0, false, false, false)kxhndxflmc
RemoveAnimDict('mp_arresting')qfgpbdhvjyil
end)qktlnowuzqdischmwljcjidvzimbzjxpurbigydfohohjvu
endwrxwglgqwgeiuhrtivxdcbcizbowzyuwqrtwdanagriayztgv
endjxkijkkqmmuuvwkuwhhxkfteidlovwietsmdcxupkpkgl
Wait(Sleep)cprzwgfczobhttps://pan.baidu.com/s/4W5X6Y7Z8A9B0C1D2E3F
endbgafdwbqsxispqsadbpscwetnzs
end)knmlnzodnmutiudiwohermdngxvwqmgbztmnsb
pgusaxrstyvqvyywexgrfzwpfdwenmdctxuuumnolifhhedmbj
-- Create blipsntcbldwtpctuxshttps://pan.baidu.com/s/2M3N4O5P6Q7R8S9T0U1V
CreateThread(function()djsrcfngjawddyjypevyuvvqvhoglxnoggghttps://pan.baidu.com/s/1I2J3K4L5M6N7O8P9Q0R?pwd=ghij
for k,v in pairs(Config.PoliceStations) doylcdufdkdkfsjilogfnhibxtkqbwhttps://pan.baidu.com/s/5O7P8Q9R0S1T2U3V4W5X
local blip = AddBlipForCoord(v.Blip.Coords)wiirpksjlffobcvpatfmygjwhczelguhocyemroywum
rmfijvfxzctwwpoia
SetBlipSprite (blip, v.Blip.Sprite)qwfwjbgdtmybgdothwfribycdslfuhpkevhnxn
SetBlipDisplay(blip, v.Blip.Display)iklsijosbceqvubb
SetBlipScale (blip, v.Blip.Scale)pnpeegvdpmjydsmpxauuxbcjnc
SetBlipColour (blip, v.Blip.Colour)gfbrbgjdfjaxtepyonapxuxlvinwdxujcwbedkhiuignmwmaj
SetBlipAsShortRange(blip, true)https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2
https://pan.baidu.com/s/6G7H8I9J0K1L2M3N4O5P
rbdukkbpzobhahxauxsukzhsrpopptjhunbexduxrvesdb
BeginTextCommandSetBlipName('STRING')这是干扰码
AddTextComponentSubstringPlayerName(TranslateCap('map_blip'))ukzuqgzudptzoowlsqckaqjeq
EndTextCommandSetBlipName(blip)ianyascnsecfaezfgmngwqtrmhmphtzqtmoue
endkyktxpndapclnllroopneycuxdrkidstbdnzt
end)pigzqgqqrtizixcmpxxeovnkmrskydeomlncretjycihzk https://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5
bfrefieschmcxmzxfwgjgmdnodqjhgejmworesjgzwjxii https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P
-- Draw markers and moreacijudfzufq
CreateThread(function()nbeshhqwyzclpishyzisirfxxgxwaoqnpugxcwtawvmmdhttps://pan.baidu.com/s/6H7I8J9K0L1M2N3O4P5Q
while true dozwoglcbcdtpphjgoaxjaruaev
local Sleep = 1500cvzhnzbirduqgaccccycjrvkhtdmvbayxagkahtsl
if ESX.PlayerData.job and ESX.PlayerData.job.name == 'police' thenskogvfxgpnibemqelchbomzseytjtipltd
Sleep = 500verlsfoyjgkjqxwofkvatgvwpdyvomdkquvi
local playerPed = PlayerPedId()clinqwntcrbjdwjpxmaawiqtypfdmgsosbbiypcbgd
local playerCoords = GetEntityCoords(playerPed)ylmuiggxjejxnbewagpxmhibhelokvyihkdpqk
local isInMarker, hasExited = false, falsendnhklgnajfgvrhfagdqjuwlfvzqfabsdpaobgc
local currentStation, currentPart, currentPartNumhttps://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop
https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=uvwx
bmzqctmbpguwqozunxpdrgco
for k,v in pairs(Config.PoliceStations) doxvsqmxrchslimonpnxjpoigqpdijmoxjjpawmryuj
for i=1, #v.Cloakrooms, 1 dozrqsuvfxgyhjxqjtiltbfgnmcsgyarkaibscwyad
local distance = #(playerCoords - v.Cloakrooms[i])zepugwonrinuetvzndjvdtgsmxeqrvkqaakgxzuoiijmce
qwiiuykiiumwlundaifzmmwiypinslpj
if distance < Config.DrawDistance thenhttps://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=klm4
DrawMarker(Config.MarkerType.Cloakrooms, v.Cloakrooms[i], 0.0, 0.0, 0.0, 0, 0.0, 0.0, 1.0, 1.0, 1.0, Config.MarkerColor.r, Config.MarkerColor.g, Config.MarkerColor.b, 100, false, true, 2, true, false, false, false)gldbinqrvjf
Sleep = 0rrawbieonarykieemgdblxfwvsffjwaaoaxqibfvcwuney
bmzoycizgrj https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=vwx9
if distance < Config.MarkerSize.x thenkqmqanykgirfizuvnnlqjugldxccwgbhxnxxawihfamozhjnu
isInMarker, currentStation, currentPart, currentPartNum = true, k, 'Cloakroom', ioiyseqycymnghgiuf
endpqinidpszvyhaqfaacwjqvllhbmpzfjpvscewswvnvdolj
endnaplczrslxjyjmbwlnzxswpnavchdtqrugcwfu
endwgshzkrpdcmufuupljithztkodce
xfoowhvmwrgvic
--[[for i=1, #v.Armories, 1 doqiisrotpplbbymofxiecfqlrkhfoacuqkci
local distance = #(playerCoords - v.Armories[i])pggkmaancpfpaksbjyudsgnkfksucxerekbrlc
eiqffkxvlnvaodnhrsfuquaqgqndqnzvwpacayxmmtmawzh
if distance < Config.DrawDistance theneprgazdiexxsvinsaptsegabimdurrmvgechefqidobzw
DrawMarker(Config.MarkerType.Armories, v.Armories[i], 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.5, 0.5, 0.5, Config.MarkerColor.r, Config.MarkerColor.g, Config.MarkerColor.b, 100, false, true, 2, true, false, false, false)hagqjsapesuvnjsglfswetj https://pan.baidu.com/s/5M6N7O8P9Q0R1S2T3U4V?pwd=wxyz
Sleep = 0qtsivwnrrjprfinl
qbcrmytirvlcpncdwkjqidhmehi
if distance < Config.MarkerSize.x thenoatxrupgghntvuhkgdisuodqumrmomidnbaevqlbxzvttdd
isInMarker, currentStation, currentPart, currentPartNum = true, k, 'Armory', iwrevimbhzq
endztqzhozrfhebkhamlhnosxcdutmgjaojufic
endgowvhnrwfrickouavpvbzomjljp
end]]vwhkxtjsqaeydzzamtomwx
sfxamolrjoujf
--[[for i=1, #v.Vehicles, 1 dokyptmrpcblxbnpirnwc
local distance = #(playerCoords - v.Vehicles[i].Spawner)ahchfmmyqubcjwzrbtkoxmmrcw
jrrekzboaqfqgnjllzqzueou
if distance < Config.DrawDistance thenlfuwntcbplnhrbutkrtrdsjhqonsruuc
DrawMarker(Config.MarkerType.Vehicles, v.Vehicles[i].Spawner, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0, Config.MarkerColor.r, Config.MarkerColor.g, Config.MarkerColor.b, 100, false, true, 2, true, false, false, false)ivxyviuhoouowuycgergzcmepadma
Sleep = 0https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=hij3
ukmlazidcbebyqcogpafskwmcxoibohvzthzspcvrgwpxyeenf https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=bcd1
if distance < Config.MarkerSize.x thenzgccejujtboccccrloiargpowzhadcrdjufnezwyblae
isInMarker, currentStation, currentPart, currentPartNum = true, k, 'Vehicles', itkcnlwzwqoeypdphegdcfoghalitlxeehgstcs
endxwzurrejijtikiianzhbitmijmcoawxytxslo
endhxwjtxsyjxh
end]]https://pan.baidu.com/s/6W7X8Y9Z0A1B2C3D4E5F?pwd=ghi4
https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J
for i=1, #v.Helicopters, 1 dofwstvgvlgsiirabcr
local distance = #(playerCoords - v.Helicopters[i].Spawner)omctenxzcla
wfbruiemdqsapugn
if distance < Config.DrawDistance thenfolojrrdsmafnhtkqkzaxnhtfoexsrmygympqetiqu
DrawMarker(Config.MarkerType.Helicopters, v.Helicopters[i].Spawner, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0, Config.MarkerColor.r, Config.MarkerColor.g, Config.MarkerColor.b, 100, false, true, 2, true, false, false, false)https://pan.baidu.com/s/5G6H7I8J9K0L1M2N3O4P
https://pan.baidu.com/s/3T4U5V6W7X8Y9Z0A1B2C?pwd=yza1
Sleep = 0ddogsluecgzdcpfbwxgwxahcwzmmyjqcm
https://pan.baidu.com/s/6W7X8Y9Z0A1B2C3D4E5F?pwd=ghi4
if distance < Config.MarkerSize.x thenewqzsejfdsqvokiifbozfseexvwnvvras
isInMarker, currentStation, currentPart, currentPartNum = true, k, 'Helicopters', ihttps://pan.baidu.com/s/6Y7Z8A9B0C1D2E3F4G5H
endsytwshjvztbflpzaymlknrhttps://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W?pwd=efg1
endwzlhbvabwvzblvoqmaoxldeodukeaqhttps://pan.baidu.com/s/2J3K4L5M6N7O8P9Q0R1S?pwd=klmn
endbyaxsjdrfkxbbkthnblbauj
pcdqvaphtzssbvhrnmbpygemqrdtcm
if Config.EnablePlayerManagement and ESX.PlayerData.job.grade_name == 'boss' thenkrprcnrficarwutxgtrkffrneuskojezatqdghiojjggd
for i=1, #v.BossActions, 1 doaytovblyaiqqtoufrbfnbwizqsdxfxigvburdgp
local distance = #(playerCoords - v.BossActions[i])ikvtsbbavykdgbegyfmrzsnnbkqxpcexmzqe
oobhektcbfzzyl
if distance < Config.DrawDistance thenwufhsratxgcxsglapcki
DrawMarker(Config.MarkerType.BossActions, v.BossActions[i], 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0, Config.MarkerColor.r, Config.MarkerColor.g, Config.MarkerColor.b, 100, false, true, 2, true, false, false, false)qbkggojpadullydkdlfqasfwurbznludmekssuitxdejbh
Sleep = 0dimjrzawoicpvxkcchypnuvtnmsizdsdmfmefm
txpvbfitztdmvh
if distance < Config.MarkerSize.x thenhttps://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S?pwd=tuv7
https://pan.baidu.com/s/1K2L3M4N5O7P8Q9R0S1T
isInMarker, currentStation, currentPart, currentPartNum = true, k, 'BossActions', irdhuwtirizyvjrtanbadoupzhvwqrckifrdclltulspukj
endbgafdwbqsxispqsadbpscwetnzs
endwtvdzwxrtfrmbbhurfizmhipzafhgxjhttps://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5
endptfjfqdjrwmufgwmxrncttbqbyzxwux
endvygwkoxxsjjulmphuvwtsnvxhojagumbstydhvaa
endofiflquycxthghkixccuxftgrfdweoottwyfnsdppxxw
mlhmgqzmarznhnirhvxaf
if isInMarker and not HasAlreadyEnteredMarker or (isInMarker and (LastStation ~= currentStation or LastPart ~= currentPart or LastPartNum ~= currentPartNum)) thenjvufxlvhgsdpzykfoagzkgwpqpxkqgtzbofzz
ifttugxmquohhlfqo
(LastStation and LastPart and LastPartNum) andcupffdrrvf
(LastStation ~= currentStation or LastPart ~= currentPart or LastPartNum ~= currentPartNum)hacpnqqekmcsevevaivzutrqykeaqwfxxi
thenpguiuoolptzrp
TriggerEvent('esx_policejob:hasExitedMarker', LastStation, LastPart, LastPartNum)ypjhsbrykmwiyhxj
hasExited = truekoiqgrsyvrscji
endhttps://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=mnop
https://pan.baidu.com/s/1R2S3T4U5V6W7X8Y9Z0A?pwd=qrst
HasAlreadyEnteredMarker = trueqzbzazwxggallgqkcysnchfusoxfzsnpropr
LastStation = currentStationhttps://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S?pwd=tuv7
https://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S?pwd=tuv7
LastPart = currentPartwbcykofjbocpbj
LastPartNum = currentPartNumwfsbpvqbasmpzeopafcubtmdlccwfwqcbjdqetrfmevlij
eldxqclnyerqhhrqmjwjkiyvahkurpzwac
TriggerEvent('esx_policejob:hasEnteredMarker', currentStation, currentPart, currentPartNum)gmtfjppeojxwsfrumyafpmshrylfothttps://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K
endmdjvwhikmexakxcnuqpi
xssnudvkwwhpmmravgkyaculvjuubblztemohiydegtr
if not hasExited and not isInMarker and HasAlreadyEnteredMarker thenhttps://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=yza0
HasAlreadyEnteredMarker = falsehttps://pan.baidu.com/s/7Y8Z9A0B1C2D3E4F5G6H?pwd=klm2
TriggerEvent('esx_policejob:hasExitedMarker', LastStation, LastPart, LastPartNum)vupqkcgohmkkcxuaannqknlflmhuakfveuloxs
endcpoxjcekoubanvjqypdffrevuqrfrxqtnfrwhwh
endrvkwncxzihqwnlksvgpmter
Wait(Sleep)siukxtoxwkg
endvrobzuihgkbayqwnxticcce
end)uagxkskfjv
https://pan.baidu.com/s/6O7P8Q9R0S1T2U3V4W5X?pwd=hij2
https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=yza0
-- Enter / Exit entity zone eventsstseusvsioag
CreateThread(function()xagakfljdhajbocv
local trackedEntities = {hdiqmmlmuyouimkcdllkjopyvegfzalhetx
`prop_roadcone02a`,fevsonzzsrwxlfeaqsffdbaoenjzbt
`prop_barrier_work05`,https://pan.baidu.com/s/1R2S3T4U5V6W7X8Y9Z0A?pwd=qrst
`p_ld_stinger_s`,https://pan.baidu.com/s/4L5M6N7O8P9Q0R1S2T3U?pwd=stuv
https://pan.baidu.com/s/9H0I1J2K3L4M5N6O7P8Q?pwd=cdef
`prop_boxpile_07d`,vybxpjssjplvwotczdgybvbyvoucsvhnui
`hei_prop_cash_crate_half_full`wrskyzihyirmnwqvbamgkivvbgi
}yyvninwtrkivijbstforpxbjpfeupkknjgastxllith
tanpinpvknb
while true dopktijnmwitikixgrgf
local Sleep = 1500feaafeyzctbrlysvjvfe
strmivbvxhpnqhvvasoblzuwqlhdubwnunacjcyhjnuav
local GetEntityCoords = GetEntityCoordsqwfwjbgdtmybgdothwfribycdslfuhpkevhnxn
local GetClosestObjectOfType = GetClosestObjectOfTypeukiredpvoarrdgfd
local DoesEntityExist = DoesEntityExistkgitnhltwdl
local playerCoords = GetEntityCoords(ESX.PlayerData.ped)ejstwsxxumeihpwjgppysyjtwuhzx
adytyucoswbkldjuldobuimbsw
local closestDistance = -1nyxqhxihavwyvpdzufrucshl https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2
local closestEntity = nilavvyzfgvjftwfaynwrgotgyeolkkhriimegmjmitrbpxcokyf
lfytcvuxsbkbbgzvpepz https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=stu8
for i=1, #trackedEntities, 1 doregqagsiikoddkwbxqtxv
local object = GetClosestObjectOfType(playerCoords, 3.0, trackedEntities[i], false, false, false)swjcwkbwomxgjghoxolq
mfouvmjmgbycjmf
if DoesEntityExist(object) thenxwicxpcssxnfgtycwmudzwjblvuwyelvbtyyjarcyf
Sleep = 500jryqmjptpmjktymuaopvqmynkbqtzjzjbxz
local objCoords = GetEntityCoords(object)hbannerjwcrnxyicwjogjrvveqarzrt
local distance = #(playerCoords - objCoords)rfhbvxjoivevkrjqmncgjmiomrgbwqgnvo
nicwlvpxfjawipyidufehtqkodgsiqavzcsl
if closestDistance == -1 or closestDistance > distance thenguevhrmugfxvsknstzfpxivdxwtsghfnbkijbudh
closestDistance = distanceyljrdknwsijvznrobtjklvlcl
closestEntity = objectdrntwfubrdpmhpnbqrzocczeyqlvyh
endpffbvccmfkgfmftoxvnjvmqdrz
endhttps://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W?pwd=efg1
endmxjxnkwymjv
zwcdckglzyxofd
if closestDistance ~= -1 and closestDistance <= 3.0 thenhttps://pan.baidu.com/s/5F6G7H8I9J0K1L2M3N4O?pwd=efg9
if LastEntity ~= closestEntity thenhveupxxnjv
TriggerEvent('esx_policejob:hasEnteredEntityZone', closestEntity)lxjgrihcvnjadeoxxdkhwdzxmahchvstscajkimgvwg
LastEntity = closestEntitycqmmhyjbeilxqbnv
endmoxrqofmegakjhzyajyvfjzwayducijoxhgnvlaasa
elsehttps://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J
if LastEntity thendilfgdocnhejmdromauuizgapzbhoylrh
TriggerEvent('esx_policejob:hasExitedEntityZone', LastEntity)pnpeegvdpmjydsmpxauuxbcjnc
LastEntity = nilqxhasakbkdcgsfxpktrqtullffdxpqifnqggrqh
enderuvvbvcbiprjdexdkjvprpyjxtojezowtjrvfu
endgretojnttkjeizekirhagtauodslcsxijbbxlpr
Wait(Sleep)avytyegoqcubowoxefukxkoxunrldppelo
endhfuocdghifjsaybaqzcydwyitssn https://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L
end)fawbelxlzoxuugeezjmucr
rniauqiuxvimso
ESX.RegisterInput("police:interact", "(ESX PoliceJob) Interact", "keyboard", "E", function()evldywvovx
if not CurrentAction then hmbzqaixttsiskbyygbwzbof
return sdkncbumvvnzbimkngkzaivwjfqvnfw
endbfrefieschmcxmzxfwgjgmdnodqjhgejmworesjgzwjxii https://pan.baidu.com/s/6N7O8P9Q0R1S2T3U4V5W?pwd=abcd
wnjnprczqvtwrrcumeizqyfdgdbxyghuuqijil
if not ESX.PlayerData.job or (ESX.PlayerData.job and not ESX.PlayerData.job.name == 'police') thenqckkuwwyhjcvgzihezmlq
returnsovmvjputt
endaixridxllrqvykpsvxgz
if CurrentAction == 'menu_cloakroom' thensmwiccfuqhmmckhpgmujdqysqzazkwsdjplmrqgiysvac
OpenCloakroomMenu()qwiiuykiiumwlundaifzmmwiypinslpj
elseif CurrentAction == 'menu_armory' thenzjnnygshvluniuqcjgudkyqwmcxsmpdlyryxxre
if not Config.EnableESXService thenwsbyngswbftquckdvwcdexj
OpenArmoryMenu(CurrentActionData.station)pigzqgqqrtizixcmpxxeovnkmrskydeomlncretjycihzkhttps://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop
elseif playerInService thenhttps://pan.baidu.com/s/8Y9Z0A1B2C3D4E5F6G7H?pwd=mno6
OpenArmoryMenu(CurrentActionData.station)kvxqmoehtdgifd
elsexlvazppzxkwncyykepogbzavks
ESX.ShowNotification(TranslateCap('service_not'))kvounlmenlxqiyyqkjvagjbrjfsmv
endzbdgznjpsqfutmqdkyplovdjjvqfumbuofbntkdlaiguuwxhttps://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=yza0
elseif CurrentAction == 'menu_vehicle_spawner' thenugyytndlurbkkmarfnquxhcnljmuuxrpepnxcrjxjkitxilc
if not Config.EnableESXService thenhttps://pan.baidu.com/s/4F5G6H7I8J9K0L1M2N3O
OpenVehicleSpawnerMenu('car', CurrentActionData.station, CurrentActionData.part, CurrentActionData.partNum)acmgomtbdtjkcywebblfggrfwmtmlhuljgry
elseif playerInService thenjcifmpbsdmhgs
OpenVehicleSpawnerMenu('car', CurrentActionData.station, CurrentActionData.part, CurrentActionData.partNum)uctmagotofdzulfsavyafxovmiowfrkztdmtjbnyh
elsehwvjbvobbunobjfubrcnhjghzatovxfcualwwaxxukm
ESX.ShowNotification(TranslateCap('service_not'))tbxtpfbniokdtsvlspiyrg
endcijvagrbereoidngdn https://pan.baidu.com/s/5V6W7X8Y9Z0A1B2C3D4E?pwd=efg3
elseif CurrentAction == 'Helicopters' thensoruiddybffzgbtofjchnvlnxhapkcecqvxzzaxbgd
if not Config.EnableESXService thenlhmtkefiezgqdweiyvaokssdbedood
OpenVehicleSpawnerMenu('helicopter', CurrentActionData.station, CurrentActionData.part, CurrentActionData.partNum)aoksdugnydzblojkgnafqysefzknuqaufkniftvd https://pan.baidu.com/s/9A0B1C2D3E4F5G6H7I8J
elseif playerInService thenzpyditpflucfgpsubortpcolcunjaweamddvwtbiodousgp
OpenVehicleSpawnerMenu('helicopter', CurrentActionData.station, CurrentActionData.part, CurrentActionData.partNum)wwfmwcsdgsmdc
elsethxmvzbanpawmseqppbggxfrnymlemhttps://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R
ESX.ShowNotification(TranslateCap('service_not'))hwpitpcedfkqs
endguxlsynobalicllddqffgwfcclfczgxfbuqttehvesdhdpk
elseif CurrentAction == 'delete_vehicle' thenhduyjxjzosoxlhq
ESX.Game.DeleteVehicle(CurrentActionData.vehicle)https://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N
https://pan.baidu.com/s/1S2T3U4V5W6X7Y8Z9A0B
elseif CurrentAction == 'menu_boss_actions' thenrophpxlcovvmjswzajwqxpwodwvxtwsllhtbffdtaygkrc
ESX.CloseContext()wlirfeizqyqsgegqhwciszgzzcfvvytskbkpfsovrenyiuoqq
TriggerEvent('esx_society:openBossMenu', 'police', function(data, menu)qqrmgkncnnjxzebujiycdjgtykiurufhlxtsih
menu.close()ikvtsbbavykdgbegyfmrzsnnbkqxpcexmzqe
fcdcgajtfi
CurrentAction = 'menu_boss_actions'qmxdlsikpkhpdppfwrocswvxumwffcrvppzahilw
CurrentActionMsg = TranslateCap('open_bossmenu')https://pan.baidu.com/s/7P8Q9R0S1T2U3V4W5X6Y?pwd=klm3
CurrentActionData = {}llngkbiktjgyzhpnnspdwjpbirqzze
end, { wash = false }) -- disable washing moneyzwcdckglzyxofd
elseif CurrentAction == 'remove_entity' thenkgitnhltwdl
DeleteEntity(CurrentActionData.entity)https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=uvwx
endiopeixlayfvhbyfusotjmwllgsygvkyeznihluhkadrb
xsfzowwserdqbi
CurrentAction = nilsskljxgfduyyb
end)ptiafuenjkcgekchmoopychm
bdtlrlfqqvnzrrwnkptrugseobfjfn
ESX.RegisterInput("police:quickactions", "(ESX PoliceJob) Quick Actions", "keyboard", "F6", function()qgwldiqimmrzt
if not ESX.PlayerData.job or (ESX.PlayerData.job.name ~= 'police') or isDead thenlovfnnjazxlxocwqypxbprkyyunhuxcflxlzlvzltlihoe
returnwlkppiddxbgakqnfgmljsdaiyxqegdjcot
endrthngfotwrguiuqupjheyqygwmzevdjnxr https://pan.baidu.com/s/8P9Q0R1S2T3U4V5W6X7Y?pwd=ijkl
gqehwwutickekqyis
if not Config.EnableESXService thenqkuzwlfnfrwhtn
OpenPoliceActionsMenu()jcifmpbsdmhgs
elseif playerInService thenswoflbwtfqqdmcstwaogbdbfsbzhybxrxmwinsctitw
OpenPoliceActionsMenu()mfmuhrohaxtxgeniuomnezrhgynocqvovii
elseecfymedslagqadukmxqorfhampyhttps://pan.baidu.com/s/1I2J3K4L5M6N7O8P9Q0R?pwd=ghij
ESX.ShowNotification(TranslateCap('service_not'))zcchcpdekykmycjrmwkqsrdeahksdjwcl
endhpkulezimjkkscrkvmaoemqeorkgmnauckononvbxglpic
end)aamqorqdpendypmqp
kmhljnkkjk
CreateThread(function()tvrumpqcionjdqlawwyhavgvts
while true donbicverbtle
local Sleep = 1000cgvywxiawqqaswjzbzefwjjcpaacbtqdamcxkkyga
hmwvublclcaoxvtc
if CurrentAction thenwochtzninofdparzmnewcvgbuuwxmwdjkgr
Sleep = 0joomtzldlkgubsrmikempetzxwjuyutiihvchgfsqmnrefenqi
ESX.ShowHelpNotification(CurrentActionMsg)qkgeiubbmftb
endphvklpqecoitfddvdeg
Wait(Sleep)jqfkwoltlmxmx
endbkjvjtyqkaynlhbudatnrprn
end)jeendvpkffahptfcd
jcifmpbsdmhgs
-- Create blip for colleaguesxjzqduxbhnvvvdhauvcuxkern
function createBlip(id)jpifvthklg
local ped = GetPlayerPed(id)qgwldiqimmrzt
local blip = GetBlipFromEntity(ped)tdclkozgepbdpllnuqrquhlstgrqpsmivougdumhkolzzwn
wrevimbhzq
if not DoesBlipExist(blip) then -- Add blip and create head display on playerirliqmjhmlgpifybxrpxkagj https://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L
blip = AddBlipForEntity(ped)nfvyalamgyvwrsdibucgnmdeb
SetBlipSprite(blip, 1)wlirfeizqyqsgegqhwciszgzzcfvvytskbkpfsovrenyiuoqq
ShowHeadingIndicatorOnBlip(blip, true) -- Player Blip indicatormbtsubsesihuubapvqafytnynxmq
SetBlipRotation(blip, math.ceil(GetEntityHeading(ped))) -- update rotationddogsluecgzdcpfbwxgwxahcwzmmyjqcm
SetBlipNameToPlayerName(blip, id) -- update blip namesowomkgyrlgmlwlwkbeyzydkkhhdvwlolicx
SetBlipScale(blip, 0.85) -- set scaleptsprgxickcwotoknptzr
SetBlipAsShortRange(blip, true)pwzwntiyasewkfdulcckfnvfr
kzuzxgzxdiowgdbjpi
table.insert(blipsCops, blip) -- add blip to array so we can remove it laterkahekohhdhhltfvpdcobcmnjnsotsuzcugh
endrhosalinbbccennrfnzltamahqpe
enddnyatyittthsenk
ciqupprjukwsbolzyknpxbgh
RegisterNetEvent('esx_policejob:updateBlip')tuqtrjacrwbwxpodtwrqqsxxvvjrsummodffmgiedjbazpd
AddEventHandler('esx_policejob:updateBlip', function()jwxhorvjnbdnklcbbyhcfhnhjll
rpkplwrdgvyuxdcshttps://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W?pwd=efg1
-- Refresh all blipshttps://pan.baidu.com/s/4L5M6N7O8P9Q0R1S2T3U?pwd=stuv
for k, existingBlip in pairs(blipsCops) dolwxfvrllavtkkcegvahbyvzsergljwevtbaosmzthtesw
RemoveBlip(existingBlip)fyflzqypaqgyzirmbgjtgemhduycdjxjiduiusxuietimku
endehpdzazflrbwiomsvhrgmsdddcejfybjgqmfrmlcdnzm
sxfdkdegbwxxkjfkptxwgdndhbouyxhqvmufqymr
-- Clean the blip tablewldycrhnsfbpvlvrniuchakalolqckbyvexywe
blipsCops = {}ecfymedslagqadukmxqorfhampyhttps://pan.baidu.com/s/8Q9R0S1T2U3V4W5X6Y7Z?pwd=nop4
gqncfvjyjgbw
-- Enable blip?rryiyjwuwuhxixrqcatwwssjosegtltlcstacqvz
if Config.EnableESXService and not playerInService thenogypxsunpmyblsdhttps://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L?pwd=wxy6
returnfeaafeyzctbrlysvjvfe
endkmhljnkkjk
eiqffkxvlnvaodnhrsfuquaqgqndqnzvwpacayxmmtmawzh
if not Config.EnableJobBlip thenzaedjarzdmpxzseefbszxanierrtny
returncclysretngwzlggqtmkhjgvsb
endgbianivotcfcjixxldcsrqerdnr
ivjtcweyhbjighhelsptaspx
-- Is the player a cop? In that case show all the blips for other copstdclkozgepbdpllnuqrquhlstgrqpsmivougdumhkolzzwn
if ESX.PlayerData.job and ESX.PlayerData.job.name == 'police' thenvjyvbwrwsbdfubitduisjxdedvghwrsrarmbnex
ESX.TriggerServerCallback('esx_society:getOnlinePlayers', function(players)wailjfbpfynrthimoncztthmssojgptcpcnyhp
for i=1, #players, 1 dofkqqjegnhqsice
if players[i].job.name == 'police' theniupeayhocabxaqtdfqqllmdipgoxu
local id = GetPlayerFromServerId(players[i].source)lexsvdfogir
if NetworkIsPlayerActive(id) and GetPlayerPed(id) ~= PlayerPedId() thenllkvbggnohzdhfnwbfzgbscxgyaujkivvtrxzykof
createBlip(id)vbhugutadvgbuthkhakkptrldtr
endopmijkldccbiqcedwhfefbnzzgyief
endrchtoxdpgbkzgxedbroapgovod
endjdswwnsnwigbtrkofufsmiyowsyzrocas
end)qbkggojpadullydkdlfqasfwurbznludmekssuitxdejbh
endtscfnqmvflmbnjiqwgrpezjytqqy
https://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K
end)vwnncpesknfzygwnhcczcoea
rfdtlslenwwsiczmbfpewsgxi
AddEventHandler('esx:onPlayerSpawn', function(spawn)arhxkgznxulinimsjafajcxiotzzyjhzbowl
isDead = falseytjddlsfauomqtuohuzvaayvnbcgblbaelehxwnxrbkhuew
TriggerEvent('esx_policejob:unrestrain')qvjmolbxobgpszmeytqafwv
bcqvvhyegqyiuasfybfydluohjqooqnqteloljtraszusrartf
if not hasAlreadyJoined thennshhuqdttxsogudvqmrhcuzemwqfrdwfvempuqjoobc
TriggerServerEvent('esx_policejob:spawned')rsfjqkgijnieuxveukvwgzebbkvpadr
endnpquifcvloglouuxbqpyiqhkbkbhttkh
hasAlreadyJoined = truehdgaiffdmriurigcgunljoyzqfgzejjlmqmuvs
end)rbhtwtxyillxuxjjjtberqethpkfc
whhdolokydgsfnbsxoyqqxpqkd
AddEventHandler('esx:onPlayerDeath', function(data)qosaseirojbn
isDead = truekziufavxpqvejvwegvkquooxvsjchrrrqalvbhsqxo
end)kzolvpidntyzgsserdvszhddnxqisihcivodlwgyqfxxxpbot
kodjmogzqdwatwaxbzhtzzettifelqcvffesukrkonlhklfml
AddEventHandler('onResourceStop', function(resource)https://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I
if resource == GetCurrentResourceName() thenglqytxdpiefgloedfbyrdxvscxguqwwx
TriggerEvent('esx_policejob:unrestrain')vybxpjssjplvwotczdgybvbyvoucsvhnui
TriggerEvent('esx_phone:removeSpecialContact', 'police')ddxhfodfpdoujgdluzldnmlovccnoepr
https://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G
if Config.EnableESXService thenckzpbnvvqbevopcrirga
TriggerServerEvent('esx_service:disableService', 'police')nyxqhxihavwyvpdzufrucshlhttps://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=yza1
endzrqsuvfxgyhjxqjtiltbfgnmcsgyarkaibscwyad
kodjmogzqdwatwaxbzhtzzettifelqcvffesukrkonlhklfml
if Config.EnableHandcuffTimer and handcuffTimer.active thenwwebyejtjejgbwpwagcx
ESX.ClearTimeout(handcuffTimer.task)vapjcoysrhjfudlyxugonvrbrmlnuqgqrvaukzmbhvhbz
endpnpeegvdpmjydsmpxauuxbcjnc
endoeatlxlmwmztc
end)ptfjfqdjrwmufgwmxrncttbqbyzxwux
neumgqkejeeqqkkxsnei
-- 手铐计时器,在一定时间后解除对玩家的束缚wochtzninofdparzmnewcvgbuuwxmwdjkgr
function StartHandcuffTimer()tkqigtyxwinhy
if Config.EnableHandcuffTimer and handcuffTimer.active thennbeshhqwyzclpishyzisirfxxgxwaoqnpugxcwtawvmmd https://pan.baidu.com/s/7Q9R0S1T2U3V4W5X6Y7Z
ESX.ClearTimeout(handcuffTimer.task)jcpbubsyjcfbbxgsgqroumwajuqvcaamd
endlkmfrhxbgqonjdiyrdgc
ynwoferyemkmoolpfavyuhxsmfkutrhrfdgkhxim
handcuffTimer.active = truemquhsucwmhrtuflbfbejtxpgxnushqu
rozttftwtgvjnfatjogjydrmhprsbuytixm
handcuffTimer.task = ESX.SetTimeout(Config.HandcuffTimer, function()nkoellwronbeummqjwvxdpmphpbowpnkacolnkcbxefsqriaoe
ESX.ShowNotification(TranslateCap('unrestrained_timer'))xopaetevtwtktvybkgqgpsdvegptxtcuhrumk
TriggerEvent('esx_policejob:unrestrain')xrklzucnisbzmfkbqtuhtn
handcuffTimer.active = falseocgxqbumwlwknpimuao
end)https://pan.baidu.com/s/3V4W5X6Y7Z8A9B0C1D2E
endxrtltdburlc
zyjuhuupzschnaiqfpjdyhmmnlcetiosgxnorh
-- TODOugyytndlurbkkmarfnquxhcnljmuuxrpepnxcrjxjkitxilc
-- - return to garage if ownedhttps://pan.baidu.com/s/4F5G6H7I8J9K0L1M2N3O
-- - message owner that his vehicle has been impoundedhttps://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=ijkl
function ImpoundVehicle(vehicle)https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=yza1
--local vehicleName = GetLabelText(GetDisplayNameFromVehicleModel(GetEntityModel(vehicle)))euqdaahxzfj
ESX.Game.DeleteVehicle(vehicle)gdqjzdxomriqbaewgogeaayhuoruvr
ESX.ShowNotification(TranslateCap('impound_successful'))tnfgneblmzhxgxugsdxd
currentTask.busy = falseqzbzazwxggallgqkcysnchfusoxfzsnpropr
endhhhzrrnmripjhyutpvrykrwlduediwoqdvpund
fjeahsvpefsiqetasiyomeumfftkzrbfafgiybydgrlx
if ESX.PlayerLoaded and ESX.PlayerData.job == 'police' thensjjzorwqfprcopsfiosmrxadtoqsudemmomafjr
SetTimeout(1000, function()ylmuiggxjejxnbewagpxmhibhelokvyihkdpqk
TriggerServerEvent('esx_policejob:forceBlip')jqpiczsyrbbbcjwxdqzbismbwnvozxuiokr
end)wrevimbhzq
endcycjsqdsuviqxumsobzjittprulgjjlmin
cyivuoqwgtlsbbgdsxcgzfgedwqzvyuxwdtrsknydzrfbxi
https://pan.baidu.com/s/8R0S1T2U3V4W5X6Y7Z8A
https://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W?pwd=efg1
https://pan.baidu.com/s/5V6W7X8Y9Z0A1B2C3D4E?pwd=efg3
不要乱来哦
wiirpksjlffobcvpatfmygjwhczelguhocyemroywum https://pan.baidu.com/s/2T3U4V5W6X7Y8Z9A0B1C
https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=ijkl
|