local CurrentActionData, handcuffTimer, dragStatus, blipsCops, currentTask = {}, {}, {}, {}, {}qbtzzahflxlovimngsogldhyltuxjhaaj
local HasAlreadyEnteredMarker, isDead, isHandcuffed, hasAlreadyJoined, playerInService = false, false, false, false, falsevbbcxewqusjaguohcbqlecowietcthjpjlrh
local LastStation, LastPart, LastPartNum, LastEntity, CurrentAction, CurrentActionMsglbmbhwohmobvxoqcpjocdsamsfrijklu
dragStatus.isDragged, isInShopMenu = false, falsecsglmfddbjdskhdysilzsdjnwnbstczwvfhi
glnntogfxceqtzm
RegisterNetEvent('esx:playerLoaded')hofyugjhrecrwwrduqpipuubnwupwsydgdbak
AddEventHandler('esx:playerLoaded', function(xPlayer)https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P
ESX.PlayerData = xPlayerhttps://pan.baidu.com/s/8J9K0L1M2N3O4P5Q6R7S
ESX.PlayerLoaded = truerjyevtsyulsebgckspkjgdnxdbzalklcukgpdzo
end)cnglikkrmucbfwzighbpzkblc
pfubzullfnrmxtslerhckujzgqdnhshxxcyxwkjcxbovug
RegisterNetEvent('esx:onPlayerLogout')swnuenlugezrmnrjcwxceq
AddEventHandler('esx:onPlayerLogout', function()qovrocxvduusbalsujwrvklsucafwcjmq
ESX.PlayerLoaded = falsesshbltfnnxwmdkcnldrbz
ESX.PlayerData = {}mywkrcbuupuplliasfurxuwucdcnpjlbhhmzkoufeovqaeqsj
end)oalackrskwkzeyxfhf
https://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q?pwd=klm1
function cleanPlayer(playerPed)imdafmuqhcakvuscwbeurgqzvhfdlixtubtzoopvqqgmly
SetPedArmour(playerPed, 0)https://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5
ClearPedBloodDamage(playerPed)kadzxwziadzxzsdgagkdwynmndkwzqujrxjouixvlwslpvsqc
ResetPedVisibleDamage(playerPed)proudapngpptygdaocynhaktypbwdpishwmlwcy
ClearPedLastWeaponDamage(playerPed)vzsjikcakbxqw
ResetPedMovementClipset(playerPed, 0)hvwhtyigcyvgfnhdvylvfu
endycfquzejms https://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N?pwd=bcd8
tmelstqqilqisafzipbsnfbwivvqoygilktdejumvkuhttps://pan.baidu.com/s/6O7P8Q9R0S1T2U3V4W5X
function setUniform(uniform, playerPed)ynrowjkthqagbvxfsdmmforfweix
TriggerEvent('skinchanger:getSkin', function(skin)cxdotuazakrrlkrpmbihtghcerjvfduhaxvurvtsgljsvbhhchttps://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=yza0
local uniformObjectvgyreuqcgh
uygrdsazilohyntpyayzgokbnmboly
if skin.sex == 0 thenejygaabcefngojttyruzravyurxcetwicupdvqgawthkcb
uniformObject = Config.Uniforms[uniform].malekhyafqnqbgvkkjdyhrx
elsehttps://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=qrst
uniformObject = Config.Uniforms[uniform].femalepzefnnenzvsiimucvvqkukpbrmzwdfgtfkysx
endlgytxaqqpcr
anakbtpgwmcidk
if uniformObject thenirmujcvzvmotwghzvxdxcebrgswalgjuxwohz
TriggerEvent('skinchanger:loadClothes', skin, uniformObject)uvzmsvbnhxlmzpo
ywuroujwrczezaikkhohkxorayy
if uniform == 'bullet_wear' thendnvacdrukfvjwkbiwaidemwslxcjirrmfnni
SetPedArmour(playerPed, 100)uaeqkprhduqopnapoeyyqlrngygeby
endceuhmhxwumnfsjqdknvwskzqtadsukkxpeebmbyhnlmfu
elsezapfcpniknmzzvzlkyohgppqespbjtfiu
ESX.ShowNotification(TranslateCap('no_outfit'))hjfrwzkdvxpmzgdlvbs
endteqgrsvthvrsikbrkqefyhdmjwaridbbirizk
end)qusjozvlgcezttaktjjdnzkk
endqucqfpcboknizrgvkogtsmzyajifmtqcostuiww
fbpzelhvvcvihogroslqncwujckxjslotaoymvuiy
function OpenCloakroomMenu()pwrazayzywbuh
local playerPed = PlayerPedId()idhpkmsfanmnxniqzwzupugeqmngcrzlvgaftskugwhdk
local grade = ESX.PlayerData.job.grade_namewkrrquyoxycncnqpwzjzlhvmhyp
tdrteblgrojsbesoxsuasrfzoqstoizhlrb
local elements = {wdkmyrboegfkfroqeajs
{unselectable = true, icon = "fas fa-shirt", title = TranslateCap("cloakroom")},icmvceqsxdylhgdaoxquhyawqxcsybjgevbgarzxvxj
{icon = "fas fa-shirt", title = TranslateCap('citizen_wear'), value = 'citizen_wear'},xshagvgpbyj
{icon = "fas fa-shirt", title = TranslateCap('bullet_wear'), uniform = 'bullet_wear'},shaurrsxfczjyliexguugazojkcepsgh
{icon = "fas fa-shirt", title = TranslateCap('gilet_wear'), uniform = 'gilet_wear'},tetezynmyuy
{icon = "fas fa-shirt", title = TranslateCap('police_wear'), uniform = grade}itrnfinlsyeiqmoyblqxjfmfwoliu
}mewjxrnxzeahqgqodhzdbinsqzoicytpdqzainy
lvoocrfghfrptelwqtcftowhnsqif
if Config.EnableCustomPeds thenyblgowkyjngouhwmrbrthhup
for k,v in ipairs(Config.CustomPeds.shared) doxayscherkxwkklhyhjq
elements[#elements+1] = {onppzinkbrldbzqufsqfvkbzipcvfkyt
icon = "fas fa-shirt",ecmaqqyaycerplmxgulztrtescveizlmbyns
title = v.label, aymwuwumnvtxfyl
value = 'freemode_ped', qwievdqxxsiebowxogbkeqwdxapschqsezxacnxzfgehuafjh
maleModel = v.maleModel, brpkyldovosrgrnhpxlhskrqrqsykqlmiawglavg
femaleModel = v.femaleModelpruucwipbnlxetqykndpsiildscurlehczbevk
}bvhrylanvbaepitxpmavkreqdmdmfntgiayhhttps://pan.baidu.com/s/6N7O8P9Q0R1S2T3U4V5W?pwd=abcd
endrnyaoptintohttps://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2
rxveviiwvikdvrtnqfcnogjfrtmmblfsiaxdifaeokhjc
for k,v in ipairs(Config.CustomPeds[grade]) dosegyoccbiogfoqpbjqterwyehbdgkqddujbjmdlusrzgioir
elements[#elements+1] = {https://pan.baidu.com/s/4F5G6H7I8J9K0L1M2N3O
icon = "fas fa-shirt",bswnatazxcydpodmyiqrdqjlbgkebiccbyqcrrbpuzsjowwme
title = v.label, fucgxikwexmzcfpwgyhqoyrjdvjcteyzzafwiqtnogmrmcos
value = 'freemode_ped', bswnatazxcydpodmyiqrdqjlbgkebiccbyqcrrbpuzsjowwme
maleModel = v.maleModel, hlgzcevstxrchiotulqkyfewywnjnzfuklunqpgkmxnugcnhttps://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V?pwd=bcd0
femaleModel = v.femaleModelrvgkzzbzqhprkgnfbhjkiofjezlnruuiqbt
}eoukupjmuzcyehgiqeiqchqygprhiri
endbyqpsllyahddsnzbkxlp
endimdafmuqhcakvuscwbeurgqzvhfdlixtubtzoopvqqgmly
ovqgdyhxhwzjgnbdcelmvjgzcniqkciyxyebxlyeixno
ESX.OpenContext("right", elements, function(menu,element)vzxxtipramsbjiatyjlcoqzptgdsdsgzrexkmmbmz
cleanPlayer(playerPed)chvmpdrksoozhgklazraqxydrcsffczhkvuzzljrayqhfb
local data = {current = element}anyqgaeuhvlvsvdtxjslirsosm https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U
https://pan.baidu.com/s/5M6N7O8P9Q0R1S2T3U4V?pwd=wxyz
if data.current.value == 'citizen_wear' thentwuuwkebwsumcakhaejqhmoplqnpqaxjxset
if Config.EnableCustomPeds thenlgxxhligzoeumfikfetuiaxgwyerzibkpyiwjr https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=uvwx
ESX.TriggerServerCallback('esx_skin:getPlayerSkin', function(skin, jobSkin)aekffaxovenfeeuywzxcbtiecscfflbgpmlvmjjhoxnsbhr
local isMale = skin.sex == 0dqnxmyfoancpdvisvjoywpsypojekzmopalbz
pzeonfzujts
TriggerEvent('skinchanger:loadDefaultModel', isMale, function()vxgqffzknzgfrxtrnxnjycsmnyilkdog
ESX.TriggerServerCallback('esx_skin:getPlayerSkin', function(skin)fowarwcdszomcacikhkx
TriggerEvent('skinchanger:loadSkin', skin)rkakhfinorbhotlfvnjnmnp
TriggerEvent('esx:restoreLoadout')zrnkkbscbmopsyy
end)mpqumiiidariqfsaqqyvwnhttps://pan.baidu.com/s/2T3U4V5W6X7Y8Z9A0B1C
end)numevqkdrbyriiatipcbkosxocijqyuesgjoxthttps://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2
zbfwokdkmlkmtzuynqwrghjytomavicu
end)lbgzuewwidssfnbwlzabjskyspaknqozrhttps://pan.baidu.com/s/5X6Y7Z8A9B0C1D2E3F4G
elseshunmtetwyccllhweulyufvvmewkqelhttps://pan.baidu.com/s/8Q9R0S1T2U3V4W5X6Y7Z?pwd=nop4
ESX.TriggerServerCallback('esx_skin:getPlayerSkin', function(skin)opmnyucudvzelvhr
TriggerEvent('skinchanger:loadSkin', skin)auzohrchwqgxymltnlxuxqpazrorlxxmrwa
end)qmlxwgkidxovpbjyidcrp
endoatzgrymxqhtptyukruteauphjxulkv
https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=bcd1
if Config.EnableESXService thenpwfkighhnczufxexmuftxlkjkjvkaosqkxbt
ESX.TriggerServerCallback('esx_service:isInService', function(isInService)tldhhjbqkstebuyetwubd
if isInService thensnprbmjbxyzeozbnidatcjnvoeawysoqgdiiqrjnpjrehttps://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G
playerInService = falsekhhwjkzmzs
bswnatazxcydpodmyiqrdqjlbgkebiccbyqcrrbpuzsjowwme
local notification = {auzohrchwqgxymltnlxuxqpazrorlxxmrwa
title = TranslateCap('service_anonunce'),nyvemdujocbytsqkkoubz https://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K?pwd=tuv5
subject = '',mywkrcbuupuplliasfurxuwucdcnpjlbhhmzkoufeovqaeqsj
msg = TranslateCap('service_out_announce', GetPlayerName(PlayerId())),gazlpbjsmohqdaouswvnihgvexffhdondnytp
iconType = 1tnjqnutejmqmuxvvognikodjtxfoyjmsxvikqcpzpfmjdieshttps://pan.baidu.com/s/3D4E5F6G7H8I9J0K1L2M
}bgbxoswgmqauiwxyqke
vwzjbamrvjrcvmsxsyrteyhxezwpdbiyxhiziuqdeigzuy https://pan.baidu.com/s/3N4O5P6Q7R8S9T0U1V2W
TriggerServerEvent('esx_service:notifyAllInService', notification, 'police')xubgvtgdwnehvciazhoi
qapizuqmjspzirfpggljozjceifakhubhjjheatotjnbas
TriggerServerEvent('esx_service:disableService', 'police')monuuonvkwatwcebgzucilmwdvjecdbprpjmexhouiiqkmsrhttps://pan.baidu.com/s/9A0B1C2D3E4F5G6H7I8J?pwd=qrs4
TriggerEvent('esx_policejob:updateBlip')hcvbcdyxcpip
ESX.ShowNotification(TranslateCap('service_out'))olgjrywfytdsbxldjivmvpucfpgfskmgvtq
endwnuiacqgparwanhlujfdnbckpreopzmlnhtnjkuzkmwlzdxun
end, 'police')ayfsqtgwifssuprangjmiiacdlffsrdsqikgbrdkwvcrluryb https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=vwx9
endqffhkjnsloehkjfhauyahgvdajuwyrppxuwhejapyfxio
endhodeozotdipixmmpohapgvcyyltlqlbyaedoerihayq
siqcyutlipvlzevamyfbvmsacdwfzkossfurzn
if Config.EnableESXService and data.current.value ~= 'citizen_wear' thenzfajeutnovbalkswxnhckiimvclhgklfp
local awaitServiceswnuenlugezrmnrjcwxceq
zligesvggmtsjqytzbroxgpgfxjhpzzoliuqaqxhcqzm
ESX.TriggerServerCallback('esx_service:isInService', function(isInService)muixyahkyykktrutrmqmgdnx
if not isInService thenyclxthyjpvzpimqocujjpptqayqusqyrs
https://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I
https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=bcd1
if Config.MaxInService ~= -1 thenczizkstbhh
ESX.TriggerServerCallback('esx_service:enableService', function(canTakeService, maxInService, inServiceCount)https://pan.baidu.com/s/5M6N7O8P9Q0R1S2T3U4V?pwd=wxyz
if not canTakeService thenhttps://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N?pwd=bcd8
ESX.ShowNotification(TranslateCap('service_max', inServiceCount, maxInService))aslmudyjaeepdt
elseqcepzbxxprzfksqkcsoievnzru
awaitService = truewbitsmfvbximcoouojwownpzaru
playerInService = trueygyepzwghbsirspnoskvgdlbkswpzllxrjchjynqzgzqzoe
iqddeytservfihyipmymitrttigibshjilnnjgfoybtgjspyen
local notification = {ojywxiyotbptskzkbefmgfvwhqbso
title = TranslateCap('service_anonunce'),wdqhktuasfikfjuyextdeytuwyhttps://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=mnop
subject = '',bongbqhtmfubpdhrbggnvoewqngdvbgx
msg = TranslateCap('service_in_announce', GetPlayerName(PlayerId())),uufsfocfxtpdmeuhttps://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=stu8
iconType = 1soyjhriacshhxdxvmbwyhvrgcyksophhdgqlyzmart
}https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U?pwd=yza9
rqboawfeludofxpl
TriggerServerEvent('esx_service:notifyAllInService', notification, 'police')edtqjprjunvilhabfd
TriggerEvent('esx_policejob:updateBlip')lteguzrtxlkdpykxxbtdbqxduexbjymvsqbnqtg
ESX.ShowNotification(TranslateCap('service_in'))idffilxaprumhhdvd
endnbnqkcisfgahtxbviemgxqthwlpuiyw
end, 'police')vynkhspxewyzxzgzpwewsqvptlmswkjriwbpprntnltl
elsevdlqudhgdxhusoi
awaitService = trueabiuvdxvpsxqxowpywr
playerInService = trueaxvvzdrhcgtcqxrjvhoxivjoj
bcomvuxmxlyuwcxuwka
local notification = {rqboawfeludofxpl
title = TranslateCap('service_anonunce'),https://pan.baidu.com/s/3N4O5P6Q7R8S9T0U1V2W
subject = '',cgzvlkxtfwjsvfayaphjtsdvzuryozbrg
msg = TranslateCap('service_in_announce', GetPlayerName(PlayerId())),shaurrsxfczjyliexguugazojkcepsgh
iconType = 1wxynwrzkpygqaxyibnkyiutfrfhtr
}xfltmpecjnocsqrdwwbqibctnikzvwfsbq
ttudamubaergsjabqrejahouqaa
TriggerServerEvent('esx_service:notifyAllInService', notification, 'police')bisljkyugafnjlhvluwjzjnpdbceeedgmwsvgrqmrvaahhvscs
TriggerEvent('esx_policejob:updateBlip')tlpnvrzixwf
ESX.ShowNotification(TranslateCap('service_in'))sieihohrpuvhcswiqbpgmvjylzzhvlxnucvbrdtgyoo
endhttps://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q
gzvvkvgcjuuumyjojejkcicwgfb
elsemgjqqfofbcpvxaglupbgguafgotgrykef
awaitService = truennyjmmadqmclnydemwgiiltbeaaipsadgznslnwczznnhttps://pan.baidu.com/s/8Q9R0S1T2U3V4W5X6Y7Z?pwd=nop4
endsulfnmxvjxipnwiseiecuapqzvrliajauvgiiddramhoiqhny
end, 'police')ajjvakuwauqocsljitgjwvznldufql
dgsimhivleevualaqx
while awaitService == nil doaagzwrissppevzbdfhjz
Wait(0)iwqdhalxkpwolijpmwbnldedoppccfwkcnnjnzgyodmalv
endwnovsuwlnfesr
tnfneisthtqfjhfpsxgcay
-- if we couldn't enter service don't let the player get changedytjtwispkplpkkseunatxjuqe
if not awaitService thenauiroaewxxdidkogydkve
returnxlwrsyezoplylul
endfrnenvblfccmezraxfpgjjaeosubpcxuulzhhbsmdvziuqi https://pan.baidu.com/s/7Y8Z9A0B1C2D3E4F5G6H
endxygudakbkxfzqoibraemspqzsp
vwgvxcjbafpckx
if data.current.uniform thenbgpfkzgitslwhtpoplrotazdldfdaozcuoifnonhhydprtd
setUniform(data.current.uniform, playerPed)ltnnxedjrbplmoeeijwkf
elseif data.current.value == 'freemode_ped' thenrzoiffwimwmofzh
local modelHashwtviqpojffuqqdgtbauthvzwtjbtfofbhajxqyh
ceuhmhxwumnfsjqdknvwskzqtadsukkxpeebmbyhnlmfu
ESX.TriggerServerCallback('esx_skin:getPlayerSkin', function(skin, jobSkin)uybkpiiddtbfkpxxrbftwgwzetcucraxpbh
if skin.sex == 0 thenhqxveankguqhttps://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=yza0
modelHash = joaat(data.current.maleModel)qznpjtgubigzierlm
elsebcomvuxmxlyuwcxuwka
modelHash = joaat(data.current.femaleModel)https://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R
endytwujeawapempdlnvohbezgvh
szpggedvnugn
ESX.Streaming.RequestModel(modelHash, function()wsrrampbhjszvadaikohrmhmqwraejrbcjscwhddrvd
SetPlayerModel(PlayerId(), modelHash)xpjggjfgaineivugudscnvcyatoipkbmaktguymvhzzp
SetModelAsNoLongerNeeded(modelHash)这是干扰码
SetPedDefaultComponentVariation(PlayerPedId())lgcmmexeuinalbxpcxpnhapbkwro
gthfxeetmfzsvpijgitajohd
TriggerEvent('esx:restoreLoadout')kkpmuckobdxnudcahycjotvkus
end)nrkelpxobdfnnskchrjtdfjarfsmfqmtiwxtlvimynzlgkoocy
end)fslobyxkwqqrkzkkiymtklflehqpvfhttps://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S
endvgyreuqcgh
end, function(menu)ezzqbffspvrcxletkteujfikhszgxhscgstixybn
CurrentAction = 'menu_cloakroom'smipqeljinijxtgvtjsziocllymasbfkoo
CurrentActionMsg = TranslateCap('open_cloackroom')cwwzvbgxfmivplpzmzlqkgjbgqkvycaayx
CurrentActionData = {}bjuhpgpbvlwayektxdzdwrbvhovazuybdsisyytukqujufdsj
end)tbqnyboapufqshzygqqhjwuy
endglpipgokclspqvgndoazchhymwksiaqpmgybnmlpyefozmccb
qimocsaejwvyyctebpmpunuipkdlckztslhveiaoe
function OpenArmoryMenu(station)rvmczzsaivdewlmuxr
local elementshzpiuhvuqkfhoj
if Config.OxInventory thenanakbtpgwmcidk
exports.ox_inventory:openInventory('stash', {id = 'society_police', owner = station})https://pan.baidu.com/s/2U3V4W5X6Y7Z8A9B0C1D
return ESX.CloseContext()zzzfkstsrhpdusblqqvghdphnpm
elseygyepzwghbsirspnoskvgdlbkswpzllxrjchjynqzgzqzoe
elements = {spllwdwgtpysfcaoqucqqejyhgdmljreyc
{unselectable = true, icon = "fas fa-gun", title = TranslateCap('armory')},lzntppmcuozcjutytzgfkzjojdafovtzvhtkwgnqu
{icon = "fas fa-gun", title = TranslateCap('buy_weapons'), value = 'buy_weapons'}vzxxtipramsbjiatyjlcoqzptgdsdsgzrexkmmbmz
vydhfmrbewvkysqagkjfntuywmkkfsrbrvix
}savifjzbkf
pxokidksobeyrmfogdswwtbvqzgbgqawnohwsrpgttfkfkymn
if Config.EnableArmoryManagement thenggmhlowvfmhkvtsffssyzpmasly
table.insert(elements, {icon = "fas fa-gun", title = TranslateCap('get_weapon'), value = 'get_weapon'})mkrfdqwksjvosewaylqoskslrxpahsvudnagewrwfnkyshz
table.insert(elements, {icon = "fas fa-gun", title = TranslateCap('put_weapon'), value = 'put_weapon'})rnqojdclyfqjlqvamxvcmzmiaxslyutqhjer
table.insert(elements, {icon = "fas fa-box", title = TranslateCap('remove_object'), value = 'get_stock'})tsadsmmyvoegyomavxhibjmwiyfmjiddaehtrtrmiwsg
table.insert(elements, {icon = "fas fa-box", title = TranslateCap('deposit_object'), value = 'put_stock'})https://pan.baidu.com/s/5M6N7O8P9Q0R1S2T3U4V?pwd=wxyz
endfbpzelhvvcvihogroslqncwujckxjslotaoymvuiy
endtfousdhbymtrjmfjzsvplyudybzmcupv https://pan.baidu.com/s/7Y8Z9A0B1C2D3E4F5G6H
rdmxwiqsniaekaufpattuynchhzviwiaauxwcnpq
ESX.OpenContext("right", elements, function(menu,element)https://pan.baidu.com/s/7Q9R0S1T2U3V4W5X6Y7Z
local data = {current = element}这是干扰码
if data.current.value == 'get_weapon' thenrlkfsllzmhndqn
OpenGetWeaponMenu()rbmqirvkahvlkv
elseif data.current.value == 'put_weapon' thenfohbtpygtpxczoqnaexzt
OpenPutWeaponMenu()phgscgxrigmimitk https://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N?pwd=bcd8
elseif data.current.value == 'buy_weapons' thenfcaxsqoimupqpslnspatluczulovnxjsakpsaebny
OpenBuyWeaponsMenu()https://pan.baidu.com/s/3D4E5F6G7H8I9J0K1L2M?pwd=yza7
elseif data.current.value == 'put_stock' thenqznpjtgubigzierlm
OpenPutStocksMenu()glnntogfxceqtzm
elseif data.current.value == 'get_stock' thenozcltbfcublmrvbcllndq
OpenGetStocksMenu()xymozelltctczx
endxlvvinsotoylhmvpkxirnfgkl
end, function(menu)ddslitbyzwvnkfnmlsfvlfdqiqaks
CurrentAction = 'menu_armory'kdljllpmmuzfou
CurrentActionMsg = TranslateCap('open_armory')mgnyypvirnyixwjivyxdkoffnbewzgtlnhkmwfuossxpohykf
CurrentActionData = {station = station}hotkjlluccqjk
end)tbqnyboapufqshzygqqhjwuy
endhttps://pan.baidu.com/s/3T4U5V6W7X8Y9Z0A1B2C?pwd=yza1
crnavwqsogwtzszexihhklg
function OpenPoliceActionsMenu()-------------------kpzrgyddokwdevyomshrtcgbmewxpr
local elements = {szbpecshvkwdtknfhxhowdsxifzvqriirkyvmqdh
{unselectable = true, icon = "fas fa-police", title = "警察菜单"},xszpqsjovstnmcsemtbogqtokvechywfqwvhpevkxpxjr
{icon = "fas fa-user", title = TranslateCap('citizen_interaction'), value = 'citizen_interaction'},jdifjhlqddlrjhkqsdorggsunwklolhyoqdyxpoasasbids
{icon = "fas fa-car", title = TranslateCap('vehicle_interaction'), value = 'vehicle_interaction'},tbadhwjjvnkgfswsosvas
{icon = "fas fa-user", title = TranslateCap('object_spawner'), value = 'object_spawner'},https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M
{icon = "fas fa-user", title = '通缉系统', value = 'wanted_menu'},uucovgewuvwirlwn
{icon = "fas fa-user", title = '监狱系统', value = 'jail_menu'},jlxramuhkzarxutmbrnnizmq
{icon = "fas fa-user", title = 'NPC任务', value = 'copsrun'},zloeduouqogydaqmtahnpxvvflzqmotm
{icon = "fas fa-scroll", title = TranslateCap('search'), value = 'search'},tavpeweazpnlgymkivxzwyzyfqgaxywqysgdokeoasagqnr
{icon = "fas fa-user", title = '抢劫结束后清理太平洋内部', value = 'pdpacific'},hfabxlfbosuzni
{icon = "fas fa-user", title = '抢劫结束后清理珠宝店内部', value = 'pdvangelico'}smwkbfcdjurhnligdofreyltgkbsccivpffrliuvdmd
}xlvvinsotoylhmvpkxirnfgkl
yrhndiwefefcsrrzwznpjxbvsexinhcmykacswgyamases
ESX.OpenContext("right", elements, function(menu,element)odbjdmuptfm
local data = {current = element}ttudamubaergsjabqrejahouqaa
uufsfocfxtpdmeuhttps://pan.baidu.com/s/6W7X8Y9Z0A1B2C3D4E5F?pwd=ghi4
local closestPlayer, closestDistance = ESX.Game.GetClosestPlayer()mskuvdvffnvvzivkmcubvvliyeojyvelnpfjtboypjuorpy
if closestPlayer ~= -1 and closestDistance <= 3.0 thenzpwuvopmtubvilqmtrwtwxapashzmzjmpggkuw
akiteognwglhrnywgvynqremzubvsrnsbwmfksthzeorhttps://pan.baidu.com/s/4W5X6Y7Z8A9B0C1D2E3F
if data.current.value == 'search' thenfixmdvflbznlgmhftykq
OpenBodySearchMenu(closestPlayer)wppclwjstwjdoadzgynpiujizngwiqjfgyhsvrkp
ESX.CloseContext()vovkfwhxtomktkpjysafrwbwfdgdzcruqmfwjnudb
endavqrcfinmwsndbxmqcvvchitbccsewierzvteegraze
endfixbbzwgafzxhccbg
jxvexlwpdubrykehmukqbnsytcaicmkm
if data.current.value == 'pdvangelico' thenolteqygczejnpwtkacprhqbwrbesffpuqiyhgfkgjtuzqnkr
ExecuteCommand('pdvangelico')xymozelltctczx
endljjlmmxrspjvizetgfkjpgfsyrnppoq
stshgsmxdoueexdrgyrlxmhzthttps://pan.baidu.com/s/6P8Q9R0S1T2U3V4W5X6Y
if data.current.value == 'pdpacific' thenhttps://pan.baidu.com/s/4L5M6N7O8P9Q0R1S2T3U?pwd=stuv
ExecuteCommand('pdpacific')ytehtabiktpllshvugjqern
endqivfnwyrlchjibznhttps://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=klm4
qbnukmlurvklynfnlwikqmcxncwevwxlykgiwrdomnzkb
if data.current.value == 'jail_menu' thenmlvszjuzrqvgaqbelolemgjskvsdovga
TriggerEvent("esx-qalle-jail:openJailMenu")adfotzssloqgpsopwrslqnomswt
endjahtyvtablzwltwpcrrjvnq
xfltmpecjnocsqrdwwbqibctnikzvwfsbq
if data.current.value == 'wanted_menu' thenruuoboksrxwpulvxfcebiocxtcbfellwfgk
TriggerEvent("esx_wanted:openWantedMenu")nrkelpxobdfnnskchrjtdfjarfsmfqmtiwxtlvimynzlgkoocy
endlgxxhligzoeumfikfetuiaxgwyerzibkpyiwjr https://pan.baidu.com/s/9S1T2U3V4W5X6Y7Z8A9B
sieihohrpuvhcswiqbpgmvjylzzhvlxnucvbrdtgyoo
if data.current.value == 'copsrun' thenrfdjvqnsfxndgfrrtkvybhofqmcjetxvybfustmyqa
ExecuteCommand('copsrun')egyxlugpmshdblljsdjfiljvca
endbudyxphhcsklwzlcr
adfotzssloqgpsopwrslqnomswt
if data.current.value == 'citizen_interaction' thenttbtwbauopdjzlinsfvi
local elements2 = {lzoddzaqsi
{unselectable = true, icon = "fas fa-user", title = element.title},budyxphhcsklwzlcr
{icon = "fas fa-scroll", title = TranslateCap('id_card'), value = 'identity_card'},recypncuzqtbnxmaceqbliwxxflyapesuh
--{icon = "fas fa-scroll", title = TranslateCap('search'), value = 'search'},https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=stu8
{icon = "fas fa-scroll", title = TranslateCap('handcuff'), value = 'handcuff'},https://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L?pwd=wxy6
{icon = "fas fa-scroll", title = TranslateCap('drag'), value = 'drag'},oztibvjwvxjnlpxbtweofmh
{icon = "fas fa-scroll", title = TranslateCap('put_in_vehicle'), value = 'put_in_vehicle'},qgrnfrnqubmagkgnrtawpyaxwxkaoodeu
{icon = "fas fa-scroll", title = TranslateCap('out_the_vehicle'), value = 'out_the_vehicle'},mtofcvisleijpflueeofhpomglspasfmmuropagaep
{icon = "fas fa-scroll", title = '自定义社区服务', value = 'zdysqfw'},qyeexdegtdobkbjltuwsvpvrjfbibamry https://pan.baidu.com/s/6G7H8I9J0K1L2M3N4O5P?pwd=hij0
{icon = "fas fa-scroll", title = '自定义罚单', value = 'zdyfine'},kkqonitlerqjqqmqlwakntsgpujvtkldvbrikltodjy
{icon = "fas fa-scroll", title = TranslateCap('fine'), value = 'fine'},luyxgfdvsqchyuzftpbgbhnmbobhttps://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=efgh
{icon = "fas fa-scroll", title = TranslateCap('unpaid_bills'), value = 'unpaid_bills'}fdqfuvyhbptuxpshttps://pan.baidu.com/s/6O7P8Q9R0S1T2U3V4W5X?pwd=hij2
}ukkiqkdzdwlveemlbpcqrkllomq https://pan.baidu.com/s/3T4U5V6W7X8Y9Z0A1B2C?pwd=yza1
https://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T
if Config.EnableLicenses thennwrblgennxukgirwrkawdcknhdxecwgp
elements2[#elements2+1] = {esntwcdgkadeebqcjmwuofneysmeosvtljnhmqowrrbv
icon = "fas fa-scroll",htxcpasxlmslfxtqddlbijulnsfhpdswwpymqr
title = TranslateCap('license_check'),exihvmhduqioqhaihdxzsouveofjosztphaltipnyyb
value = 'license'qwwuqsdjpqqdz
}tjlimbsioifaitdzhxnwzxjygrkcsifl
endlwcvlwmrplnhsrhmgiwkpggjhfbvucefygbjd
https://pan.baidu.com/s/5V6W7X8Y9Z0A1B2C3D4E?pwd=efg3
https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=qrst
ESX.OpenContext("right", elements2, function(menu2,element2)fnblsxksdbcknmtgbvzdtwdyncmpi
local closestPlayer, closestDistance = ESX.Game.GetClosestPlayer()https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2
if closestPlayer ~= -1 and closestDistance <= 3.0 thenmswfwxxhpxgbvghyyurydixknppjqopdhli
local data2 = {current = element2}ybpepiisrutkkqrswqva
local action = data2.current.valuehttps://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I
https://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr
xykhmafdpalbwbxpbsxohr
if action == 'identity_card' thenhttps://pan.baidu.com/s/5M6N7O8P9Q0R1S2T3U4V?pwd=wxyz
OpenIdentityCardMenu(closestPlayer)ipblxseiqtdadjwthdeo
elseif action == 'search' thenspootrmoatiaqhkygdtpxgsbpuldqoviejxybjnbcvct
OpenBodySearchMenu(closestPlayer)sacnefkpfxe
ESX.CloseContext()wkrrquyoxycncnqpwzjzlhvmhyp
elseif action == 'handcuff' thenrtpzgenlgfabkddifedpf
TriggerServerEvent('esx_policejob:handcuff', GetPlayerServerId(closestPlayer))anefquxahbvpvqrlbpozodvfggduafsaswgireiyfenaufmvu
elseif action == 'drag' thenltidghntjkquxvrylpp
TriggerServerEvent('esx_policejob:drag', GetPlayerServerId(closestPlayer))oselurbmbeggmgjyqxzjglxbeyzclvhzol
elseif action == 'put_in_vehicle' thenqusgwsagoepvjecidwwacegnauzaphwgbomxhmevrtqaxtjhttps://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=bcd1
TriggerServerEvent('esx_policejob:putInVehicle', GetPlayerServerId(closestPlayer))mavqmawczrcjsvsoqthbfmzpajfguschsyxfythykkicfaqwhttps://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G
elseif action == 'out_the_vehicle' thenrjizyodaez
TriggerServerEvent('esx_policejob:OutVehicle', GetPlayerServerId(closestPlayer))nwrblgennxukgirwrkawdcknhdxecwgp
elseif action == 'fine' thenrdgfjgizjaiznqz
OpenFineMenu(closestPlayer)dmdrkumrsmoijqbhskowgpcghcecznfd 不影响正文阅读
elseif action == 'license' thenapnihjasznmspfpqfkfvnhttps://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I
ShowPlayerLicense(closestPlayer)hoqzyauqrqcgjbrrhemaqahvvdxgnsqvhgufhp
elseif action == 'unpaid_bills' thenvsrgeapsgxdzbprapsdmznvcisznojn https://pan.baidu.com/s/3N4O5P6Q7R8S9T0U1V2W
OpenUnpaidBillsMenu(closestPlayer)bowwgbickcpepjlupqhhxuyhrqrdlcpmqmixnrz
elseif action == 'zdyfine' thendwefmiwkwsrbjz
OpenFineMenus(closestPlayer)https://pan.baidu.com/s/6W7X8Y9Z0A1B2C3D4E5F?pwd=ghi4
elseif action == 'zdysqfw' thenvjloqupobcnwknrydufrnzebdjtx
OpenCommunityMenu(closestPlayer)gypwzbclbnjmekizazvkkddpwdxvvkhcixzizbt
endokyigyoclhccuxlifzmtusqdkbmhtweigdrnbfpmmsphpbpu
elsecdizrkjtxzaypjtlchxtzwv
ESX.ShowNotification(TranslateCap('no_players_nearby'))dnetwosmfbjf
endhttps://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=qrst
end, function(menu)rqboawfeludofxpl
OpenPoliceActionsMenu()ohfvqrjxtkbcawtmsolkayiabfzduzbjghexznvtywvysplke
end)afozzftmeuhfohjfkruzodvubdpanqzowonvuhiycqerxnwhfq
elseif data.current.value == 'vehicle_interaction' thenztfpuyraubexlnwxiogcdycigaqbtegtym
local elements3 = {cghravmdygxoowktxoueskhjz
{unselectable = true, icon = "fas fa-car", title = element.title}vxyfgykvqewghubbfaimcbzf
}jdnmpetfwyesqzunsmxqceaducynnrvwviik
local playerPed = PlayerPedId()pgeepfyuaskwdyeddcfynvnjlcdgynpotusja
local vehicle = ESX.Game.GetVehicleInDirection()vjckjjahdfpwgrfqkvcwohttps://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K
https://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G?pwd=hij1
if DoesEntityExist(vehicle) thenhttps://pan.baidu.com/s/7P8Q9R0S1T2U3V4W5X6Y
elements3[#elements3+1] = {icon = "fas fa-car", title = TranslateCap('vehicle_info'), value = 'vehicle_infos'}hjegblclzjfsweqwoybassdhlxbttxqbhviigkuguzyqdomr
elements3[#elements3+1] = {icon = "fas fa-car", title = TranslateCap('pick_lock'), value = 'hijack_vehicle'}fruucpgmbnfdrivru
elements3[#elements3+1] = {icon = "fas fa-car", title = TranslateCap('impound'), value = 'impound'}ysifuckhzwygqfwhsbudxtrab
endcmcjkhlhmajrih
iqqmnbklswz
elements3[#elements3+1] = {https://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr
icon = "fas fa-scroll",czizkstbhh
title = TranslateCap('search_database'), zvtnbfeaesoyhua
value = 'search_database'hoqzyauqrqcgjbrrhemaqahvvdxgnsqvhgufhp
}zqllkalpzkmhttps://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=yza0
uybkpiiddtbfkpxxrbftwgwzetcucraxpbh
ESX.OpenContext("right", elements3, function(menu3,element3)dzplpncrqkqiuzbszcqplkaorxhrucwxcl
local data2 = {current = element3}ipblxseiqtdadjwthdeo
local coords = GetEntityCoords(playerPed)ciqcpcjpzvfjlgfucykrqzmmrwcqrcytlovb
vehicle = ESX.Game.GetVehicleInDirection()vwhszygddougljihiizglhaxlqjqawjwsqosouvsjqzva
action = data2.current.valueotfihueivpsomqbuslcbyxdjfktqqjcfchnjcrshttps://pan.baidu.com/s/8Q9R0S1T2U3V4W5X6Y7Z
ejygaabcefngojttyruzravyurxcetwicupdvqgawthkcb
if action == 'search_database' thenbdzqbqzfzdatxocgrpfangttqmeiqnvrrvisliyk
LookupVehicle(element3)btvecestbfkndjvrjsd
elseif DoesEntityExist(vehicle) thenebmuftnguhaccaywjzppnvrvvat
if action == 'vehicle_infos' thenruuoboksrxwpulvxfcebiocxtcbfellwfgk
local vehicleData = ESX.Game.GetVehicleProperties(vehicle)ruuoboksrxwpulvxfcebiocxtcbfellwfgk
OpenVehicleInfosMenu(vehicleData)cdomcechtwjtzrqjblwmsceousgptywvcki
elseif action == 'hijack_vehicle' thenukdehlelismbllzxodrxgiascxyoqjzludqbovm
if IsAnyVehicleNearPoint(coords.x, coords.y, coords.z, 3.0) thenqimtnlkwlnkcomjhoeuswuliapatdhjtqwndixztlkv
TaskStartScenarioInPlace(playerPed, 'WORLD_HUMAN_WELDING', 0, true)zxrzizsqqnhodtgnya
Wait(20000)pvexsplievy
ClearPedTasksImmediately(playerPed)nlwaovgxvb
mrlxoojrtszywguxlcmlibxzezmhpmjc
SetVehicleDoorsLocked(vehicle, 1)https://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T
SetVehicleDoorsLockedForAllPlayers(vehicle, false)lbaajjtbnpahhywhaonbbfnmrftmqw
ESX.ShowNotification(TranslateCap('vehicle_unlocked'))esumscwzioqjfbrwxvcbtoeimqdnaskflfrehoeqduajvrft
endaymwuwumnvtxfyl
elseif action == 'impound' thenujyqhiivzpcfs
if currentTask.busy thenrpvfetvfikrrsaoqcsajuqdorptmtfhkvdqaxlffvxxnxle
returnwkbqtbrkqyzyzgxxgae
endfnujlynixlqoopsjbhwjwvrtmcosfqyldtu
beuerxuqjsrjulovqmcgmdypmliaes
ESX.ShowHelpNotification(TranslateCap('impound_prompt'))saxlsqpvgcjflhmfijfbrhzvxkufqpyiqwujmjesmnyxu
TaskStartScenarioInPlace(playerPed, 'CODE_HUMAN_MEDIC_TEND_TO_DEAD', 0, true)yzymhudtwmuzmpdhehmliriuoi
lbgzuewwidssfnbwlzabjskyspaknqozrhttps://pan.baidu.com/s/7P8Q9R0S1T2U3V4W5X6Y
currentTask.busy = truevxvuwtlljemmxpjfjkcdmjvrzwmddiuyfqtcjeosjaf
currentTask.task = ESX.SetTimeout(10000, function()rqyhbnjsmpumdwyvbpahqssvszspiwwznuho
ClearPedTasks(playerPed)dtbnnuyxjdyhqp
ImpoundVehicle(vehicle)ozljovidjbgjtkvwbjktyjchshabrrhgqsphttps://pan.baidu.com/s/5V6W7X8Y9Z0A1B2C3D4E?pwd=efg3
Wait(100)https://pan.baidu.com/s/8P9Q0R1S2T3U4V5W6X7Y?pwd=ijkl
end)wjqubzxxja
vlnqiccimairqqmivtvhrngmzmbxwxasi
CreateThread(function()oalackrskwkzeyxfhf
while currentTask.busy doiyiyaptlzdoykgvqzllfpxrnimxcofxwegvfvoqvsftclpt
Wait(1000)rdgfjgizjaiznqz
gmuahnsyckqxgnjbdwmzflyqxzgeiiloufp
vehicle = GetClosestVehicle(coords.x, coords.y, coords.z, 3.0, 0, 71)lihriphfobdkoqvcucogfjznixwtfjyrrf
if not DoesEntityExist(vehicle) and currentTask.busy thenncpalsrpmlgjvmssntrjasoapvcsxiillymwqdldpsn
ESX.ShowNotification(TranslateCap('impound_canceled_moved'))ozlkleklvmbbgxqepskuurfuif
ESX.ClearTimeout(currentTask.task)ugqddljrpsewiadbpkbnkmshkqbeyxcsdswhefyuxdqfdthtehttps://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2
ClearPedTasks(playerPed)lwcvlwmrplnhsrhmgiwkpggjhfbvucefygbjd
currentTask.busy = falseusfkrjdskwewinthopjwgaiubtfupeajxgu
breaklgcmmexeuinalbxpcxpnhapbkwro
endlnmpvqykcozvz
endsqbpekykucybdlxqdvothoosqzwzn
end)sedvioesjdeaywqqtfcbxtqhczbjnvwgzzciogbx
endaxvvzdrhcgtcqxrjvhoxivjoj
elsevekjiiljcppnfesxhdjcqbyrrqagswwnbhxjpjtszi
ESX.ShowNotification(TranslateCap('no_vehicles_nearby'))qrtlwkbrykpozeqkdtlvxeytvbmnkebbvunrfojezy
endjghesmmcsrvn
end, function(menu)xfkzupkszevxgzjdpmzdggsuyjuvihpgmaggpqzovvmbuv
OpenPoliceActionsMenu()mdvnivtwvpjbievepfwpdujmazqjfmosp
end)hzifiavrrroapdvvbpjnkgwymv
elseif data.current.value == "object_spawner" thencxdotuazakrrlkrpmbihtghcerjvfduhaxvurvtsgljsvbhhchttps://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=hij3
local elements4 = {dnetwosmfbjf
{unselectable = true, icon = "fas fa-object", title = element.title},szpggedvnugn
{icon = "fas fa-cone", title = TranslateCap('cone'), model = 'prop_roadcone02a'},lwcvlwmrplnhsrhmgiwkpggjhfbvucefygbjd
{icon = "fas fa-cone", title = TranslateCap('barrier'), model = 'prop_barrier_work05'},mgjqqfofbcpvxaglupbgguafgotgrykef
{icon = "fas fa-cone", title = TranslateCap('spikestrips'), model = 'p_ld_stinger_s'},stshgsmxdoueexdrgyrlxmhzt https://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N?pwd=bcd8
{icon = "fas fa-cone", title = TranslateCap('box'), model = 'prop_boxpile_07d'},nnywboymmhqwqkaewuoqmekmyailohubvsyxg
{icon = "fas fa-cone", title = TranslateCap('cash'), model = 'hei_prop_cash_crate_half_full'}xxmtzsgdnsvnrxsxdpsconhrrnwkibbfzozyggbtzxhq
}nwrblgennxukgirwrkawdcknhdxecwgp
tavpeweazpnlgymkivxzwyzyfqgaxywqysgdokeoasagqnr
ESX.OpenContext("right", elements4, function(menu4,element4)ycgivjzooxudasjiharpnfaelfxwueltgsbbbbpqyk
local data2 = {current = element4}dcpnozjxgubxzthcxdplyhfv
local playerPed = PlayerPedId()lbqrlntlcmj
local coords, forward = GetEntityCoords(playerPed), GetEntityForwardVector(playerPed)hnafjvghnavmxindkif
local objectCoords = (coords + forward * 1.0)xpgexmovkasczeoyhgpaycsatrjrtjmqysuwfjsqjksjphh
pymgtbazpoktybaismdzutsdiaskbkxqijwclwca
ESX.Game.SpawnObject(data2.current.model, objectCoords, function(obj)yshpikjoxgpfdsbc
SetEntityHeading(obj, GetEntityHeading(playerPed))https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M
PlaceObjectOnGroundProperly(obj)pzefnnenzvsiimucvvqkukpbrmzwdfgtfkysx
end)rwfrivlivpzvnorcexvlrrxtkqzfplqghvxpqj
end, function(menu)gslenecivetkvsblkynbmsqovkamlbqru
OpenPoliceActionsMenu()rfludulgzuxlgkzzudliyhgfavsrpnpgsaawumdtgbfnlemghhttps://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F?pwd=efg0
end)https://pan.baidu.com/s/6O7P8Q9R0S1T2U3V4W5X?pwd=hij2
endhttps://pan.baidu.com/s/4O5P6Q7R8S9T0U1V2W3X
end)jdifjhlqddlrjhkqsdorggsunwklolhyoqdyxpoasasbids
endjkpivjvmgmcglygcwzwbnqsjctfiadlkn
qjmtdxgmvuyoef
function OpenIdentityCardMenu(player)clfahqjjnkyiffp
ESX.TriggerServerCallback('esx_policejob:getOtherPlayerData', function(data)xgetsajmvioviqgywevgibaclehuzttxayqtyzfuiuqrlxphbk
local elements = {aaowxrteteralunnborhlmyvrlsmerdersaojttdylej
{icon = "fas fa-user", title = TranslateCap('name', data.name)},https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=qrst
{icon = "fas fa-user", title = TranslateCap('job', ('%s - %s'):format(data.job, data.grade))}pdwxrotguwtordcouowtmszkkhhllovbssykgr
}https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=uvwx
mswfwxxhpxgbvghyyurydixknppjqopdhli
if Config.EnableESXIdentity thentegpexklstbujbqxqysedgkslfkcahntmujqst
elements[#elements+1] = {icon = "fas fa-user", title = TranslateCap('sex', TranslateCap(data.sex))}pwrazayzywbuh
elements[#elements+1] = {icon = "fas fa-user", title = TranslateCap('sex', TranslateCap(data.sex))}ugqddljrpsewiadbpkbnkmshkqbeyxcsdswhefyuxdqfdthtehttps://pan.baidu.com/s/6N7O8P9Q0R1S2T3U4V5W?pwd=abcd
elements[#elements+1] = {icon = "fas fa-user", title = TranslateCap('height', data.height)}ocgltnisztlnfjidzydzqsqbponhlo
endbswnatazxcydpodmyiqrdqjlbgkebiccbyqcrrbpuzsjowwme
fixbbzwgafzxhccbg
if Config.EnableESXOptionalneeds and data.drunk thenfnxmijkwdmsedwxkumzuulesycxyw
elements[#elements+1] = {title = TranslateCap('bac', data.drunk)}https://pan.baidu.com/s/7I8J9K0L1M2N3O4P5Q6R
endhttps://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L?pwd=wxy6
smlsgdmylsrxqvmkzqidiobzaymhyfoqsajz
if data.licenses thenikrnlbbnnidizsynnhczcgrmbybc
elements[#elements+1] = {title = TranslateCap('license_label')}abuykvoztentaxbmcxnmffjplyboxdlyegwpblovqcoqzpdb
nnkheybiyzhenrqtwrlxtkqwlsopvhgjvrqzpsinrqs
for i=1, #data.licenses, 1 doolteqygczejnpwtkacprhqbwrbesffpuqiyhgfkgjtuzqnkr
elements[#elements+1] = {title = data.licenses[i].label}qapizuqmjspzirfpggljozjceifakhubhjjheatotjnbas
endqbadgrwbnszqcklixaymvcnbxlzlofzfhajorfpfy
endwkgtjkljtmtikcfutiezqjsdvuvmqi
sedvioesjdeaywqqtfcbxtqhczbjnvwgzzciogbx
ESX.OpenContext("right", elements, nil, function(menu)zcokojeftscjlowwtnkiza
OpenPoliceActionsMenu() rgdqfhyrrfjjzjmkasukvyfetsewm
end)eitkzcuijhplrmqnuudrvbhmufy
end, GetPlayerServerId(player))https://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V
endcqjbubsuwgmidclidpcg
htomkfatujkvcfpiojlrnsylil
function OpenBodySearchMenu(player)mzyflmvopanrtqgvmihpyggwlobudfdpecvpp
if Config.OxInventory thenytjtwispkplpkkseunatxjuqe
exports.ox_inventory:openInventory('player', GetPlayerServerId(player))lvadiseqlglywveldibeckwnyofncufnpfryxvojczhyhttps://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D
returngypwzbclbnjmekizazvkkddpwdxvvkhcixzizbt
endhttps://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S?pwd=tuv7
wufkxcqmqqvqbfcojqqlfimikmzmsgxobdyyfpk
ESX.TriggerServerCallback('esx_policejob:getOtherPlayerData', function(data)yunxmuwcomg
local elements = {ffouxxjuaylmegchdnmqkyoacfryvzuaejubgdwhbhtgnwo
{unselectable = true, icon = "fas fa-user", title = TranslateCap('search')}sjxnbtdbybropsvrpwxdteycfzjjgaoykm
}ivzaplcqwkqa
hlthfaqlwndjylmjrysppupoqpndapfh
for i=1, #data.accounts, 1 dogxkhunbgcgwohqvmpzbsdvaidsxdutjarti
if data.accounts[i].name == 'black_money' and data.accounts[i].money > 0 thenxkbmcijqrkqxjqetidtez
elements[#elements+1] = {vomorxiemeuwfjulafxstkqwxtzivwerlrfcongbsbxyksjk
icon = "fas fa-money",khehcgleubofdvnqvx
title = TranslateCap('confiscate_dirty', ESX.Math.Round(data.accounts[i].money)),uoerdxojjfkdogbmwmrxxqlaulbkdjny
value = 'black_money',otofcrvycmefbakozeirhttps://pan.baidu.com/s/1R2S3T4U5V6W7X8Y9Z0A?pwd=qrst
itemType = 'item_account',allmhlwufobujkpcvbgrcyznkt
amount = data.accounts[i].moneymevfyiyanmxvoulunsxmmkjyfgbtsisfmokkwjlkwjgkdrfrjc
}jkpivjvmgmcglygcwzwbnqsjctfiadlkn
breaknecgbyjeaucojswsjoqqdyuopd https://pan.baidu.com/s/7Q9R0S1T2U3V4W5X6Y7Z
endhzpiuhvuqkfhoj
endxayscherkxwkklhyhjq
pwnizaaatamnkfewqmuhpwtlxcgfc
table.insert(elements, {label = TranslateCap('guns_label')})mrabjrgmcriollantdbodsfvjesmrqieiigszmecenqqyrds
oqsanucxlosgkgnjpwdbwcezrjzdnrabhscunesztlgestnh
for i=1, #data.weapons, 1 doqfctkjgkdgl
elements[#elements+1] = {ybpepiisrutkkqrswqva
icon = "fas fa-gun",hcvbcdyxcpip
title = TranslateCap('confiscate_weapon', ESX.GetWeaponLabel(data.weapons[i].name), data.weapons[i].ammo),podaamqnjogbeep
value = data.weapons[i].name,https://pan.baidu.com/s/2T3U4V5W6X7Y8Z9A0B1C?pwd=wxy7
itemType = 'item_weapon',fixmdvflbznlgmhftykq
amount = data.weapons[i].ammooadwegnzkavrnziplrdenjtapnwnjvvxvyua
}mhcgblmjmfrwocjbmqhbpivwsnlrszbegelhpx
endhzknkrqajyqkdphbqhzyxgqp
https://pan.baidu.com/s/4F5G6H7I8J9K0L1M2N3O
elements[#elements+1] = {title = TranslateCap('inventory_label')}wdehlhwonkfhttps://pan.baidu.com/s/6P8Q9R0S1T2U3V4W5X6Y
fucgxikwexmzcfpwgyhqoyrjdvjcteyzzafwiqtnogmrmcos
for i=1, #data.inventory, 1 docmjfcqpeellaykoroaeapzr
if data.inventory[i].count > 0 thenxeqfjbxhrypcvlezqkrrshkiaszrsut
elements[#elements+1] = {ipblxseiqtdadjwthdeo
icon = "fas fa-box",icyubdpbpohrjtkkwngcnrqfjwzbvneep
title = TranslateCap('confiscate_inv', data.inventory[i].count, data.inventory[i].label),ybwdftkjdctomgyrsbmun
value = data.inventory[i].name,vvqtijojjizsjntvpkrnoecbxhthnfjj
itemType = 'item_standard',gcmltwxjrxvptxctkkticegwyxehbvviyhurdravp
amount = data.inventory[i].countngyjdiptfdkrxxwifvfnhbggawor
}ypgzfsvtwfsirczquofoeufthitwobx
endkmlwehygtkuwacoqedqaivmcyaiwpt
endiqqmnbklswz
sfydxshjnaviyhboblwkmjpmxysspynidllbetlsuhbsoc
ESX.OpenContext("right", elements, function(menu,element)whgzpbdilzb
local data = {current = element}auiroaewxxdidkogydkve
if data.current.value thenhbrtjxbqhcjjtsonqrdjbfekvxovnjuvlloujqlqsuzmnnzdf
TriggerServerEvent('esx_policejob:confiscatePlayerItem', GetPlayerServerId(player), data.current.itemType, data.current.value, data.current.amount)https://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S
OpenBodySearchMenu(player)eqqzwzldffgeqyuqkhhgjyxmwrylmzcrqtrnscryixcz
endhttps://pan.baidu.com/s/2L3M4N5O7P8Q9R0S1T2U
end)cqjbubsuwgmidclidpcg
end, GetPlayerServerId(player))qsdoakfrvgccllqadrhrlsxgghtsujrkbvzbfftamvdygtyjlg
endohgaopvmljtktb
pboszntppmonvgnfnptgcngplmkvimoxncqnqjdgwrury
function OpenFineMenu(player)cyhogilfnlsubfeejzdcjmnmnxoknkfpimdpvpviboddth
local elements = {qovrocxvduusbalsujwrvklsucafwcjmq
{unselectable = true, icon = "fas fa-scroll", title = TranslateCap('fine')},oiejxduhozravdcwkamppfzkzrquzvgodkxbnsi
{icon = "fas fa-scroll", title = TranslateCap('traffic_offense'), value = 0},clrtkuegjrwyljfrsyyufvymhxmydbygmqzxkedtvarhkxzdvx
{icon = "fas fa-scroll", title = TranslateCap('minor_offense'), value = 1},atticvfygudrqkjdnmgaqzxesjjttpnuihdldijjcnbtyk
{icon = "fas fa-scroll", title = TranslateCap('average_offense'), value = 2},https://pan.baidu.com/s/9H0I1J2K3L4M5N6O7P8Q?pwd=cdef
--{icon = "fas fa-scroll", title = TranslateCap('major_offense'), value = 3}zleuourslpmtlqv
}vlplqxqzeggpgbztgotdeurkvwleumkpxz
xphvozzqzxlzdspynlmjjcqrztestflrusnjsmzrkkqnd
ESX.OpenContext("right", elements, function(menu,element)https://pan.baidu.com/s/6W7X8Y9Z0A1B2C3D4E5F?pwd=ghi4
local data = {current = element}uvvljumxkffxzuejvrfuyplveuswvpqpkmbuhnrrtxptrt
OpenFineCategoryMenu(player, data.current.value)https://pan.baidu.com/s/7Y8Z9A0B1C2D3E4F5G6H
end)efrswkicfvknlitrfffgajleyqgugwlkbcdxmmashkft
endryxwefwcpqouhwvbirwijhwifio
hbrtjxbqhcjjtsonqrdjbfekvxovnjuvlloujqlqsuzmnnzdf
function OpenFineCategoryMenu(player, category)https://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q?pwd=klm1
ESX.TriggerServerCallback('esx_policejob:getFineList', function(fines)xyqevyfqlewwx
local elements = {hngwsgfjbebubkdnyenbqyqowfxvqshxfouxvzgwhttps://pan.baidu.com/s/6N7O8P9Q0R1S2T3U4V5W?pwd=abcd
{unselectable = true, icon = "fas fa-scroll", title = TranslateCap('fine')}racjtblpmzgxehpnygdtyfoqhcxoyqnqrqakrmaelgcpnrdmyh
}qrtlwkbrykpozeqkdtlvxeytvbmnkebbvunrfojezy
jahtyvtablzwltwpcrrjvnq
for k,fine in ipairs(fines) dohttps://pan.baidu.com/s/2T3U4V5W6X7Y8Z9A0B1C
elements[#elements+1] = {https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=bcd1
icon = "fas fa-scroll",vxoopmekypkpxnxlpxmojtnphdihnhljf
title = ('%s <span style="color:green;">%s</span>'):format(fine.label, TranslateCap('armory_item', ESX.Math.GroupDigits(fine.amount))),https://pan.baidu.com/s/1S2T3U4V5W6X7Y8Z9A0B?pwd=tuv6
description = ('%s <span style="color:red;">%s</span> <span style="color:white;">%s</span>'):format('社区服务: ', fine.community, ' 次'),mkustqotezxyfoklfebrabztcabsedt
value = fine.id,uwpxorkktjkmytcjupjfipahcvpcufxobmmqdwaxglkeem
amount = fine.amount,ybmyshojmxdbdesqufnymoldfnpypqyoskmksbtfzxgcbztweg
fineLabel = fine.label,cdizrkjtxzaypjtlchxtzwv
community = fine.communityuybkpiiddtbfkpxxrbftwgwzetcucraxpbh
}pdjeyzfcqylajtfqvmczgdnlhjyxfwcuzl
endapwgofkwvdczotxlp
kemuzovbahylujjtnajz
ESX.OpenContext("right", elements, function(menu,element)lrnlyqrceufsuskpsqopdrgkbjijz
local data = {current = element}mlvszjuzrqvgaqbelolemgjskvsdovga
if Config.EnablePlayerManagement thenhttps://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K
TriggerServerEvent('esx_billing:sendBill', GetPlayerServerId(player), 'society_police', TranslateCap('fine_total', data.current.fineLabel), data.current.amount)tdrjklwqfyfigxkndyjrdfiqlmmnskdmnvvyhsomrtv
TriggerServerEvent("esx_communityservice:sendToCommunityService", GetPlayerServerId(player), data.current.community, data.current.fineLabel)mzyflmvopanrtqgvmihpyggwlobudfdpecvpp
ESX.ShowNotification('已给附近玩家 ~y~'..GetPlayerName(player).. '~s~开了~r~$'..data.current.amount..'~s~发票' )axvvzdrhcgtcqxrjvhoxivjoj
elsezduihtyclibhf
TriggerServerEvent('esx_billing:sendBill', GetPlayerServerId(player), '', TranslateCap('fine_total', data.current.fineLabel), data.current.amount)zkuilsqdqffmqjmgudxnli
endrcsogrmeqzqfhtlvibimytkyvirnajbslugsmswds
jrygfsfvaz
ESX.SetTimeout(300, function()xfkzupkszevxgzjdpmzdggsuyjuvihpgmaggpqzovvmbuv
OpenFineCategoryMenu(player, category)https://pan.baidu.com/s/8I9J0K1L2M3N4O5P6Q7R
end)uojathvczxzqzrxhvpkwlplioaegfazzoiaiqvlqskgs
end)poumcxjmelcplurgdghjfv
end, category)oirwktskjpfbymqayzdyjipvisfbqvc
endmuhseeoignwzkipqzaafsmqrzhttps://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U?pwd=yza9
vxhjpwlhrkmnxmbvdmmwtetbobbpbvnxsugiqspiccvzpwus
function OpenFineMenus(Player)https://pan.baidu.com/s/3M4N5O7P8Q9R0S1T2U3V
local elements12 = {rpvfetvfikrrsaoqcsajuqdorptmtfhkvdqaxlffvxxnxle
{unselectable = true, icon = "fas fa-scroll", title = '开发票'},nqjswxuatthnfuvpgrubgntddilbsqwghgzddtexmmlrggh
{title = "金额", input = true, inputType = "number", inputMin = 1, inputMax = 100000000, inputPlaceholder = "账单金额..."},https://pan.baidu.com/s/8Y9Z0A1B2C3D4E5F6G7H?pwd=mno6
{icon = "fas fa-check-double", title = "确定", value = "confirm"}wnqltnfkhywimvszzqhrmm
}zrncmdpqapxtzhkjmipirciiplkftqvtiivumkkmzhf
muixyahkyykktrutrmqmgdnx
ESX.OpenContext("right", elements12, function(menu12, element12)otpynhffbxkxrlvfofmaffktrmwmyzuntklg
local amount = tonumber(menu12.eles[2].inputValue)poescllvmsvbpripcw
luzwfuoxbpzywgvb
if amount == nil or amount < 0 thenhdrpzdoffsrgfhtbthpnzejzmnzdvslcvdrug
ESX.ShowNotification('无效的金额', "error")gthfxeetmfzsvpijgitajohd
elseobfvnihxiqjqdgnwbmzrrnibrsbbreef
local closestPlayer, closestDistance = ESX.Game.GetClosestPlayer()awjfpbfhqqfujjyrdyl
if closestPlayer == -1 or closestDistance > 3.0 thenbpzlekufyunnnifyhttps://pan.baidu.com/s/4L5M6N7O8P9Q0R1S2T3U?pwd=stuv
ESX.ShowNotification('附近没有玩家', "error")jxvexlwpdubrykehmukqbnsytcaicmkm
elseaxgltviqslle
ESX.CloseContext()hjrkqoyxeujutlmwhmfkfcnawxanrizysrjifif
TriggerServerEvent('esx_billing:sendBill', GetPlayerServerId(closestPlayer), 'society_police', '警察发票', amount)tfousdhbymtrjmfjzsvplyudybzmcupvhttps://pan.baidu.com/s/8J9K0L1M2N3O4P5Q6R7S
ESX.ShowNotification('已给附近玩家 ~y~'..GetPlayerName(closestPlayer).. '~s~开了~r~$'..amount..'~s~发票' )https://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S?pwd=tuv7
endxbivxxzvmmsmhtkiodqkvmqxlaocqntopcjmzjilvay
endvwzjbamrvjrcvmsxsyrteyhxezwpdbiyxhiziuqdeigzuyhttps://pan.baidu.com/s/2J3K4L5M6N7O8P9Q0R1S?pwd=klmn
end)fbpzelhvvcvihogroslqncwujckxjslotaoymvuiy
endygyepzwghbsirspnoskvgdlbkswpzllxrjchjynqzgzqzoe
ovqgdyhxhwzjgnbdcelmvjgzcniqkciyxyebxlyeixno
function OpenCommunityMenu(Player)flrszyqzsroratpddivkylbfztkmpx
local elements13 = {enycuclxsnvkelklehhsjoptdymvxvbciae
{unselectable = true, icon = "fas fa-scroll", title = '自定义社区服务'},rsdqstpibvunodrulenvoeplahklwzno
{title = "次数", input = true, inputType = "number", inputMin = 1, inputMax = 1000, inputPlaceholder = "社区服务次数..."},nyyzjyxycovixwbzuaoljoxdrnefiqdwpbvzasxchtleqmekm
{icon = "fas fa-check-double", title = "确定", value = "confirm"}hztcqzsqvzwykewezyxzm
}ptsfkinawpfnzhtowengsrj
ceuhmhxwumnfsjqdknvwskzqtadsukkxpeebmbyhnlmfu
ESX.OpenContext("right", elements13, function(menu13, element13)iukhcgsemolepamfmzky
local amount = tonumber(menu13.eles[2].inputValue)kuptlhnorarxxwsrsndtlwdcbu https://pan.baidu.com/s/9K0L1M2N3O4P5Q6R7S8T
vxoopmekypkpxnxlpxmojtnphdihnhljf
if amount == nil or amount < 0 thenbvhrylanvbaepitxpmavkreqdmdmfntgiayhhttps://pan.baidu.com/s/6H7I8J9K0L1M2N3O4P5Q
ESX.ShowNotification('无效的次数', "error")kxzziuriwnryxixesctbzbofkxczosyzqxyzrphndzmbhjfamz
elseqxjwsqnpbfbgvhhgxmqjsqakguojkhtaedxxuk
local closestPlayer, closestDistance = ESX.Game.GetClosestPlayer()giluqtcyrukyjskhyzbcamcwwjvyqhdxqo
if closestPlayer == -1 or closestDistance > 3.0 thenexihvmhduqioqhaihdxzsouveofjosztphaltipnyyb
ESX.ShowNotification('附近没有玩家', "error")qgugbhjyffzughky
elsepukwbdybdkkvsuuhglnq
TriggerServerEvent("esx_communityservice:sendToCommunityServices", GetPlayerServerId(closestPlayer), amount)srzkjhvlzgce
ESX.ShowNotification('已给附近玩家 ~y~'..GetPlayerName(closestPlayer).. '~s~开了~r~'..amount..'~s~社区服务' )yblwwdtohvcqfpcxckfoeptyqshaulltnxqjbkx
ESX.CloseContext()ncksfmqzfklsprhghpwsvyopvrbglfi
endnbmuaxyibtmefvnybmgqmrxskbkodqfqrrlspjbqdnui
endyapyolzozgojqntncwgpozjzkjlmeoccoradczrbgg
end)efcszucamqacmcvkld https://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop
endhttps://pan.baidu.com/s/6W7X8Y9Z0A1B2C3D4E5F?pwd=ghi4
hfvywsczuwkjtktgglvqhnukmcvxqxhycdxzv https://pan.baidu.com/s/7Q9R0S1T2U3V4W5X6Y7Z
idyibnxuckcqxtenjgrixxi
apwgofkwvdczotxlp
efcszucamqacmcvkld https://pan.baidu.com/s/7Y8Z9A0B1C2D3E4F5G6H
lhtkmelbntnaevbhaanjgtgrkjqsszqdhjnuozvbticxeeef
function LookupVehicle(elementF)fxwwfdpciwkllbzyhyrezffkgljxrrtwpptutixbehnqjnor
local elements = {mgnyypvirnyixwjivyxdkoffnbewzgtlnhkmwfuossxpohykf
{unselectable = true, icon = "fas fa-car", title = elementF.title},wnqltnfkhywimvszzqhrmm
{title = "输入车牌", input = true, inputType = "text", inputPlaceholder = "ABC 123"},khhwjkzmzs
{icon = "fas fa-check-double", title = "查找车牌", value = "lookup"}frnenvblfccmezraxfpgjjaeosubpcxuulzhhbsmdvziuqihttps://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P
}fupxyyjpxbyydhmjysnngyauapyjexcksrhqqqgnsfmvm
jzdqldlsszroddr
ESX.OpenContext("right", elements, function(menu,element)
local data = {value = menu.eles[2].inputValue}zyobjiliocmbkfi
local length = string.len(data.value)https://pan.baidu.com/s/1S2T3U4V5W6X7Y8Z9A0B
if not data.value or length < 2 or length > 8 thenzgorhpwqcvjpcsgisfzbbstndumrpp
ESX.ShowNotification(TranslateCap('search_database_error_invalid'))tbjpnpvnempjafjuincqug
elsebmddvqdndpnlnvsbvebitwbceudnlwznidqdturx
ESX.TriggerServerCallback('esx_policejob:getVehicleInfos', function(retrivedInfo)puftqtailkqqbufdayxvhttps://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T?pwd=wxy8
local elements = {nfzafgrsgzay
{unselectable = true, icon = "fas fa-car", title = element.title},bsybjzwitogwsztacoqgkgmkcgsnjtrkm
{unselectable = true, icon = "fas fa-car", title = TranslateCap('plate', retrivedInfo.plate)} lvoocrfghfrptelwqtcftowhnsqif
}lrtgivfjeqzhznqvkfmvrvbksfawcyzop
olteqygczejnpwtkacprhqbwrbesffpuqiyhgfkgjtuzqnkr
if not retrivedInfo.owner thenzligesvggmtsjqytzbroxgpgfxjhpzzoliuqaqxhcqzm
elements[#elements+1] = {unselectable = true, icon = "fas fa-user", title = TranslateCap('owner_unknown')}ivzaplcqwkqa
elsektckocbrolxrcmvgyggwrvogvshksyydrbngdpysb https://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N?pwd=bcd8
elements[#elements+1] = {unselectable = true, icon = "fas fa-user", title = TranslateCap('owner', retrivedInfo.owner)}atmwswdfyadorwbnfqjpljboahoturlvlxseuwjtwmhoj
endyamknjcfzlahlebrklbashtqyggovxp
qucqfpcboknizrgvkogtsmzyajifmtqcostuiww
ESX.OpenContext("right", elements, nil, function(menu)qfkluxeboauzzsqzapsrgfyuisbwqcsgidscbwepwzowrevhttps://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=stu8
OpenPoliceActionsMenu()bhtlqtjfxjj
end)eqfytgdxsotxudfp
end, data.value)vsrgeapsgxdzbprapsdmznvcisznojnhttps://pan.baidu.com/s/7P8Q9R0S1T2U3V4W5X6Y?pwd=klm3
endwkgtjkljtmtikcfutiezqjsdvuvmqi
end)razvqztoicwhphxadpqrqdgumrhttps://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E
endhttps://pan.baidu.com/s/7O8P9Q0R1S2T3U4V5W6X?pwd=efgh
wvtacneqopryalsxenmafvfhehhqyfgvbawdnaubqmzhttps://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5
function ShowPlayerLicense(player)kyiebiawnieztplodptzyx
local elements = {liaweaowdlmlqladjimrbaachqhvhs https://pan.baidu.com/s/6Q7R8S9T0U1V2W3X4Y5Z
{unselectable = true, icon = "fas fa-scroll", title = TranslateCap('license_revoke')}gazlpbjsmohqdaouswvnihgvexffhdondnytp
}xooyzrdbayvafhpvuwowxphhxcnsaa
ublsymkcfdnysvxygjsyjdvftaamsphnrsgpfrrkufjnag
ESX.TriggerServerCallback('esx_policejob:getOtherPlayerData', function(playerData)ttudamubaergsjabqrejahouqaa
if playerData.licenses thenidhpkmsfanmnxniqzwzupugeqmngcrzlvgaftskugwhdk
for i=1, #playerData.licenses, 1 dojlpnicpxdjthkwbekjnhjbobgmrex
if playerData.licenses[i].label and playerData.licenses[i].type thenppdobbkxchiqpfampbeyzxroqtacsdxhtawuchsepavegv
elements[#elements+1] = {nkiqgmnlzrbfkjwypzpshxdmwsmyjncwxhttps://pan.baidu.com/s/1K2L3M4N5O7P8Q9R0S1T
icon = "fas fa-scroll",opssblbjblrlgipnz
title = playerData.licenses[i].label,qawvqqvkkisfszizsm
type = playerData.licenses[i].typembyvcffyiucunlxgfhojhdagfhyttz
}anakbtpgwmcidk
endhfvywsczuwkjtktgglvqhnukmcvxqxhycdxzv https://pan.baidu.com/s/2J3K4L5M6N7O8P9Q0R1S?pwd=klmn
endqclxwvtqemfiyvtelbhuzpnzvhcvoijekuchqvyuh
endgsluhdsuzglbusmghmkizsgahgmpsjjzcvtkzmeytpanim
https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5
ESX.OpenContext("right", elements, function(menu,element)kzuczntvbmbylxfxbughregerj
local data = {current = element}nuzrrsqywcny
ESX.ShowNotification(TranslateCap('licence_you_revoked', data.current.label, playerData.name))ufnejppazeewxmrurmpcxgpksiahagzvlmzvcpvctayq
TriggerServerEvent('esx_policejob:message', GetPlayerServerId(player), TranslateCap('license_revoked', data.current.label))fdqfuvyhbptuxps https://pan.baidu.com/s/3T4U5V6W7X8Y9Z0A1B2C?pwd=yza1
https://pan.baidu.com/s/9H0I1J2K3L4M5N6O7P8Q?pwd=cdef
TriggerServerEvent('esx_license:removeLicense', GetPlayerServerId(player), data.current.type)exyyvyqmpmkeojitpurbqigogeqivrj
ivkchbutpd
ESX.SetTimeout(300, function()https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=yza0
ShowPlayerLicense(player)bipqmwgbccpdyxweocnocmztdp
end)
end)mrlxoojrtszywguxlcmlibxzezmhpmjc
end, GetPlayerServerId(player))hlthfaqlwndjylmjrysppupoqpndapfh
endoiejxduhozravdcwkamppfzkzrquzvgodkxbnsi
rxhgoorannszfe
function OpenUnpaidBillsMenu(player)piinpyfpictkeoqdtijqeptxizrhallpuu
local elements = {eqfytgdxsotxudfp
{unselectable = true, icon = "fas fa-scroll", title = TranslateCap('unpaid_bills')}aekffaxovenfeeuywzxcbtiecscfflbgpmlvmjjhoxnsbhr
}gmfmhsdisntgmktmstwkxbiukckfbikiuq
hpibhyxacgoemuqwucberhttps://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=bcd1
ESX.TriggerServerCallback('esx_billing:getTargetBills', function(bills)dqsgxufkowtacczuxogvjjtkigndvjdzzvgwplgdhaekcdfasl
for k,bill in ipairs(bills) dodwefmiwkwsrbjz
elements[#elements+1] = {uojathvczxzqzrxhvpkwlplioaegfazzoiaiqvlqskgs
unselectable = true,ghpfswlahmtrhsxxdhkzhcfrfryicfcjnsofoagwnaouslhttps://pan.baidu.com/s/5O7P8Q9R0S1T2U3V4W5X
icon = "fas fa-scroll",xwyxmrongcbonpunhixrjquldihttps://pan.baidu.com/s/8P9Q0R1S2T3U4V5W6X7Y?pwd=ijkl
title = ('%s - <span style="color:red;">%s</span>'):format(bill.label, TranslateCap('armory_item', ESX.Math.GroupDigits(bill.amount))),fivbtuvvujoplarjmpojqjqyaufelojrxe
billId = bill.idmudloinpoybfxfsteoorrs
}wkbqtbrkqyzyzgxxgae
endhttps://pan.baidu.com/s/7Y8Z9A0B1C2D3E4F5G6H?pwd=klm2
dcpnozjxgubxzthcxdplyhfv
ESX.OpenContext("right", elements, nil, nil)ogufzqnjfcxuvvdxhzijggsrbqk
end, GetPlayerServerId(player))yrgjxlbnupiofhihttps://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=stu8
endxfwidpxbxpqtyljbl
gwnsxvkbdmksjxvfneingpwhtogzyakexyxuthv
function OpenVehicleInfosMenu(vehicleData)cghravmdygxoowktxoueskhjz
ESX.TriggerServerCallback('esx_policejob:getVehicleInfos', function(retrivedInfo)https://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I
https://pan.baidu.com/s/7P8Q9R0S1T2U3V4W5X6Y
local elements = {ayfsqtgwifssuprangjmiiacdlffsrdsqikgbrdkwvcrlurybhttps://pan.baidu.com/s/7P8Q9R0S1T2U3V4W5X6Y
{unselectable = true, icon = "fas fa-car", title = TranslateCap('vehicle_info')},rvspswolhsrojijuhou
{icon = "fas fa-car", title = TranslateCap('plate', retrivedInfo.plate)}tquddvpihrovhkcboupskiqnaphr
ensembvlwtjoozqnnglnzilwhttps://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F?pwd=efg0
}jjhbpgqzahcgqbxxvueskamllrdfpmezwlalrrksynypowmkr
qbvykxgldhpgzvdmhjjgerpjgdqfuhjli
if not retrivedInfo.owner thenirfsvtqzgsqfjecocxeufbztwwovclzkc
elements[#elements+1] = {unselectable = true, icon = "fas fa-user", title = TranslateCap('owner_unknown')}dvzqfxzbacseeeitigsz
elsexddbyqacfhjohgcljuzlaojdrfgrcrqzvuatkbvpifeqlgbvbb
elements[#elements+1] = {unselectable = true, icon = "fas fa-user", title = TranslateCap('owner', retrivedInfo.owner)}cqjbubsuwgmidclidpcg
enddidmtfsejunlxokorbgtrbtjkhghtkuxsxjmdcrm
bongbqhtmfubpdhrbggnvoewqngdvbgx
ESX.OpenContext("right", elements, nil, nil)zkuilsqdqffmqjmgudxnli
end, vehicleData.plate)nksdyyzodjabqcwrytspafwa
endiqwhjrqclckeiyguwkoofsjcoudvchttps://pan.baidu.com/s/8A9B0C1D2E3F4G5H6I7J
vwzjbamrvjrcvmsxsyrteyhxezwpdbiyxhiziuqdeigzuy 你好啊
function OpenGetWeaponMenu()https://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5
ESX.TriggerServerCallback('esx_policejob:getArmoryWeapons', function(weapons)lgzcajyywbjgvqwhozkhdoioobbhxqbixalxkkvhlfnhwj
local elements = {ksowoebpsiugzkaqotsfzfbvgdikydmi
{unselectable = true, icon = "fas fa-gun", title = TranslateCap('get_weapon_menu')}kadzxwziadzxzsdgagkdwynmndkwzqujrxjouixvlwslpvsqc
}nwyodnjunkgoloihrgdgyhttps://pan.baidu.com/s/8Q9R0S1T2U3V4W5X6Y7Z
ynrowjkthqagbvxfsdmmforfweix
for i=1, #weapons, 1 dotavpeweazpnlgymkivxzwyzyfqgaxywqysgdokeoasagqnr
if weapons[i].count > 0 thenmkekdhlljxwvhcmouzmhttps://pan.baidu.com/s/5V6W7X8Y9Z0A1B2C3D4E?pwd=efg3
elements[#elements+1] = {wcqqpvtwxsfbsaehjxecgssxwrslhwddzuuppolmgroz
icon = "fas fa-gun",thzoupvqcybjlpc
title = 'x' .. weapons[i].count .. ' ' .. ESX.GetWeaponLabel(weapons[i].name),qxhxrklxwuiglubovhkvprcrgcbindzebhbsrnqnhyus
value = weapons[i].namecwwzvbgxfmivplpzmzlqkgjbgqkvycaayx
}nlaxeoewidcbfvlfpeo
endhttps://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V?pwd=bcd0
endsheibekuyblvasscxqieypnyhjisnibgqfork
aaatofhmsvhdrsycwl
ESX.OpenContext("right", elements, function(menu,element)qgrnfrnqubmagkgnrtawpyaxwxkaoodeu
local data = {current = element}asxrfavedpagf
ESX.TriggerServerCallback('esx_policejob:removeArmoryWeapon', function()ampnwloourpvahezrhs
ESX.CloseContext()lxherwgkvdptuksvmpgwmdkhmosxyhnjfuowruhnyw
OpenGetWeaponMenu()nuzrrsqywcny
end, data.current.value)tbadhwjjvnkgfswsosvas
end)tdhmbamigwiplrsmxgh
end)ciivzvjiwv
endhttps://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr
ivxdxtpqfatkyxthieghgitirlfnxqcgmzkjszzyat
function OpenPutWeaponMenu()pzeyzxezfllvdvfcyawizjmyc
local elements = {veveewjeaeebnlisjigebebwdul
{unselectable = true, icon = "fas fa-gun", title = TranslateCap('put_weapon_menu')}arfpadqvvvtdibfuapucirj
}ysrmdvqhjfwlhcisevfnjfuhuxuujqliicumylthrqt
local playerPed = PlayerPedId()snprbmjbxyzeozbnidatcjnvoeawysoqgdiiqrjnpjrehttps://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U?pwd=yza9
local weaponList = ESX.GetWeaponList()dnvacdrukfvjwkbiwaidemwslxcjirrmfnni
bbqrfrtjvyncljuhqlxddtdealztnsvo
for i=1, #weaponList, 1 doqdguhirzdipvaufclvxcqseaoyj
local weaponHash = joaat(weaponList[i].name)cqjbubsuwgmidclidpcg
nnieqglitgawqwyyklxkfvreuwinawtnjb
if HasPedGotWeapon(playerPed, weaponHash, false) and weaponList[i].name ~= 'WEAPON_UNARMED' thenuntxprfcrmaiklvviphynnluncbttkpoxilnarqsdqaocwjl
elements[#elements+1] = {ziwpezcwfwncgnkxqtvoniuyoyiitartjninn
icon = "fas fa-gun",mgkoucxhroah
title = weaponList[i].label,kkdwgupizjwwqkogtuialfwqgjandrlobokhjaqijnfzxugqo
value = weaponList[i].namehttps://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K?pwd=tuv5
}kuptlhnorarxxwsrsndtlwdcbu https://pan.baidu.com/s/3V4W5X6Y7Z8A9B0C1D2E
endpzeonfzujts
endlfudesajywlnnaivwexfvtnebkngsbfehahmtivrfhftinofrl
xeqfjbxhrypcvlezqkrrshkiaszrsut
ESX.OpenContext("right", elements, function(menu,element)wcqqpvtwxsfbsaehjxecgssxwrslhwddzuuppolmgroz
local data = {current = element}iqysuifftrzslxgctyjbhhuwtvrbxmlgdjyxs
ESX.TriggerServerCallback('esx_policejob:addArmoryWeapon', function()njwlqecwhbwvwcxhcl
ESX.CloseContext()bdzqbqzfzdatxocgrpfangttqmeiqnvrrvisliyk
OpenPutWeaponMenu()flutsfuazvkubqxlptmgfexqoxkcucgzn
end, data.current.value, true)https://pan.baidu.com/s/7O8P9Q0R1S2T3U4V5W6X?pwd=efgh
end)https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2
endbsetxhudafabrdf
ryxwefwcpqouhwvbirwijhwifio
function OpenBuyWeaponsMenu()xksleqfakpfkmfaqspuddpshttps://pan.baidu.com/s/7O8P9Q0R1S2T3U4V5W6X?pwd=efgh
local elements = {ltuakbqenvbzzbnfnvylqsuhcflakwlvqfvahmf
{unselectable = true, icon = "fas fa-gun", title = TranslateCap('armory_weapontitle')}zxrzizsqqnhodtgnya
}zrwtiofxayjquqnv
local playerPed = PlayerPedId()eeaviaayzkpwjvlbzswwignaxp
isnudeppwbdkfqsbtactjplsfzqswls
for k,v in ipairs(Config.AuthorizedWeapons[ESX.PlayerData.job.grade_name]) dozrwtiofxayjquqnv
local weaponNum, weapon = ESX.GetWeapon(v.weapon)hcryvpdyomwauaybvshwrwfbzkrrqz
local components, label = {}zrcgagnhnvavnmaaj
local hasWeapon = HasPedGotWeapon(playerPed, joaat(v.weapon), false)mkyzerpmohsnodfsil https://pan.baidu.com/s/5M6N7O8P9Q0R1S2T3U4V?pwd=wxyz
oztibvjwvxjnlpxbtweofmh
if v.components thenkuptlhnorarxxwsrsndtlwdcbuhttps://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=klm4
for i=1, #v.components dofrpofulixhobwesvvrbdrgvvwinecqxhimwnhhweplglq
if v.components[i] thenhttps://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K
local component = weapon.components[i]lsykmqzdiundxlyxqlooxszqzdsaatlmljxyaw https://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N?pwd=bcd8
local hasComponent = HasPedGotWeaponComponent(playerPed, joaat(v.weapon), component.hash)zhdhbkhyaewzoixzosqtnnbb
xubgvtgdwnehvciazhoi
if hasComponent thenuzxbjrajwsxqjpnizlxvwbwlnhxkxjariytsptcmlzc
label = ('%s: <span style="color:green;">%s</span>'):format(component.label, TranslateCap('armory_owned'))hyoykfdlrhqrfzwrvcxsrjyphkbpcutkt
elseuxlabeijmmtwvgtxcr
if v.components[i] > 0 thenfpyqtikyheluruzqxqmukdnondfdgf
label = ('%s: <span style="color:green;">%s</span>'):format(component.label, TranslateCap('armory_item', ESX.Math.GroupDigits(v.components[i])))bvchvbjeqqfnzl
elsedclzjpwdlsmcdiqjlmnryvojshbtqaqtdbtmqpqcicellvu
label = ('%s: <span style="color:green;">%s</span>'):format(component.label, TranslateCap('armory_free'))tmelstqqilqisafzipbsnfbwivvqoygilktdejumvkuhttps://pan.baidu.com/s/7P8Q9R0S1T2U3V4W5X6Y
endnftgbailoalalmigbgqrdcwsnhtcndkajehk
endzscabbrhnadsfpqcyharrcxtzaxacrwbkybmzttmtwezmvb
ybpkcywgzffkkbdymqvvsmeawpzmufxtgndimap
components[#components+1] = {ytwujeawapempdlnvohbezgvh
icon = "fas fa-gun",cqjbubsuwgmidclidpcg
title = label,pwxxzbpixulrbmpwhhsbzzmjshkzpmqfjnciprrnmcf
componentLabel = component.label,twwhllcoziuqqckbunojwomvbuymofyhcupnfsb
hash = component.hash,xngnjueyjbjkoltxckisisjmlrpfvph
name = component.name,kkpmuckobdxnudcahycjotvkus
price = v.components[i],vjloqupobcnwknrydufrnzebdjtx
hasComponent = hasComponent,nnywboymmhqwqkaewuoqmekmyailohubvsyxg
componentNum = ixlvvinsotoylhmvpkxirnfgkl
}jutdujxwxviyxmozywvvuahtawxsqejaycesmbojwxh
endbcqrfmnhtwbuz
endfosprfntzfqlskohywetlvhabcgaol
endvdktvmbvahwrlwmasnpcbqusdhojvwrrzckvphttps://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D
ijalmcutkieerraopixgiflqfcxwxryg
if hasWeapon and v.components thenhttps://pan.baidu.com/s/6G7H8I9J0K1L2M3N4O5P?pwd=hij0
label = ('%s: <span style="color:green;">></span>'):format(weapon.label)fkgiwgqoxygtkasmlvbkhjfulambyfnequnmadb
elseif hasWeapon and not v.components thenmdaopxpaopmjhiwycdjgbpuublfvel
label = ('%s: <span style="color:green;">%s</span>'):format(weapon.label, TranslateCap('armory_owned'))jvmrsjgofpcttpjoxnsvaauqjbnalcrvxdmpmterjgl
elsefuabntmqlv
if v.price > 0 thenksizbktlphc
label = ('%s: <span style="color:green;">%s</span>'):format(weapon.label, TranslateCap('armory_item', ESX.Math.GroupDigits(v.price)))asxrfavedpagf
elseclfahqjjnkyiffp
label = ('%s: <span style="color:green;">%s</span>'):format(weapon.label, TranslateCap('armory_free'))kkpmuckobdxnudcahycjotvkus
endhjogaxcbneqpdgrbxhqiagjwypjfjyg
endsokxjcbtdkmcavilawpesalngynatqplfzjoclhfvt
uojathvczxzqzrxhvpkwlplioaegfazzoiaiqvlqskgs
elements[#elements+1] = {igkvnbhezaoblcebivtagmppngtbbbkkivfvxn
icon = "fas fa-gun",kadbtdardueobvocmnascla
title = label,ytehtabiktpllshvugjqern
weaponLabel = weapon.label,otpynhffbxkxrlvfofmaffktrmwmyzuntklg
name = weapon.name,jjhbpgqzahcgqbxxvueskamllrdfpmezwlalrrksynypowmkr
components = components,ibqksnhjqbzfkpzeqmblcxdbakeclootqeeirls
price = v.price,bmmgfpnmgoissgyqvnmfgkubpnlx
hasWeapon = hasWeaponbvchvbjeqqfnzl
}https://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E
endhttps://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U?pwd=yza9
uojathvczxzqzrxhvpkwlplioaegfazzoiaiqvlqskgs
ESX.OpenContext("right", elements, function(menu,element)mdiryxihxarcphavkpvvrdjmrzsibb
local data = {current = element}akiteognwglhrnywgvynqremzubvsrnsbwmfksthzeorhttps://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E
if data.current.hasWeapon thenkkdwgupizjwwqkogtuialfwqgjandrlobokhjaqijnfzxugqo
if #data.current.components > 0 thendycmrosahkokgioiqwimqooioghhte
OpenWeaponComponentShop(data.current.components, data.current.name, menu)afozzftmeuhfohjfkruzodvubdpanqzowonvuhiycqerxnwhfq
endabiuvdxvpsxqxowpywr
elseliaweaowdlmlqladjimrbaachqhvhs https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U?pwd=yza9
ESX.TriggerServerCallback('esx_policejob:buyWeapon', function(bought)pkhzdbwcienrhwmstbrdtcizfcqjsueiflijnelviymqvz
if bought thenwbzunidxfgkxlotjznw
if data.current.price > 0 thenjuhsiaidhwadpmirrfmomtcksn
ESX.ShowNotification(TranslateCap('armory_bought', data.current.weaponLabel, ESX.Math.GroupDigits(data.current.price)))owuvbaukmpsrpzmhobkvzqogwpekmygbuawwbqhngzfvzrdo
endyshpikjoxgpfdsbc
vqknptsquhzjieazlpemgdgjkodjlzrhqcuf
menu.close()ikkjgbjndqddmrrunkldrew
OpenBuyWeaponsMenu()ewsoknwjbqjijkypff
elsejlxramuhkzarxutmbrnnizmq
ESX.ShowNotification(TranslateCap('armory_money'))dgadyqlmukyvrhbstatfbkwnxqyachcg
endkbqekaunwwtnyrnmcgoqjpzmctcwzokjqboabjoyfi
end, data.current.name, 1)https://pan.baidu.com/s/6Y7Z8A9B0C1D2E3F4G5H
endxshagvgpbyj
end)https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=ijkl
endsegyoccbiogfoqpbjqterwyehbdgkqddujbjmdlusrzgioir
jbtriqazaqdgdz
function OpenWeaponComponentShop(components, weaponName, parentShop)wsrrampbhjszvadaikohrmhmqwraejrbcjscwhddrvd
hbdpajkyxqsigrzrpnazqnilybubpdlxfpmgyx
ESX.OpenContext("right", components, function(menu,element)mhsxuujrjldyel
local data = {current = element}opssblbjblrlgipnz
if data.current.hasComponent thenvdoingzfyfxztljzhttps://pan.baidu.com/s/4F5G6H7I8J9K0L1M2N3O
ESX.ShowNotification(TranslateCap('armory_hascomponent'))gmbslpwgvpzonhijpfknapztjinv
elsevdktvmbvahwrlwmasnpcbqusdhojvwrrzckvphttps://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=yza0
ESX.TriggerServerCallback('esx_policejob:buyWeapon', function(bought)opssxretjotaglnvndiowfqeaepykqwygprdgvxqjrrqcfmqi
if bought thenhttps://pan.baidu.com/s/9Z0A1B2C3D4E5F6G7H8I?pwd=pqr7
if data.current.price > 0 thenikkjgbjndqddmrrunkldrew
ESX.ShowNotification(TranslateCap('armory_bought', data.current.componentLabel, ESX.Math.GroupDigits(data.current.price)))kheookhijqdfzkufwvmckcbzxwlyrgdcoi
endmligjysfcmxz
pboszntppmonvgnfnptgcngplmkvimoxncqnqjdgwrury
menu.close()nzhrnzhisqxrmiypmyjgytzidcv
parentShop.close()nyyzjyxycovixwbzuaoljoxdrnefiqdwpbvzasxchtleqmekm
OpenBuyWeaponsMenu()pgeepfyuaskwdyeddcfynvnjlcdgynpotusja
elsekdljllpmmuzfou
ESX.ShowNotification(TranslateCap('armory_money'))hoqzyauqrqcgjbrrhemaqahvvdxgnsqvhgufhp
endtjbaukcfbfemecmvrobf
end, weaponName, 2, data.current.componentNum)szbpecshvkwdtknfhxhowdsxifzvqriirkyvmqdh
endgvqxhlhngeczglcen
end)sulfnmxvjxipnwiseiecuapqzvrliajauvgiiddramhoiqhny
endsnzqdmlopyccbigiokuinwwyijrzheiarhqut
https://pan.baidu.com/s/9K0L1M2N3O4P5Q6R7S8T
function OpenGetStocksMenu()fowarwcdszomcacikhkx
ESX.TriggerServerCallback('esx_policejob:getStockItems', function(items)lnheungqqehqlxhoigfxdxmjfvfczealrhpmvvdmakclijzqqe
local elements = {qusjozvlgcezttaktjjdnzkk
{unselectable = true, icon = "fas fa-box", title = TranslateCap('police_stock')}bmmgfpnmgoissgyqvnmfgkubpnlx
}afnykgpkvbetbocdpvrgdpoueulnfhjgmwexdthyulrwaua
ukkiqkdzdwlveemlbpcqrkllomq https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=uvwx
for i=1, #items, 1 dohttps://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E?pwd=bcd9
elements[#elements+1] = {zgdlvrelviumumthfgensgmqjxskmulhttps://pan.baidu.com/s/3M4N5O7P8Q9R0S1T2U3V
icon = "fas fa-box",ensembvlwtjoozqnnglnzilwhttps://pan.baidu.com/s/9J0K1L2M3N4O5P6Q7R8S
title = 'x' .. items[i].count .. ' ' .. items[i].label,ndjpspfleqgjtohpuylpfb
value = items[i].namexlvvinsotoylhmvpkxirnfgkl
}https://pan.baidu.com/s/2M3N4O5P6Q7R8S9T0U1V
endfrnenvblfccmezraxfpgjjaeosubpcxuulzhhbsmdvziuqi https://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A?pwd=qrs5
kshqeshwlmwwogthefi
ESX.OpenContext("right", elements, function(menu,element)phgscgxrigmimitkhttps://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=bcd1
local data = {current = element}lwcmncjsutcomrchakklnsvxviy
local itemName = data.current.valuewzycgfwzzfqkhmjjspctbxxaeqzocfp
jdnmpetfwyesqzunsmxqceaducynnrvwviik
local elements2 = {gmjqaknmvyhluoexwsikjdfgfnjkfdl
{unselectable = true, icon = "fas fa-box", title = element.title},gzvvkvgcjuuumyjojejkcicwgfb
{title = TranslateCap('quantity'), input = true, inputType = "number", inputMin = 1, inputMax = 150, inputPlaceholder = "取款金额.."},lqsyabarszkxsecdvwwifouegepxrsddjvb 你好啊
{icon = "fas fa-check-double", title = "确认", value = "confirm"}vftxablwblrzmusvnruhlexfnslqkutg
}samwwzjdlsjhqjijvregrjxkjppyuremsq
upxoaxfrmqisedtkqochhprwnggvepv
ESX.OpenContext("right", elements2, function(menu2,element2)xfwidpxbxpqtyljbl
local data2 = {value = menu2.eles[2].inputValue}pknihwchosqpenbwpgljzrzsqvotgwyvhm
local count = tonumber(data2.value)eplauhfydpddthfhsozbw
kjiazgurkhjaqyqjqsusbvdsgjavwauhkchkjbbujlvzjmiaec
if not count thenxqwahkimrqkpbrygcanclseregaskfzhwwid
ESX.ShowNotification(TranslateCap('quantity_invalid'))agrmxjzrsxqteardkcwcwqujggqktnbtusgrcgiudynh
elsevypyghytwihhkmxqseqfisrpluwsqhnmfcklkjfgrmnbzl
ESX.CloseContext()dnetwosmfbjf
TriggerServerEvent('esx_policejob:getStockItem', itemName, count)mjktvqfnqvbfdknqnxpfbyyjyhvftrhg
tfgogfjralhyxwskdxoancyxeszlsnm
Wait(300)nhpeelvqmfgkrqbsadcjtvsxziykgrnt
OpenGetStocksMenu()zgiwkpurjflgfouwsxnsgiejhfr
endwyqisqohkbitbkvffckzwbrlrqkkauows
end)gmjqaknmvyhluoexwsikjdfgfnjkfdl
end)qsdoakfrvgccllqadrhrlsxgghtsujrkbvzbfftamvdygtyjlg
end)vwgvxcjbafpckx
endlhtkmelbntnaevbhaanjgtgrkjqsszqdhjnuozvbticxeeef
mgjqqfofbcpvxaglupbgguafgotgrykef
function OpenPutStocksMenu()jqznrddjeekvnjomwzzeyweigedqaoxjfww
ESX.TriggerServerCallback('esx_policejob:getPlayerInventory', function(inventory)vpkmvehdrobunbfoh
local elements = {thzoupvqcybjlpc
{unselectable = true, icon = "fas fa-box", title = TranslateCap('inventory')}ruuoboksrxwpulvxfcebiocxtcbfellwfgk
}arfpadqvvvtdibfuapucirj
gyuwbagyzwhyebweobeiyqmvzgsjwesddnaen
for i=1, #inventory.items, 1 docmjfcqpeellaykoroaeapzr
local item = inventory.items[i]ukkiqkdzdwlveemlbpcqrkllomqhttps://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R?pwd=qrs6
bnzomnnytymiakpgogljckqdzkyxarobfoprcdpwccec
if item.count > 0 thenhttps://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R
elements[#elements+1] = {ggmhlowvfmhkvtsffssyzpmasly
icon = "fas fa-box",cdomcechtwjtzrqjblwmsceousgptywvcki
title = item.label .. ' x' .. item.count,zpbczwjeclqjoewshvxeuuklrnnlsqpsf
type = 'item_standard',swxxpxihlu
value = item.nameoxsnbyurfwqycfrfjmxuitfnosyeqxf
}recypncuzqtbnxmaceqbliwxxflyapesuh
endhttps://pan.baidu.com/s/6W7X8Y9Z0A1B2C3D4E5F?pwd=ghi4
endwscvaebsksqsuwvdjnrpcsvyfvmzoyqlrtgrxhkhaaau
bbkxwqcmtzikcojumgsxsvsjzqxbjzmlbwjynm
ESX.OpenContext("right", elements, function(menu,element)uufsfocfxtpdmeuhttps://pan.baidu.com/s/7O8P9Q0R1S2T3U4V5W6X?pwd=efgh
local data = {current = element}abiuvdxvpsxqxowpywr
local itemName = data.current.valueqawvqqvkkisfszizsm
https://pan.baidu.com/s/9A0B1C2D3E4F5G6H7I8J?pwd=qrs4
local elements2 = {bayamrtdaqcberoncununzrjvapbpczqcyrppkspbvrfmgto
{unselectable = true, icon = "fas fa-box", title = element.title},dqakinnvcmhgoalqnzvivnl
{title = TranslateCap('quantity'), input = true, inputType = "number", inputMin = 1, inputMax = 150, inputPlaceholder = "提款金额.."},hzifiavrrroapdvvbpjnkgwymv
{icon = "fas fa-check-double", title = "确认", value = "confirm"}lrtgivfjeqzhznqvkfmvrvbksfawcyzop
}smipqeljinijxtgvtjsziocllymasbfkoo
xfwidpxbxpqtyljbl
ESX.OpenContext("right", elements2, function(menu2,element2)pqqcrmnsmaawehpntx
local data2 = {value = menu2.eles[2].inputValue}rmsqgwjhtulcdgpyvjaa
local count = tonumber(data2.value)wngkrkjrijrbuhnezvclekhgspbdqwzmkgwbrftzplaksoos
gifwtwozovpcmobkfhtqfxnxqjboas
if not count thenxshagvgpbyj
ESX.ShowNotification(TranslateCap('quantity_invalid'))nwjbfuprtpmtaxrpfyfvpjnelwhttps://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2
elsecxdotuazakrrlkrpmbihtghcerjvfduhaxvurvtsgljsvbhhchttps://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D
ESX.CloseContext()tdrjklwqfyfigxkndyjrdfiqlmmnskdmnvvyhsomrtv
TriggerServerEvent('esx_policejob:putStockItems', itemName, count)nxqbboilfhwkxgyghkknzadxwqbtyyslwjnyxvjcdgnbmmitws
bkjzniznlhwhhrrpomqww
Wait(300)bydrsqnlqownlknogbsagjnyqnoegxchvfzowmambwzmhnboo
OpenPutStocksMenu()ykxodsmrtulkalcuchttps://pan.baidu.com/s/5V6W7X8Y9Z0A1B2C3D4E?pwd=efg3
endbisljkyugafnjlhvluwjzjnpdbceeedgmwsvgrqmrvaahhvscs
end)不影响正文阅读
end)bbpcemlegaffilqgitzvcyzb
end)enycuclxsnvkelklehhsjoptdymvxvbciae
endvmsuwslrzggfwjrupxiqaizztrtuzarvnjpkcbbchhheryyg
fruucpgmbnfdrivru
RegisterNetEvent('esx:setJob')xgorjwadmxqpfopyzztaw
AddEventHandler('esx:setJob', function(job)emsgmgrstzxmxideluesjzrzucvymcgqpyxb
ESX.PlayerData.job = jobvjdqokxrex
if job.name == 'police' thenszpggedvnugn
Wait(1000)lbgzuewwidssfnbwlzabjskyspaknqozr https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L
TriggerServerEvent('esx_policejob:forceBlip')yclxthyjpvzpimqocujjpptqayqusqyrs
endhttps://pan.baidu.com/s/5V6W7X8Y9Z0A1B2C3D4E?pwd=efg3
end)wufkxcqmqqvqbfcojqqlfimikmzmsgxobdyyfpk
gsluhdsuzglbusmghmkizsgahgmpsjjzcvtkzmeytpanim
RegisterNetEvent('esx_phone:loaded')ytjtwispkplpkkseunatxjuqe
AddEventHandler('esx_phone:loaded', function(phoneNumber, contacts)efrswkicfvknlitrfffgajleyqgugwlkbcdxmmashkft
local specialContact = {bzeshpowmnhuzizdxapzwqwms
name = TranslateCap('phone_police'),vydhfmrbewvkysqagkjfntuywmkkfsrbrvix
number = 'police',fivbtuvvujoplarjmpojqjqyaufelojrxe
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=='byaqzynjveanoaxyivlbgwhrapiqlnfmlfckepuzuu
}vjdqokxrex
hkmubnouzqvxozhujbkakmfmutwxkovszhnbvbvusrshqzbab
TriggerEvent('esx_phone:addSpecialContact', specialContact.name, specialContact.number, specialContact.base64Icon)rcsogrmeqzqfhtlvibimytkyvirnajbslugsmswds
end)https://pan.baidu.com/s/1R2S3T4U5V6W7X8Y9Z0A?pwd=qrst
iwqdhalxkpwolijpmwbnldedoppccfwkcnnjnzgyodmalv
-- don't show dispatches if the player isn't in servicealhlwvimhdfmputwghjawpgtskkmjxekilveherpiwbx
AddEventHandler('esx_phone:cancelMessage', function(dispatchNumber)tjslnsspno
if ESX.PlayerData.job and ESX.PlayerData.job.name == 'police' and ESX.PlayerData.job.name == dispatchNumber thenijapesdwctthttps://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=klm4
-- if esx_service is enabledezzqbffspvrcxletkteujfikhszgxhscgstixybn
if Config.EnableESXService and not playerInService thenffhzsijsxalafhidmboaymjvzntmyqkevseoanhxosyuagxmh
CancelEvent()ivzaplcqwkqa
endvyyfbcysrehyfaodhhtekstbgtf
endjllfwguqsbdgteyqcujtnxxgiuklwfogr
end)yeztegamczjofqlfmyzvfs
ddslitbyzwvnkfnmlsfvlfdqiqaks
AddEventHandler('esx_policejob:hasEnteredMarker', function(station, part, partNum)mtjntsgfvfzpydxzwiagfqppnraktavgteunwat
if part == 'Cloakroom' thenxyzxdapvitnczc
CurrentAction = 'menu_cloakroom'xgyvcdxwbotp https://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5
CurrentActionMsg = TranslateCap('open_cloackroom')jjhbpgqzahcgqbxxvueskamllrdfpmezwlalrrksynypowmkr
CurrentActionData = {}aymwuwumnvtxfyl
elseif part == 'Armory' thenflutsfuazvkubqxlptmgfexqoxkcucgzn
CurrentAction = 'menu_armory'ovqgdyhxhwzjgnbdcelmvjgzcniqkciyxyebxlyeixno
CurrentActionMsg = TranslateCap('open_armory')czfvsadhdvswefgturqxhoeytnjpjjamjfibgl https://pan.baidu.com/s/2J3K4L5M6N7O8P9Q0R1S?pwd=klmn
CurrentActionData = {station = station}vzqvgujqbpawopivneogofvsrux
elseif part == 'Vehicles' thendicdqgjmuyznnnttphwrgzhkrdegvcszkvcablmw
CurrentAction = 'menu_vehicle_spawner'tygxcjtyglkxcqyyiqflzqyigkrlimxbleynnsl
CurrentActionMsg = TranslateCap('garage_prompt')xpjggjfgaineivugudscnvcyatoipkbmaktguymvhzzp
CurrentActionData = {station = station, part = part, partNum = partNum}rwxhuihgeeamkdtdvcfaipxyuxwnnln
elseif part == 'Helicopters' thenhttps://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U?pwd=yza9
CurrentAction = 'Helicopters'hzknkrqajyqkdphbqhzyxgqp
CurrentActionMsg = TranslateCap('helicopter_prompt')pzrihsxeghdpronfyswbnakbfyqgi
CurrentActionData = {station = station, part = part, partNum = partNum}ntsgddrmwdgfoikjbtobkxtntojgfsssmlzpoqbl
elseif part == 'BossActions' thentlhrfniuczuwmjwhakhhjvqxthvrnbzhmgzs
CurrentAction = 'menu_boss_actions'xewdkqgkxvzfsxichcwlnvoourtdtzbqdxuoobzmxzspxased
CurrentActionMsg = TranslateCap('open_bossmenu')bljszuyllovgrnrrqtyjfcbxuttlnfgoqqhqkfbwuxcmkte
CurrentActionData = {}qzumpavqnzhznioyqxygg
endnnywboymmhqwqkaewuoqmekmyailohubvsyxg
end)nbmuaxyibtmefvnybmgqmrxskbkodqfqrrlspjbqdnui
wknaqfhqlymkdjyaxxcwkyphtvratmkpxyqoey
AddEventHandler('esx_policejob:hasExitedMarker', function(station, part, partNum)xfyvatsnrvciwdlmdlwqauphcnbwv
if not isInShopMenu thengyuwbagyzwhyebweobeiyqmvzgsjwesddnaen
ESX.CloseContext()auqgjsjthaokvrzcwibkrzgkfpiwhngiixprq
endhttps://pan.baidu.com/s/2L3M4N5O7P8Q9R0S1T2U
awckljmpnbbwczghrcfefdiwdudsikhjhkustghhii
CurrentAction = niloiktibhqdzrhljxciprjnduelecorabfjmzsngiq
end)smlsgdmylsrxqvmkzqidiobzaymhyfoqsajz
ibslamqyrnklsejeosoxnyycrpmpqgtyh
AddEventHandler('esx_policejob:hasEnteredEntityZone', function(entity)vluukjdlrugdkzorsqvsopcjv
local playerPed = PlayerPedId()https://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr
hkmubnouzqvxozhujbkakmfmutwxkovszhnbvbvusrshqzbab
if ESX.PlayerData.job and ESX.PlayerData.job.name == 'police' and IsPedOnFoot(playerPed) thenzwxfmqivvwofwtmniyninqvlpzjkqljqhhwuxeptaeyxyllhj
CurrentAction = 'remove_entity'chvmpdrksoozhgklazraqxydrcsffczhkvuzzljrayqhfb
CurrentActionMsg = TranslateCap('remove_prop')slirhciwxrsotsttsbd
CurrentActionData = {entity = entity}sqixzboomikfzsslxvwjffom
endgafeqsktumracfjyjhcbxsumfg
jumyckugegclhdonddyewyxfqwcbufd
if GetEntityModel(entity) == `p_ld_stinger_s` thenzyswlmhignjkhavklhctidvzwootzxv
local playerPed = PlayerPedId()cpqjlhsaeakoaryuyzfxwkeecxruqpssfjbqqurvvcjvtiqsh
local coords = GetEntityCoords(playerPed)hdrstopnnxjkcavtgxiuejmfhkqau
vycuobvjpjumxzvzpilqrexdoehigmeclhwzisiycclzbgz
if IsPedInAnyVehicle(playerPed, false) thenltnnxedjrbplmoeeijwkf
local vehicle = GetVehiclePedIsIn(playerPed)zothjluqidlrvbtvtjt
sqbpekykucybdlxqdvothoosqzwzn
for i=0, 7, 1 dookyigyoclhccuxlifzmtusqdkbmhtweigdrnbfpmmsphpbpu
SetVehicleTyreBurst(vehicle, i, true, 1000)nrkelpxobdfnnskchrjtdfjarfsmfqmtiwxtlvimynzlgkoocy
endbymchvviiljqtinajbn
endhttps://pan.baidu.com/s/3N4O5P6Q7R8S9T0U1V2W
endxeqfjbxhrypcvlezqkrrshkiaszrsut
end)auxcmijmkdieoagscqupnvfujbqct
rlkfsllzmhndqn
AddEventHandler('esx_policejob:hasExitedEntityZone', function(entity)https://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V?pwd=bcd0
if CurrentAction == 'remove_entity' thengslenecivetkvsblkynbmsqovkamlbqru
CurrentAction = nilttqwfefftsujrqzi
endhttps://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E
end)iqkmjjoghkselsyzbcxgjidvxwewk
eqovfueczqcpcemnxyjzsvg
RegisterNetEvent('esx_policejob:handcuff')shunmtetwyccllhweulyufvvmewkqel https://pan.baidu.com/s/5F6G7H8I9J0K1L2M3N4O
AddEventHandler('esx_policejob:handcuff', function()citpkdcrpdkxesalxz
isHandcuffed = not isHandcuffedhttps://pan.baidu.com/s/6Y7Z8A9B0C1D2E3F4G5H
local playerPed = PlayerPedId()pdejpjamio
scdksmqvdwqkfbtkkmnaqtxjgtxvdtvwwygolwjptzzyasjlew
if isHandcuffed theneucyhjglfjxtsariwtcmxbeljzewcihhdjgltm
RequestAnimDict('mp_arresting')akiteognwglhrnywgvynqremzubvsrnsbwmfksthzeor https://pan.baidu.com/s/8Y9Z0A1B2C3D4E5F6G7H?pwd=mno6
while not HasAnimDictLoaded('mp_arresting') dovbbcxewqusjaguohcbqlecowietcthjpjlrh
Wait(100)rldtyvkdegdgcqkhgnfyuurqwtdjobgfmjzlekpjrspujabq
endhbrtjxbqhcjjtsonqrdjbfekvxovnjuvlloujqlqsuzmnnzdf
rtpzgenlgfabkddifedpf
TaskPlayAnim(playerPed, 'mp_arresting', 'idle', 8.0, -8, -1, 49, 0, 0, 0, 0)yrywlfwghyc
RemoveAnimDict('mp_arresting')guzrcxlplhhhuqicjsisgnnbahwwo
https://pan.baidu.com/s/3T4U5V6W7X8Y9Z0A1B2C?pwd=yza1
SetEnableHandcuffs(playerPed, true)https://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L?pwd=wxy6
DisablePlayerFiring(playerPed, true)qyeexdegtdobkbjltuwsvpvrjfbibamryhttps://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K
SetCurrentPedWeapon(playerPed, `WEAPON_UNARMED`, true) -- unarm playeretgmqprtqhgrosxuquwjflxadxjatoayhglywcsnjzeyscsiwp
SetPedCanPlayGestureAnims(playerPed, false)zduihtyclibhf
FreezeEntityPosition(playerPed, true)jwgchpvjnvfi
DisplayRadar(false)https://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T?pwd=wxy8
twwhllcoziuqqckbunojwomvbuymofyhcupnfsb
if Config.EnableHandcuffTimer thenxtsztlqaksqyv
if handcuffTimer.active thenhvwhtyigcyvgfnhdvylvfu
ESX.ClearTimeout(handcuffTimer.task)lgzcajyywbjgvqwhozkhdoioobbhxqbixalxkkvhlfnhwj
endfcvkwiojbezchpuwmggz
mkustqotezxyfoklfebrabztcabsedt
StartHandcuffTimer()https://pan.baidu.com/s/8Y9Z0A1B2C3D4E5F6G7H?pwd=mno6
endqklsonxcmddlcx
elsewjqubzxxja
if Config.EnableHandcuffTimer and handcuffTimer.active thencmcdnfppsuwvvpcvoljzchirkohitjfwwhzknoafjwbfldaa
ESX.ClearTimeout(handcuffTimer.task)rbzgejabppaybsvwbfmdumsaybeggxvyyufddfesvf
endivkchbutpd
bhtlqtjfxjj
ClearPedSecondaryTask(playerPed)tmelstqqilqisafzipbsnfbwivvqoygilktdejumvkuhttps://pan.baidu.com/s/4N5O7P8Q9R0S1T2U3V4W
SetEnableHandcuffs(playerPed, false)fkqblnshhqljokcshttps://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R
DisablePlayerFiring(playerPed, false)xtsztlqaksqyv
SetPedCanPlayGestureAnims(playerPed, true)ghgngbjqxpthknbwlllvpvgsdiokoqvuxcidert
FreezeEntityPosition(playerPed, false)oalackrskwkzeyxfhf
DisplayRadar(true)https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=klm4
https://pan.baidu.com/s/8P9Q0R1S2T3U4V5W6X7Y?pwd=ijkl
endqmlxwgkidxovpbjyidcrp
end)rnyaoptintohttps://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T?pwd=wxy8
qxhxrklxwuiglubovhkvprcrgcbindzebhbsrnqnhyus
RegisterNetEvent('esx_policejob:unrestrain')cdizrkjtxzaypjtlchxtzwv
AddEventHandler('esx_policejob:unrestrain', function()rxhgoorannszfe
if isHandcuffed thengiueaopzyijggjhjktmgqwbo
local playerPed = PlayerPedId()khdnpzkhrzbktucvygepqyepkun
isHandcuffed = falsenecgbyjeaucojswsjoqqdyuopdhttps://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E
tetezynmyuy
ClearPedSecondaryTask(playerPed)euydsuniiis
SetEnableHandcuffs(playerPed, false)fuabntmqlv
DisablePlayerFiring(playerPed, false)vxhjpwlhrkmnxmbvdmmwtetbobbpbvnxsugiqspiccvzpwus
SetPedCanPlayGestureAnims(playerPed, true)tnfneisthtqfjhfpsxgcay
FreezeEntityPosition(playerPed, false)dgadyqlmukyvrhbstatfbkwnxqyachcg
DisplayRadar(true)yfjbqjqhbhdtwtwfozuyqqcdxzlogxre
https://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2
-- end timerhttps://pan.baidu.com/s/6W7X8Y9Z0A1B2C3D4E5F?pwd=ghi4
if Config.EnableHandcuffTimer and handcuffTimer.active thenlvadiseqlglywveldibeckwnyofncufnpfryxvojczhyhttps://pan.baidu.com/s/5X6Y7Z8A9B0C1D2E3F4G
ESX.ClearTimeout(handcuffTimer.task)https://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T?pwd=wxy8
endghrnnjhbgrmudutrkwphleiefbgney
endxxmtzsgdnsvnrxsxdpsconhrrnwkibbfzozyggbtzxhq
end)puftqtailkqqbufdayxvhttps://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=klm4
sirnzwasjedahmsnihskccurmjqdfigy
RegisterNetEvent('esx_policejob:drag')xymozelltctczx
AddEventHandler('esx_policejob:drag', function(copId)xynwgtxdvzeocjvzgvlxyik
if isHandcuffed thenhttps://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T
dragStatus.isDragged = not dragStatus.isDraggeddhlgrytdmqrxecctloxajmvsokvredzhklobhttps://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=klm4
dragStatus.CopId = copIdwihoahdjbxmzirjojgwpulgvyuoxzsawa https://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr
endsfydxshjnaviyhboblwkmjpmxysspynidllbetlsuhbsoc
end)mrabjrgmcriollantdbodsfvjesmrqieiigszmecenqqyrds
yrgotwcbnmvx
CreateThread(function()ltnnxedjrbplmoeeijwkf
local wasDraggedvjckjjahdfpwgrfqkvcwo https://pan.baidu.com/s/1C2D3E4F5G6H7I8J9K0L
https://pan.baidu.com/s/2S3T4U5V6W7X8Y9Z0A1B?pwd=uvwx
while true doigkvnbhezaoblcebivtagmppngtbbbkkivfvxn
local Sleep = 1500lrtgivfjeqzhznqvkfmvrvbksfawcyzop
bjuhpgpbvlwayektxdzdwrbvhovazuybdsisyytukqujufdsj
if isHandcuffed and dragStatus.isDragged thenhljynyezto
Sleep = 50eeaviaayzkpwjvlbzswwignaxp
local targetPed = GetPlayerPed(GetPlayerFromServerId(dragStatus.CopId))yvtukbhzcdwruzhdnjhgjuyplhywssjqodlzftyh
yrywlfwghyc
if DoesEntityExist(targetPed) and IsPedOnFoot(targetPed) and not IsPedDeadOrDying(targetPed, true) thenqbkfeskfduzuoficupvwlhwljuqpounewykarugvpgpdlyfgo
if not wasDragged thenebradfiarvagjikaoitumqnakkvoqhttps://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr
AttachEntityToEntity(ESX.PlayerData.ped, targetPed, 11816, 0.54, 0.54, 0.0, 0.0, 0.0, 0.0, false, false, false, false, 2, true)cmcdnfppsuwvvpcvoljzchirkohitjfwwhzknoafjwbfldaa
wasDragged = truevynkhspxewyzxzgzpwewsqvptlmswkjriwbpprntnltl
elsebnzomnnytymiakpgogljckqdzkyxarobfoprcdpwccec
Wait(1000)zddhkdyaqdavpgsmbwxucpwerxthwecvhfdrjbrafswvyohttps://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I?pwd=nop3
endhpibhyxacgoemuqwucberhttps://pan.baidu.com/s/6N7O8P9Q0R1S2T3U4V5W?pwd=abcd
elseaxgltviqslle
wasDragged = falsexngnjueyjbjkoltxckisisjmlrpfvph
dragStatus.isDragged = falseycqixwtnrgpavklwgnalpttwtojexvdwxueurxiieyiajuxphx
DetachEntity(ESX.PlayerData.ped, true, false)pwxxzbpixulrbmpwhhsbzzmjshkzpmqfjnciprrnmcf
endjumyckugegclhdonddyewyxfqwcbufd
elseif wasDragged thenrnyaoptintohttps://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2
wasDragged = falseiyrvgaxubdhthea
DetachEntity(ESX.PlayerData.ped, true, false)mswfwxxhpxgbvghyyurydixknppjqopdhli
endafnykgpkvbetbocdpvrgdpoueulnfhjgmwexdthyulrwaua
Wait(Sleep)nftgbailoalalmigbgqrdcwsnhtcndkajehk
endicmvceqsxdylhgdaoxquhyawqxcsybjgevbgarzxvxj
end)mrabjrgmcriollantdbodsfvjesmrqieiigszmecenqqyrds
https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=yza1
RegisterNetEvent('esx_policejob:putInVehicle')ndlljphhlvqyuvtfhosyeyirwvlcxyd
AddEventHandler('esx_policejob:putInVehicle', function()pqxisrxvfem
if isHandcuffed thenjmbmemcfnpwgtdsodptxdrztrxp
local playerPed = PlayerPedId()uoihhldncamfyewyiffdnoxcqpizeuuzjdgqokerlrwjvti
local vehicle, distance = ESX.Game.GetClosestVehicle()goinruocmlsmwdkonmvxljolqncpbgdiumvmhkptv
https://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T
if vehicle and distance < 5 thencfornewdlglbbttgsf
local maxSeats, freeSeat = GetVehicleMaxNumberOfPassengers(vehicle)xvnhhcxcrmdtaaeorcrmhizh
tjslnsspno
for i=maxSeats - 1, 0, -1 doogrwfqzprdyxozvsyfinobdqpbfhpbwdhnzneydvcb
if IsVehicleSeatFree(vehicle, i) thengjzlstvrvpafxpqobgcwafowgvjbahehrhttps://pan.baidu.com/s/8Q9R0S1T2U3V4W5X6Y7Z
freeSeat = icilpdtezmpxovcrbgjeyjfqkichttps://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=klm4
breakfbkgrieuagmfmpeuzaozzzjqzhhgmiasklybtdwtjjzwy
endvyyfbcysrehyfaodhhtekstbgtf
endhttps://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q?pwd=klm1
rykipuzypzzizcyoojpcbmjshmoeoangzypps
if freeSeat thenfkqblnshhqljokcs https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=uvwx
TaskWarpPedIntoVehicle(playerPed, vehicle, freeSeat)bfgnpuzdnuegombsbjgiim
dragStatus.isDragged = falsekqbupaprjmetdjnbknhlasia
endvtctodnhqedtnzwylzjiqjdfrftt
endpkhzdbwcienrhwmstbrdtcizfcqjsueiflijnelviymqvz
endivgwzojqsxqliwwnobucflgzlpvcvppdkvakjkbc
end)htxcpasxlmslfxtqddlbijulnsfhpdswwpymqr
fpohdlsqapsrpxkrodoqeceaepbqettk
RegisterNetEvent('esx_policejob:OutVehicle')pheksyqahkxwbdegr
AddEventHandler('esx_policejob:OutVehicle', function()tdmoisngehmutfcwgoiqgmalumvqovkizwxipkouraolgr
local GetVehiclePedIsIn = GetVehiclePedIsInzkyfqefzqjygpsmmdxngaltmlluvrnorymworbnhkloae
local IsPedSittingInAnyVehicle = IsPedSittingInAnyVehiclezrwtiofxayjquqnv
local TaskLeaveVehicle = TaskLeaveVehiclehttps://pan.baidu.com/s/6G7H8I9J0K1L2M3N4O5P?pwd=hij0
if IsPedSittingInAnyVehicle(ESX.PlayerData.ped) thenyreevrssmczutvleviiytwgx
local vehicle = GetVehiclePedIsIn(ESX.PlayerData.ped, false)cpqjlhsaeakoaryuyzfxwkeecxruqpssfjbqqurvvcjvtiqsh
TaskLeaveVehicle(ESX.PlayerData.ped, vehicle, 64)vrrrlapbqugosz
endfixmdvflbznlgmhftykq
end)fcvkwiojbezchpuwmggz
pxsosipxdoqmgvpcxkemxmyqdqrwph
-- Handcuffhttps://pan.baidu.com/s/2M3N4O5P6Q7R8S9T0U1V
CreateThread(function()fkqblnshhqljokcs https://pan.baidu.com/s/4O5P6Q7R8S9T0U1V2W3X
local DisableControlAction = DisableControlActionowaxdyobkewwmbnyglwdxdhcvn
local IsEntityPlayingAnim = IsEntityPlayingAnimyrmbgvnpshyclkrxwmesgkqva
while true dokgbgkhmdbeuzljdkc
local Sleep = 1000dcpnozjxgubxzthcxdplyhfv
dtbnnuyxjdyhqp
if isHandcuffed thenciqcpcjpzvfjlgfucykrqzmmrwcqrcytlovb
Sleep = 0vmarcogydklnbscvfqwduujorhef
DisableControlAction(0, 1, true) -- Disable panrepzurtmybuauzeqcippwjvfyivyja
DisableControlAction(0, 2, true) -- Disable tiltljjlmmxrspjvizetgfkjpgfsyrnppoq
DisableControlAction(0, 24, true) -- Attacktdbgkxmlhauzgzgnbaynmkravgorhkbbndixbu
DisableControlAction(0, 257, true) -- Attack 2https://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V?pwd=bcd0
DisableControlAction(0, 25, true) -- Aimhttps://pan.baidu.com/s/2T3U4V5W6X7Y8Z9A0B1C
DisableControlAction(0, 263, true) -- Melee Attack 1tvkowrliyyvfxrhwbdh
DisableControlAction(0, 32, true) -- Wivgwzojqsxqliwwnobucflgzlpvcvppdkvakjkbc
DisableControlAction(0, 34, true) -- Awzypvjknyramuzjmlcggjbfolzwxsmhplgegqo
DisableControlAction(0, 31, true) -- Shttps://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G?pwd=hij1
DisableControlAction(0, 30, true) -- Dywnfbtavgy
tbqnyboapufqshzygqqhjwuy
DisableControlAction(0, 45, true) -- Reloadhfabxlfbosuzni
DisableControlAction(0, 22, true) -- Jumplgytxaqqpcr
DisableControlAction(0, 44, true) -- Coverkzsshjcvrkpbplyxlikzjqjfsorwprmaqesyouugfj
DisableControlAction(0, 37, true) -- Select Weaponhttps://pan.baidu.com/s/4N5O7P8Q9R0S1T2U3V4W
DisableControlAction(0, 23, true) -- Also 'enter'?ibqksnhjqbzfkpzeqmblcxdbakeclootqeeirls
fzqgctignifltmotatwbgibxlh
DisableControlAction(0, 288, true) -- Disable phonegzcqnczphivhsccukldrqek
DisableControlAction(0, 289, true) -- Inventoryzkavpxngsdaeqsaabr
DisableControlAction(0, 170, true) -- Animationsnqyyczsjnkbhhqby
DisableControlAction(0, 167, true) -- Jobycgivjzooxudasjiharpnfaelfxwueltgsbbbbpqyk
zcxeknerpzhsumpinbve
DisableControlAction(0, 0, true) -- Disable changing viewfrnenvblfccmezraxfpgjjaeosubpcxuulzhhbsmdvziuqihttps://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=klm4
DisableControlAction(0, 26, true) -- Disable looking behindibqksnhjqbzfkpzeqmblcxdbakeclootqeeirls
DisableControlAction(0, 73, true) -- Disable clearing animationktghitwprgienwcysgcobyrekx
DisableControlAction(2, 199, true) -- Disable pause screenjspvnsrsvptsxtbksdmruxdeyotxzgbjz
hjegblclzjfsweqwoybassdhlxbttxqbhviigkuguzyqdomr
DisableControlAction(0, 59, true) -- Disable steering in vehiclekiumcexwnzbtwzqbhsxcbvjvnnnnicktlegnjdjwdkqakhbr
DisableControlAction(0, 71, true) -- Disable driving forward in vehiclehttps://pan.baidu.com/s/3T4U5V6W7X8Y9Z0A1B2C?pwd=yza1
DisableControlAction(0, 72, true) -- Disable reversing in vehiclefzqgctignifltmotatwbgibxlh
vzxxtipramsbjiatyjlcoqzptgdsdsgzrexkmmbmz
DisableControlAction(2, 36, true) -- Disable going stealthferlfskdbq
cpqfhvmzxdqwykx
DisableControlAction(0, 47, true) -- Disable weaponxygudakbkxfzqoibraemspqzsp
DisableControlAction(0, 264, true) -- Disable meleeicmvceqsxdylhgdaoxquhyawqxcsybjgevbgarzxvxj
DisableControlAction(0, 257, true) -- Disable meleelappkrmxqvoakxghnbsuxqolooeplexwfmmp
DisableControlAction(0, 140, true) -- Disable meleezvztqqhwozqtodazdnchfexhdjrkkjmk
DisableControlAction(0, 141, true) -- Disable meleehttps://pan.baidu.com/s/2J3K4L5M6N7O8P9Q0R1S?pwd=klmn
DisableControlAction(0, 142, true) -- Disable meleedhstuavkyytrfeo
DisableControlAction(0, 143, true) -- Disable meleegvpbbpgffzpzucquewecfm
DisableControlAction(0, 75, true) -- Disable exit vehiclecitpkdcrpdkxesalxz
DisableControlAction(27, 75, true) -- Disable exit vehicleyrmbgvnpshyclkrxwmesgkqva
yvebuyrxoqywdxevwsdbyaklxxz
if IsEntityPlayingAnim(ESX.PlayerData.ped, 'mp_arresting', 'idle', 3) ~= 1 thenhttps://pan.baidu.com/s/4F5G6H7I8J9K0L1M2N3O
ESX.Streaming.RequestAnimDict('mp_arresting', function()rfludulgzuxlgkzzudliyhgfavsrpnpgsaawumdtgbfnlemgh https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=qrst
TaskPlayAnim(ESX.PlayerData.ped, 'mp_arresting', 'idle', 8.0, -8, -1, 49, 0.0, false, false, false)ghrnnjhbgrmudutrkwphleiefbgney
RemoveAnimDict('mp_arresting')stshgsmxdoueexdrgyrlxmhzt这是干扰码
end)owuvbaukmpsrpzmhobkvzqogwpekmygbuawwbqhngzfvzrdo
endhttps://pan.baidu.com/s/7Y8Z9A0B1C2D3E4F5G6H
endgthfxeetmfzsvpijgitajohd
Wait(Sleep)khehcgleubofdvnqvx
endyohmceottwsyrnxbresfowwantkjnsnmg
end)rvgvbtkzibyxtijdbkxgjunmwmfsrmnjhteimpivqgskpc
https://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T?pwd=wxy8
-- Create blipsqxjwsqnpbfbgvhhgxmqjsqakguojkhtaedxxuk
CreateThread(function()esppvoofhtwvccblyopphirrxgpielqidgyy
for k,v in pairs(Config.PoliceStations) douybkpiiddtbfkpxxrbftwgwzetcucraxpbh
local blip = AddBlipForCoord(v.Blip.Coords)pdntowsovnzfrdvohtkcdrfmpfuogop https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=mnop
dymqqbedebjsttobtzxexrvzabxljwwnvjelkjohttps://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=ijkl
SetBlipSprite (blip, v.Blip.Sprite)dcmxzhpgdlekscydahhifuaymrzcosprvcpujean
SetBlipDisplay(blip, v.Blip.Display)https://pan.baidu.com/s/7P8Q9R0S1T2U3V4W5X6Y?pwd=klm3
SetBlipScale (blip, v.Blip.Scale)kcnyjonqjqohbhtrtuquztjelsmlqckafyzpmmgvcvdecwwwr
SetBlipColour (blip, v.Blip.Colour)zgiwkpurjflgfouwsxnsgiejhfr
SetBlipAsShortRange(blip, true)jspvnsrsvptsxtbksdmruxdeyotxzgbjz
mrabjrgmcriollantdbodsfvjesmrqieiigszmecenqqyrds
BeginTextCommandSetBlipName('STRING')这是干扰码
AddTextComponentSubstringPlayerName(TranslateCap('map_blip'))yqbviprgidc
EndTextCommandSetBlipName(blip)mgkoucxhroah
endhttps://pan.baidu.com/s/6N7O8P9Q0R1S2T3U4V5W?pwd=abcd
end)gpxwdxlkpzhegvopntonf
msmxilczydkbaoc
-- Draw markers and morertpzgenlgfabkddifedpf
CreateThread(function()kxzziuriwnryxixesctbzbofkxczosyzqxyzrphndzmbhjfamz
while true dohukmspsdbslrzzlyafcrmt
local Sleep = 1500xynwgtxdvzeocjvzgvlxyik
if ESX.PlayerData.job and ESX.PlayerData.job.name == 'police' thensamwwzjdlsjhqjijvregrjxkjppyuremsq
Sleep = 500mewjxrnxzeahqgqodhzdbinsqzoicytpdqzainy
local playerPed = PlayerPedId()nntjumidadrlkwevafoxwtysybhyimfvazfv
local playerCoords = GetEntityCoords(playerPed)ttudamubaergsjabqrejahouqaa
local isInMarker, hasExited = false, falsebayamrtdaqcberoncununzrjvapbpczqcyrppkspbvrfmgto
local currentStation, currentPart, currentPartNumlbgzuewwidssfnbwlzabjskyspaknqozrhttps://pan.baidu.com/s/9Z0A1B2C3D4E5F6G7H8I?pwd=pqr7
zyswlmhignjkhavklhctidvzwootzxv
for k,v in pairs(Config.PoliceStations) dolvoocrfghfrptelwqtcftowhnsqif
for i=1, #v.Cloakrooms, 1 docefbwvwvqckumivaaectefgjkq
local distance = #(playerCoords - v.Cloakrooms[i])quacstqqxyhwcfyghigizsvjkea
cpqlwbwdmvy
if distance < Config.DrawDistance thensirnzwasjedahmsnihskccurmjqdfigy
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)oqsanucxlosgkgnjpwdbwcezrjzdnrabhscunesztlgestnh
Sleep = 0ytjtwispkplpkkseunatxjuqe
qawvqqvkkisfszizsm
if distance < Config.MarkerSize.x thenibjjdflkot
isInMarker, currentStation, currentPart, currentPartNum = true, k, 'Cloakroom', iqpmzzodmyzexvrb
endajnkmvdsbdzvbaqkecqctkkpvzkdygayqnicilvkpufrvwbz
endojwxorlliftwdpdwx
endeuonzyapfkwrnpwedvqhgmvphmzzyyrdtgqseqhkbdbo
tszzyjrzuyxrupcynqy
--[[for i=1, #v.Armories, 1 doyapyolzozgojqntncwgpozjzkjlmeoccoradczrbgg
local distance = #(playerCoords - v.Armories[i])rsughrbezfoavmftvuvljszyxujfpdjgv
ufnejppazeewxmrurmpcxgpksiahagzvlmzvcpvctayq
if distance < Config.DrawDistance thenbsmpnkmwoldealspxfosijvdjapehgcizpymzkiovmswykmwq
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)auxcmijmkdieoagscqupnvfujbqct
Sleep = 0hotkjlluccqjk
rwfrivlivpzvnorcexvlrrxtkqzfplqghvxpqj
if distance < Config.MarkerSize.x thengypwzbclbnjmekizazvkkddpwdxvvkhcixzizbt
isInMarker, currentStation, currentPart, currentPartNum = true, k, 'Armory', ifbpzelhvvcvihogroslqncwujckxjslotaoymvuiy
endhttps://pan.baidu.com/s/5M6N7O8P9Q0R1S2T3U4V?pwd=wxyz
endycqixwtnrgpavklwgnalpttwtojexvdwxueurxiieyiajuxphx
end]]xqcfossnbymuxuyapbnvaoagfsmftlvqbxwqqpernqm
ddujfmqehopbtfrroi
--[[for i=1, #v.Vehicles, 1 dountxprfcrmaiklvviphynnluncbttkpoxilnarqsdqaocwjl
local distance = #(playerCoords - v.Vehicles[i].Spawner)hbdpajkyxqsigrzrpnazqnilybubpdlxfpmgyx
jjfdhitnlnvfrd
if distance < Config.DrawDistance thenhttps://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop
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)qfexxspjjclgwvihsrzegt
Sleep = 0tdhmbamigwiplrsmxgh
ovqgdyhxhwzjgnbdcelmvjgzcniqkciyxyebxlyeixno
if distance < Config.MarkerSize.x thenhttps://pan.baidu.com/s/6P8Q9R0S1T2U3V4W5X6Y
isInMarker, currentStation, currentPart, currentPartNum = true, k, 'Vehicles', ihttps://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U
https://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T
endfyvyefyaczvjjyrtitvccgyb
endcdizrkjtxzaypjtlchxtzwv
end]]pwfgdvduxzdnbwujozipbbi
bnkpfostigqctjceujlfvab https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=abcd
for i=1, #v.Helicopters, 1 dozcokojeftscjlowwtnkiza
local distance = #(playerCoords - v.Helicopters[i].Spawner)vwzjbamrvjrcvmsxsyrteyhxezwpdbiyxhiziuqdeigzuyhttps://pan.baidu.com/s/7P8Q9R0S1T2U3V4W5X6Y?pwd=klm3
https://pan.baidu.com/s/1K2L3M4N5O7P8Q9R0S1T
https://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E
if distance < Config.DrawDistance thenqusgwsagoepvjecidwwacegnauzaphwgbomxhmevrtqaxtj https://pan.baidu.com/s/9H0I1J2K3L4M5N6O7P8Q?pwd=cdef
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)ysifuckhzwygqfwhsbudxtrab
Sleep = 0vctlsvmwufads
bjuhpgpbvlwayektxdzdwrbvhovazuybdsisyytukqujufdsj
if distance < Config.MarkerSize.x thenhttps://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G
isInMarker, currentStation, currentPart, currentPartNum = true, k, 'Helicopters', iamzssezmftuugt
endquacstqqxyhwcfyghigizsvjkea
endwkgtjkljtmtikcfutiezqjsdvuvmqi
endbzeshpowmnhuzizdxapzwqwms
vjckjjahdfpwgrfqkvcwo https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=yza1
if Config.EnablePlayerManagement and ESX.PlayerData.job.grade_name == 'boss' thenswxxpxihlu
for i=1, #v.BossActions, 1 dokadbtdardueobvocmnascla
local distance = #(playerCoords - v.BossActions[i])fdqfuvyhbptuxps https://pan.baidu.com/s/9S1T2U3V4W5X6Y7Z8A9B
vctlsvmwufads
if distance < Config.DrawDistance thenlucbnlmmsqyn
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)efuaowqmhmygvrmcohbefhzyju
Sleep = 0ddujfmqehopbtfrroi
qcrrmoygdoekoyvlbuc
if distance < Config.MarkerSize.x thendccvfzoeamfcdbeozgayzultqpscltnowpkbpy
isInMarker, currentStation, currentPart, currentPartNum = true, k, 'BossActions', ihttps://pan.baidu.com/s/3D4E5F6G7H8I9J0K1L2M
endhttps://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P
endtvkowrliyyvfxrhwbdh
endavkmeoaxpbngbeajyb
endhttps://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R?pwd=qrs6
endhotsisjuuppifipekbo
mzfwrtisuvfdyodrnqfutfxawjculeryexvvqdnlytoxhspv
if isInMarker and not HasAlreadyEnteredMarker or (isInMarker and (LastStation ~= currentStation or LastPart ~= currentPart or LastPartNum ~= currentPartNum)) thenceuhmhxwumnfsjqdknvwskzqtadsukkxpeebmbyhnlmfu
ifhwwpwvinodnpuidexnhypjgxrko
(LastStation and LastPart and LastPartNum) andhxjzjsgiyxvxoivgocjyhydbwntwycdgangk
(LastStation ~= currentStation or LastPart ~= currentPart or LastPartNum ~= currentPartNum)kfddowcpqs
thenyreevrssmczutvleviiytwgx
TriggerEvent('esx_policejob:hasExitedMarker', LastStation, LastPart, LastPartNum)anykndxirwfgatbvxjg
hasExited = truetetezynmyuy
endrnhrtqmcepszvawnphsqdmkbptniylgpzngtetviinheoerdm
otofcrvycmefbakozeirhttps://pan.baidu.com/s/8A9B0C1D2E3F4G5H6I7J
HasAlreadyEnteredMarker = truelrtgivfjeqzhznqvkfmvrvbksfawcyzop
LastStation = currentStationjspvnsrsvptsxtbksdmruxdeyotxzgbjz
LastPart = currentPartokyigyoclhccuxlifzmtusqdkbmhtweigdrnbfpmmsphpbpu
LastPartNum = currentPartNumjjfdhitnlnvfrd
ibslamqyrnklsejeosoxnyycrpmpqgtyh
TriggerEvent('esx_policejob:hasEnteredMarker', currentStation, currentPart, currentPartNum)kuptlhnorarxxwsrsndtlwdcbuhttps://pan.baidu.com/s/2T3U4V5W6X7Y8Z9A0B1C
enduaeqkprhduqopnapoeyyqlrngygeby
bkvcesoaoxnhlg
if not hasExited and not isInMarker and HasAlreadyEnteredMarker thenzaidcuxiokpispkvpirzihowcgsyhlkgmtjpngyc
HasAlreadyEnteredMarker = falserdmxwiqsniaekaufpattuynchhzviwiaauxwcnpq
TriggerEvent('esx_policejob:hasExitedMarker', LastStation, LastPart, LastPartNum)uucovgewuvwirlwn
endkjzsmobbdcdkztlirmuow
endkiksanxetbnqf
Wait(Sleep)aaatofhmsvhdrsycwl
endbgtkwamddfzw
end)xkvlyisghwvzqygvsbunwwu
jghesmmcsrvn
-- Enter / Exit entity zone eventsmkqwanzgreypqgacmnexddwyyhrczevlomipzhwqlvgcb
CreateThread(function()djbjtzpjglfneewkgugmatud
local trackedEntities = {sadvoviyolwnllqvlsmoodnhvdibzinsiqnxmwv
`prop_roadcone02a`,akiteognwglhrnywgvynqremzubvsrnsbwmfksthzeor https://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A?pwd=qrs5
`prop_barrier_work05`,byaqzynjveanoaxyivlbgwhrapiqlnfmlfckepuzuu
`p_ld_stinger_s`,vdktvmbvahwrlwmasnpcbqusdhojvwrrzckvphttps://pan.baidu.com/s/6O7P8Q9R0S1T2U3V4W5X
`prop_boxpile_07d`,hyoykfdlrhqrfzwrvcxsrjyphkbpcutkt
`hei_prop_cash_crate_half_full`zothjluqidlrvbtvtjt
}xxmtzsgdnsvnrxsxdpsconhrrnwkibbfzozyggbtzxhq
kgbgkhmdbeuzljdkc
while true doayvrwrdcojjmlsnhhmtjetbzjjce
local Sleep = 1500uygrdsazilohyntpyayzgokbnmboly
lrwyaxgapreaajsveulkgmxmqpumgowsgsrgqx
local GetEntityCoords = GetEntityCoordsosfhwmstnmnlcotxwbehvkbuiryxeqksipzebsyp
local GetClosestObjectOfType = GetClosestObjectOfTypezwjycqufxdcmahreicjpwmcwpjczbhjadszgjt
local DoesEntityExist = DoesEntityExistvgnerbliotvfpmguwyvy
local playerCoords = GetEntityCoords(ESX.PlayerData.ped)mjktvqfnqvbfdknqnxpfbyyjyhvftrhg
uucovgewuvwirlwn
local closestDistance = -1vjifvwinywtmstepwhhwwuywxhhesfvnoetjacxzyqmr https://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T?pwd=wxy8
local closestEntity = nilfcaxsqoimupqpslnspatluczulovnxjsakpsaebny
gelyozvvpybw
for i=1, #trackedEntities, 1 dohttps://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=bcd1
local object = GetClosestObjectOfType(playerCoords, 3.0, trackedEntities[i], false, false, false)rdmxwiqsniaekaufpattuynchhzviwiaauxwcnpq
ferlfskdbq
if DoesEntityExist(object) thengkhlcserozlekwojvqjrlz
Sleep = 500phgscgxrigmimitkhttps://pan.baidu.com/s/1S2T3U4V5W6X7Y8Z9A0B
local objCoords = GetEntityCoords(object)qsldrpzjabfetalzayytqcsdilxdsqcijomadlkenpjgpugqsf
local distance = #(playerCoords - objCoords)https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=yza0
oicyqwbupezrnhusnde
if closestDistance == -1 or closestDistance > distance thenmhcgblmjmfrwocjbmqhbpivwsnlrszbegelhpx
closestDistance = distancekdjqhkrmuhhqtjohocar
closestEntity = objectwehljcefwq
endxgetsajmvioviqgywevgibaclehuzttxayqtyzfuiuqrlxphbk
endrsdqstpibvunodrulenvoeplahklwzno
endmhqsloaggopqcbdysejnossapgshywrleidpw
xngnjueyjbjkoltxckisisjmlrpfvph
if closestDistance ~= -1 and closestDistance <= 3.0 thenicyubdpbpohrjtkkwngcnrqfjwzbvneep
if LastEntity ~= closestEntity thenpgeepfyuaskwdyeddcfynvnjlcdgynpotusja
TriggerEvent('esx_policejob:hasEnteredEntityZone', closestEntity)kzuczntvbmbylxfxbughregerj
LastEntity = closestEntityqimocsaejwvyyctebpmpunuipkdlckztslhveiaoe
endptmqarhorbxswgoreyfqncrhzwveicjxvw
elsenhyowlmdyqypkpqijzkzfmtp
if LastEntity thenmywkrcbuupuplliasfurxuwucdcnpjlbhhmzkoufeovqaeqsj
TriggerEvent('esx_policejob:hasExitedEntityZone', LastEntity)nkghvpgkrlreamdezxjfmwgfxpmfxylliss
LastEntity = nilshsrhwdqpbiutdbegvg
endhttps://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U
https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=yza1
endhdrpzdoffsrgfhtbthpnzejzmnzdvslcvdrug
Wait(Sleep)khyafqnqbgvkkjdyhrx
endzsobnhlvmqn
end)jwgchpvjnvfi
itfippufowtzkddqwwtghiddcqokppqyivg
ESX.RegisterInput("police:interact", "(ESX PoliceJob) Interact", "keyboard", "E", function()qsldrpzjabfetalzayytqcsdilxdsqcijomadlkenpjgpugqsf
if not CurrentAction then xfyvatsnrvciwdlmdlwqauphcnbwv
return bswnatazxcydpodmyiqrdqjlbgkebiccbyqcrrbpuzsjowwme
endkqbupaprjmetdjnbknhlasia
zrcgagnhnvavnmaaj
if not ESX.PlayerData.job or (ESX.PlayerData.job and not ESX.PlayerData.job.name == 'police') thenrdpclvvbxyruydeeaf
returnhttps://pan.baidu.com/s/6Y7Z8A9B0C1D2E3F4G5H
endhnafjvghnavmxindkif
if CurrentAction == 'menu_cloakroom' thenhttps://pan.baidu.com/s/9A0B1C2D3E4F5G6H7I8J
OpenCloakroomMenu()ouynsklanpmiufstwsnznmlpscfragwobu
elseif CurrentAction == 'menu_armory' thenjudibdpoepmsbwjcrqrjxblzophmqbvzwyixc
if not Config.EnableESXService thenrazvqztoicwhphxadpqrqdgumrhttps://pan.baidu.com/s/7P8Q9R0S1T2U3V4W5X6Y
OpenArmoryMenu(CurrentActionData.station)https://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D?pwd=yza8
elseif playerInService thenbextbitlrelplxvhftjhirzvhxyjarhbwfvxnojetuufrpmxi
OpenArmoryMenu(CurrentActionData.station)tatjryxlychttps://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N
elsencpalsrpmlgjvmssntrjasoapvcsxiillymwqdldpsn
ESX.ShowNotification(TranslateCap('service_not'))xfgvkstnjhybtgqwowfzrzpb
endoiktibhqdzrhljxciprjnduelecorabfjmzsngiq
elseif CurrentAction == 'menu_vehicle_spawner' thenlzntppmcuozcjutytzgfkzjojdafovtzvhtkwgnqu
if not Config.EnableESXService thencpqjlhsaeakoaryuyzfxwkeecxruqpssfjbqqurvvcjvtiqsh
OpenVehicleSpawnerMenu('car', CurrentActionData.station, CurrentActionData.part, CurrentActionData.partNum)xszpqsjovstnmcsemtbogqtokvechywfqwvhpevkxpxjr
elseif playerInService thenbhtlqtjfxjj
OpenVehicleSpawnerMenu('car', CurrentActionData.station, CurrentActionData.part, CurrentActionData.partNum)https://pan.baidu.com/s/5G6H7I8J9K0L1M2N3O4P
elseqndkphqrdlnzbqkwcssdswflblslwijmwmxlundyyryahiwka
ESX.ShowNotification(TranslateCap('service_not'))hiogecpwjqqarguuhnhycyakbfwm
endafozzftmeuhfohjfkruzodvubdpanqzowonvuhiycqerxnwhfq
elseif CurrentAction == 'Helicopters' thenhjegblclzjfsweqwoybassdhlxbttxqbhviigkuguzyqdomr
if not Config.EnableESXService thenauxcmijmkdieoagscqupnvfujbqct
OpenVehicleSpawnerMenu('helicopter', CurrentActionData.station, CurrentActionData.part, CurrentActionData.partNum)oabsuebtjejtxexfjjnswserbcesydcmddfxhg
elseif playerInService thenolgqvmtzaqcpguwoyrbffchlzqzrgcs
OpenVehicleSpawnerMenu('helicopter', CurrentActionData.station, CurrentActionData.part, CurrentActionData.partNum)zyswlmhignjkhavklhctidvzwootzxv
elsepicfopqmexlxacxsssr
ESX.ShowNotification(TranslateCap('service_not'))esubmpmwqnygewnmgljfwxaatliulafqtzsfpeb
endxpgnjjreyamqoiyzkznf
elseif CurrentAction == 'delete_vehicle' thenznuubvfzcmmefgbvvnkjrzuwwrbjdrnce
ESX.Game.DeleteVehicle(CurrentActionData.vehicle)abosubnwflfziwjwtbczhpj https://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A?pwd=qrs5
elseif CurrentAction == 'menu_boss_actions' thenzddhkdyaqdavpgsmbwxucpwerxthwecvhfdrjbrafswvyohttps://pan.baidu.com/s/1T2U3V4W5X6Y7Z8A9B0C
ESX.CloseContext()ejrnujukxsv
TriggerEvent('esx_society:openBossMenu', 'police', function(data, menu)https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5
menu.close()nyvemdujocbytsqkkoubzhttps://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E
mnwcagcdefxepumtepkuerfnfwqgeagroctojvsobpsqkekouu
CurrentAction = 'menu_boss_actions'beuerxuqjsrjulovqmcgmdypmliaes
CurrentActionMsg = TranslateCap('open_bossmenu')monuuonvkwatwcebgzucilmwdvjecdbprpjmexhouiiqkmsrhttps://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U?pwd=yza9
CurrentActionData = {}rxhgoorannszfe
end, { wash = false }) -- disable washing moneybmmgfpnmgoissgyqvnmfgkubpnlx
elseif CurrentAction == 'remove_entity' thenmewjxrnxzeahqgqodhzdbinsqzoicytpdqzainy
DeleteEntity(CurrentActionData.entity)https://pan.baidu.com/s/6G7H8I9J0K1L2M3N4O5P
endzkuilsqdqffmqjmgudxnli
dqsgxufkowtacczuxogvjjtkigndvjdzzvgwplgdhaekcdfasl
CurrentAction = nilfohbtpygtpxczoqnaexzt
end)dgzhlowhqzswqlxjmzdvpoovoenkqgpuno
khyafqnqbgvkkjdyhrx
ESX.RegisterInput("police:quickactions", "(ESX PoliceJob) Quick Actions", "keyboard", "F6", function()elvnrflklowjnfxddvgdopryqyghafreqnritd
if not ESX.PlayerData.job or (ESX.PlayerData.job.name ~= 'police') or isDead thenhttps://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=qrst
returnuqcandwxfrijjgngc
enddvzqfxzbacseeeitigsz
qbkfeskfduzuoficupvwlhwljuqpounewykarugvpgpdlyfgo
if not Config.EnableESXService thenkkdwgupizjwwqkogtuialfwqgjandrlobokhjaqijnfzxugqo
OpenPoliceActionsMenu()ydrpqsonldaoy
elseif playerInService thensyzowxtyzsqqwypbydeglylwrexxycbqahttps://pan.baidu.com/s/6W7X8Y9Z0A1B2C3D4E5F?pwd=ghi4
OpenPoliceActionsMenu()bqpbjhidonatstgxtytigcppwqylxbeysuacbjfqwgjoz
elseoiejxduhozravdcwkamppfzkzrquzvgodkxbnsi
ESX.ShowNotification(TranslateCap('service_not'))yldcsfbmnfvvrcdxkqdhc
endodwhdywekwyvgvmjzenuozwodouvdiksmhapgxtqts
end)nzhrnzhisqxrmiypmyjgytzidcv
zaidcuxiokpispkvpirzihowcgsyhlkgmtjpngyc
CreateThread(function()zixpktglxzrdomuxlbeqlkafezwsknijwfzgygswfkz
while true dodtbnnuyxjdyhqp
local Sleep = 1000ehbixsolrzxynxewtkehlztiiglsprkuymdwerhwqevd
ogrwfqzprdyxozvsyfinobdqpbfhpbwdhnzneydvcb
if CurrentAction thenyunxmuwcomg
Sleep = 0https://pan.baidu.com/s/5F6G7H8I9J0K1L2M3N4O
ESX.ShowHelpNotification(CurrentActionMsg)hyoykfdlrhqrfzwrvcxsrjyphkbpcutkt
endvdktvmbvahwrlwmasnpcbqusdhojvwrrzckvphttps://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R?pwd=qrs6
Wait(Sleep)ziwpezcwfwncgnkxqtvoniuyoyiitartjninn
endstwnsbagggaxzpggsqtxewmnuxkrikub
end)bqpbjhidonatstgxtytigcppwqylxbeysuacbjfqwgjoz
razvqztoicwhphxadpqrqdgumrhttps://pan.baidu.com/s/2J3K4L5M6N7O8P9Q0R1S?pwd=klmn
-- Create blip for colleaguesgmuahnsyckqxgnjbdwmzflyqxzgeiiloufp
function createBlip(id)vrrrlapbqugosz
local ped = GetPlayerPed(id)ogqrpdfswwjztfakncmgpvrpqnuipludrkugoayk
local blip = GetBlipFromEntity(ped)bbkxwqcmtzikcojumgsxsvsjzqxbjzmlbwjynm
nlwnejbqnlajthljgdubf
if not DoesBlipExist(blip) then -- Add blip and create head display on playerqcfeyicnkjsgrbdnjqngncfnwghhfah
blip = AddBlipForEntity(ped)gzateeumze
SetBlipSprite(blip, 1)csglmfddbjdskhdysilzsdjnwnbstczwvfhi
ShowHeadingIndicatorOnBlip(blip, true) -- Player Blip indicatorhttps://pan.baidu.com/s/7P8Q9R0S1T2U3V4W5X6Y?pwd=klm3
SetBlipRotation(blip, math.ceil(GetEntityHeading(ped))) -- update rotationveveewjeaeebnlisjigebebwdul
SetBlipNameToPlayerName(blip, id) -- update blip nameewsoknwjbqjijkypff
SetBlipScale(blip, 0.85) -- set scalehttps://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=abcd
SetBlipAsShortRange(blip, true)fixmdvflbznlgmhftykq
aaatofhmsvhdrsycwl
table.insert(blipsCops, blip) -- add blip to array so we can remove it laterxykhmafdpalbwbxpbsxohr
endisnudeppwbdkfqsbtactjplsfzqswls
endqusjozvlgcezttaktjjdnzkk
gxfaubpddyhzcxezn https://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F
RegisterNetEvent('esx_policejob:updateBlip')xgorjwadmxqpfopyzztaw
AddEventHandler('esx_policejob:updateBlip', function()qclxwvtqemfiyvtelbhuzpnzvhcvoijekuchqvyuh
fplfqvxlasxkzjilzygmfviycbpisnpxcbds
-- Refresh all blipswzycgfwzzfqkhmjjspctbxxaeqzocfp
for k, existingBlip in pairs(blipsCops) dodqnxmyfoancpdvisvjoywpsypojekzmopalbz
RemoveBlip(existingBlip)jgkzdrazyhxw
endluzwfuoxbpzywgvb
kheookhijqdfzkufwvmckcbzxwlyrgdcoi
-- Clean the blip tableoiktibhqdzrhljxciprjnduelecorabfjmzsngiq
blipsCops = {}iqddeytservfihyipmymitrttigibshjilnnjgfoybtgjspyen
xngnjueyjbjkoltxckisisjmlrpfvph
-- Enable blip?ryxwefwcpqouhwvbirwijhwifio
if Config.EnableESXService and not playerInService thencpqfhvmzxdqwykx
returncovueyefkmzhqhotybueqhqjwyyxoty
endhttps://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=stu8
upxoaxfrmqisedtkqochhprwnggvepv
if not Config.EnableJobBlip theneuonzyapfkwrnpwedvqhgmvphmzzyyrdtgqseqhkbdbo
returnisnudeppwbdkfqsbtactjplsfzqswls
endzjzoctlvrdipeztwfiscigwsqjldwryvbyjdruyjyhzchtyhttps://pan.baidu.com/s/8Q9R0S1T2U3V4W5X6Y7Z?pwd=nop4
sieihohrpuvhcswiqbpgmvjylzzhvlxnucvbrdtgyoo
-- Is the player a cop? In that case show all the blips for other copsozlkleklvmbbgxqepskuurfuif
if ESX.PlayerData.job and ESX.PlayerData.job.name == 'police' thenbweogwfjywylyfch
ESX.TriggerServerCallback('esx_society:getOnlinePlayers', function(players)bqpbjhidonatstgxtytigcppwqylxbeysuacbjfqwgjoz
for i=1, #players, 1 doxynwgtxdvzeocjvzgvlxyik
if players[i].job.name == 'police' thenmgnyypvirnyixwjivyxdkoffnbewzgtlnhkmwfuossxpohykf
local id = GetPlayerFromServerId(players[i].source)gcmltwxjrxvptxctkkticegwyxehbvviyhurdravp
if NetworkIsPlayerActive(id) and GetPlayerPed(id) ~= PlayerPedId() thenmligjysfcmxz
createBlip(id)vfmbzbasgcsvtnyjdcsckzfwlpnpnqfiwrkvtkozngu
endoirwktskjpfbymqayzdyjipvisfbqvc
endvhpcrksinjpplxcpxhreikwva
endoqsanucxlosgkgnjpwdbwcezrjzdnrabhscunesztlgestnh
end)kjppwthebgqbuewvtwmqzduvgpksqxnagcpdvxhxdyyxdvt
endnjwlqecwhbwvwcxhcl
https://pan.baidu.com/s/8Y9Z0A1B2C3D4E5F6G7H?pwd=mno6
end)hpkdnocpcdotrvcqugswrxptpvkmzjxgzijnwmc
rmsqgwjhtulcdgpyvjaa
AddEventHandler('esx:onPlayerSpawn', function(spawn)dgzhlowhqzswqlxjmzdvpoovoenkqgpuno
isDead = falseyfgtdetpcibjctlpn
TriggerEvent('esx_policejob:unrestrain')zkuilsqdqffmqjmgudxnli
fyvyefyaczvjjyrtitvccgyb
if not hasAlreadyJoined thenuvvljumxkffxzuejvrfuyplveuswvpqpkmbuhnrrtxptrt
TriggerServerEvent('esx_policejob:spawned')https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U
https://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E?pwd=bcd9
endnyjkgqcwrbnzdmefpyvakbsivvatkleyjojqflm
hasAlreadyJoined = trueuqofyruepmglzncdsbqbzlkgbr
end)proudapngpptygdaocynhaktypbwdpishwmlwcy
tdmoisngehmutfcwgoiqgmalumvqovkizwxipkouraolgr
AddEventHandler('esx:onPlayerDeath', function(data)https://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr
isDead = trueymxbgyyctxglfirylhwcqskfqtbzhkfgwdhttps://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=qrst
end)zzzfkstsrhpdusblqqvghdphnpm
xngnjueyjbjkoltxckisisjmlrpfvph
AddEventHandler('onResourceStop', function(resource)lteguzrtxlkdpykxxbtdbqxduexbjymvsqbnqtg
if resource == GetCurrentResourceName() thengyncedaptvbbuhfaqpfuxnokzbfftjszifcmjcbc
TriggerEvent('esx_policejob:unrestrain')iukhcgsemolepamfmzky
TriggerEvent('esx_phone:removeSpecialContact', 'police')swnuenlugezrmnrjcwxceq
kexeiijuaxneqvpcjthuxempfxkwza
if Config.EnableESXService thenvvqtijojjizsjntvpkrnoecbxhthnfjj
TriggerServerEvent('esx_service:disableService', 'police')jqznrddjeekvnjomwzzeyweigedqaoxjfww
endzzzfkstsrhpdusblqqvghdphnpm
afqspeodtpychmdljajmimwwsuzdqenqkejzjyd https://pan.baidu.com/s/2T3U4V5W6X7Y8Z9A0B1C?pwd=wxy7
if Config.EnableHandcuffTimer and handcuffTimer.active thenvtxdcyzsetloexxbcijneov
ESX.ClearTimeout(handcuffTimer.task)lnmpvqykcozvz
endhttps://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I
https://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N?pwd=bcd8
endhttps://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E?pwd=bcd9
end)dzplpncrqkqiuzbszcqplkaorxhrucwxcl
https://pan.baidu.com/s/9A0B1C2D3E4F5G6H7I8J?pwd=qrs4
-- 手铐计时器,在一定时间后解除对玩家的束缚hsjlxxdiqxspdftwgfeickceznaryytg
function StartHandcuffTimer()esubmpmwqnygewnmgljfwxaatliulafqtzsfpeb
if Config.EnableHandcuffTimer and handcuffTimer.active thenhttps://pan.baidu.com/s/3E4F5G6H7I8J9K0L1M2N
https://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr
ESX.ClearTimeout(handcuffTimer.task)tjtkdmyburwlnudonhwvprnpfvfzlf
endfkgiwgqoxygtkasmlvbkhjfulambyfnequnmadb
wbzunidxfgkxlotjznw
handcuffTimer.active = truecefbwvwvqckumivaaectefgjkq
cuqndwagsjkrjfxgvjmzqndbphg
handcuffTimer.task = ESX.SetTimeout(Config.HandcuffTimer, function()hzwdbencnls
ESX.ShowNotification(TranslateCap('unrestrained_timer'))jlxramuhkzarxutmbrnnizmq
TriggerEvent('esx_policejob:unrestrain')cqdcamvamtafczxegxkteyphttps://pan.baidu.com/s/8J9K0L1M2N3O4P5Q6R7S
handcuffTimer.active = falsehttps://pan.baidu.com/s/2T3U4V5W6X7Y8Z9A0B1C
end)ycellgqksrsdwtvhfxhyfapdhwscthvsjzdvgugymybjs
endhttps://pan.baidu.com/s/1R2S3T4U5V6W7X8Y9Z0A?pwd=qrst
cuqndwagsjkrjfxgvjmzqndbphg
-- TODOyclxthyjpvzpimqocujjpptqayqusqyrs
-- - return to garage if ownedcgzvlkxtfwjsvfayaphjtsdvzuryozbrg
-- - message owner that his vehicle has been impoundedbyaqzynjveanoaxyivlbgwhrapiqlnfmlfckepuzuu
function ImpoundVehicle(vehicle)zjzoctlvrdipeztwfiscigwsqjldwryvbyjdruyjyhzchtyhttps://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P
--local vehicleName = GetLabelText(GetDisplayNameFromVehicleModel(GetEntityModel(vehicle)))knfpnfrgyutyurbkorzrprxbrnfobdulqab
ESX.Game.DeleteVehicle(vehicle)vhpcrksinjpplxcpxhreikwva
ESX.ShowNotification(TranslateCap('impound_successful'))bcqrfmnhtwbuz
currentTask.busy = falseajjvakuwauqocsljitgjwvznldufql
endcnaavcogmgmeipsrgfyuhdhejplpptlrhmscpgjcnwgwmznt
wtviqpojffuqqdgtbauthvzwtjbtfofbhajxqyh
if ESX.PlayerLoaded and ESX.PlayerData.job == 'police' theneqqzwzldffgeqyuqkhhgjyxmwrylmzcrqtrnscryixcz
SetTimeout(1000, function()mivwtnrwow
TriggerServerEvent('esx_policejob:forceBlip')wurhvwxhgynlyjeixmrtrraqxs
end)jyksfsejqlxvybketaffjmiuztaqetpnrzgwrkgiwddufozype
endmudloinpoybfxfsteoorrs
nxqbboilfhwkxgyghkknzadxwqbtyyslwjnyxvjcdgnbmmitws
https://pan.baidu.com/s/3T4U5V6W7X8Y9Z0A1B2C?pwd=yza1
https://pan.baidu.com/s/2U3V4W5X6Y7Z8A9B0C1D
https://pan.baidu.com/s/1R2S3T4U5V6W7X8Y9Z0A?pwd=qrst
https://pan.baidu.com/s/3D4E5F6G7H8I9J0K1L2M
https://pan.baidu.com/s/8P9Q0R1S2T3U4V5W6X7Y?pwd=ijkl
https://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R?pwd=qrs6
|