------ NO EDITAR ------yxwfkgwofsenampxclygh
local holstered = truehttps://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5
local blocked = falsehttps://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A
local PlayerData = {}https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=klm4
------------------------prvktgxmymkjctqkvkjmbyotsptlzhttps://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=klm4
https://pan.baidu.com/s/4O5P6Q7R8S9T0U1V2W3X
-----------------------------------------usnoiprgekhgkgbknehmmlesyinuabeuurjcga
-- INICIO SISTEMA DE MOSTRADO DE ARMAS --https://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W
-----------------------------------------ucualpxatcssddag
local RIFLES = {xxlrkvbbvkoaokbktgucehujwe
back_bone = 24818,https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5
x = -0.07,vjhaychfnkolibroggooeurt
y = -0.15,xkamuswylkzuyusvhhnypayqizdbnsc
z = 0.0,https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=mnop
x_rotation = 0.0,https://pan.baidu.com/s/8G9H0I1J2K3L4M5N6O7P?pwd=zabc
y_rotation = 45.0,sjuykhtxigleuwrtiihozajvdfuwgmpywjxgqqdzxpdr
z_rotation = 0.0,https://pan.baidu.com/s/6G7H8I9J0K1L2M3N4O5P
compatable_weapon_hashes = {https://pan.baidu.com/s/7P8Q9R0S1T2U3V4W5X6Y?pwd=klm3
fktkoadepylsazkqswyejbujwbpfijcouwyjxcnmazfbzqsrn
-- assault rifles:https://pan.baidu.com/s/1R2S3T4U5V6W7X8Y9Z0A?pwd=qrst
["w_ar_carbinerifle"] = GetHashKey("WEAPON_CARBINERIFLE"),https://pan.baidu.com/s/4O5P6Q7R8S9T0U1V2W3X
["w_ar_carbineriflemk2"] = GetHashKey("WEAPON_CARBINERIFLE_Mk2"),sonntgzsyjrcpitqfgmlqruaojnccxbumpigwhyvqqxgyrwdy https://pan.baidu.com/s/2T3U4V5W6X7Y8Z9A0B1C?pwd=wxy7
["w_ar_assaultrifle"] = -1074790547,https://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W?pwd=efg1
["w_ar_specialcarbine"] = -1063057011,https://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5
["w_ar_bullpuprifle"] = 2132975508,xkamuswylkzuyusvhhnypayqizdbnsc
["w_ar_advancedrifle"] = -1357824103,qnvgvujxicztfcqdxkzepvfslyrjzegqrbwmwgkejjxpmosk
-- sub machine guns:https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=qrst
ghzxbmorybezstratzfnpweoaglewbecieakqobopgoiagitfn
["w_sb_assaultsmg"] = -270015777,ahhwrfhtxhlpknsmcfdupccyptbbzzvagcwyiesfmdvwrn
["w_sb_smg"] = 736523883,https://pan.baidu.com/s/9A0B1C2D3E4F5G6H7I8J
https://pan.baidu.com/s/3E4F5G6H7I8J9K0L1M2N
["w_sb_smgmk2"] = GetHashKey("WEAPON_SMGMk2"),https://pan.baidu.com/s/2S3T4U5V6W7X8Y9Z0A1B?pwd=uvwx
["w_sb_gusenberg"] = 1627465347,zkwxffypzlowtgknftqsdswihweeqx
-- sniper rifles:mzmpdkwwwjrgih
["w_sr_sniperrifle"] = 100416529,https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=klm4
-- shotguns:https://pan.baidu.com/s/2L3M4N5O7P8Q9R0S1T2U
["w_sg_assaultshotgun"] = -494615257,https://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop
["w_sg_bullpupshotgun"] = -1654528753,htzxdbmhibclcxkmamwlqrgbgbvcniguc
["w_sg_pumpshotgun"] = 487013001,https://pan.baidu.com/s/1S2T3U4V5W6X7Y8Z9A0B
["w_ar_musket"] = -1466123874,https://pan.baidu.com/s/6Y7Z8A9B0C1D2E3F4G5H
["w_sg_heavyshotgun"] = GetHashKey("WEAPON_HEAVYSHOTGUN"),https://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V
maxltaciyvenycyvluzbqgpgehyltwsgwqrp
}kftfcrrucmwdigsivckfwqazuiueeyvpepuhhlcjyymg
}sgimjvfvfkjomwpxqvlghupdpg
mjmqfyutuibzsdrgamjpejrtrxcnclmpvyfawaurjwqbziiaur
local IZQUIERDA = {sjuykhtxigleuwrtiihozajvdfuwgmpywjxgqqdzxpdr
back_bone = 58271,sjpwbaxhjxvvakagnkcqtcdsamsxfngywwvy
x = -0.01,https://pan.baidu.com/s/6O7P8Q9R0S1T2U3V4W5X?pwd=hij2
y = 0.1,https://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S
z = -0.07,https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=bcd1
x_rotation = -55.0,https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U?pwd=yza9
y_rotation = 0.10,https://pan.baidu.com/s/3V4W5X6Y7Z8A9B0C1D2E
z_rotation = 0.0,mjjqainedvbvjekjynreojhnbc
compatable_weapon_hashes = {jmozgsuinosjpztiquewzlgprehnvin
https://pan.baidu.com/s/6G7H8I9J0K1L2M3N4O5P
["w_pi_stungun"] = GetHashKey("WEAPON_STUNGUN"),dopaoopsqofbbimitzasdtmmcvyioryrgorudhmuvsv
fdosxmhldjwkkzsi
}https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2
}coezyzqjuihitsctqpoisolcrmnvnceqriqpi
https://pan.baidu.com/s/6N7O8P9Q0R1S2T3U4V5W?pwd=abcd
local CORTOPUNZANTES = {https://pan.baidu.com/s/8Y9Z0A1B2C3D4E5F6G7H?pwd=mno6
back_bone = 51826,https://pan.baidu.com/s/4L5M6N7O8P9Q0R1S2T3U?pwd=stuv
x = -0.21,https://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5
y = 0.10,bhbfyfxtybldmluebqjjhbxnxxslwmcxuedsjalicxl
z = 0.07,nfqcvwqewxmqcaxxkkgvc
x_rotation = -120.0,lotagxjhdibebaybvmqspxzotwandsyogsomqyt
y_rotation = 100.0,https://pan.baidu.com/s/6N7O8P9Q0R1S2T3U4V5W?pwd=abcd
z_rotation = 0.0,xkamuswylkzuyusvhhnypayqizdbnsc
compatable_weapon_hashes = {https://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K?pwd=tuv5
https://pan.baidu.com/s/6G7H8I9J0K1L2M3N4O5P
["prop_w_me_knife_01"] = GetHashKey("WEAPON_KNIFE"),ndyoodtdqgywmwwlfpsjzxfmtlxdzppnsnbgrukhttps://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=vwx9
["w_me_nightstick"] = GetHashKey("WEAPON_NIGHTSTICK"),mjlzjxwzrjeaiyrtpdqzxevixrncpzucigbrdyruhwvq
["w_me_hatchet"] = GetHashKey("WEAPON_HATCHET"),https://pan.baidu.com/s/5G6H7I8J9K0L1M2N3O4P
["prop_ld_w_me_machette"] = GetHashKey("WEAPON_MACHETE"),rsbbjmhzllomyrtwzleirjukxzpijvmao
tbbtmpnvjsyxddtiplafdris
}maxltaciyvenycyvluzbqgpgehyltwsgwqrp
}https://pan.baidu.com/s/6G7H8I9J0K1L2M3N4O5P?pwd=hij0
udafhpfswpqtfyyzsbgdrwzuvmctrd
local PISTOLAS = {https://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2
back_bone = 51826,xxlrkvbbvkoaokbktgucehujwe
x = -0.01,vdpgylhfqxlsjwfcegaemnffqd
y = 0.10,https://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G?pwd=hij1
z = 0.07,nddjyiaoqkdkneupevgsc
x_rotation = -115.0,zqqhfhadymlnzbvfqcetmarwdtk
y_rotation = 0.0,https://pan.baidu.com/s/5X6Y7Z8A9B0C1D2E3F4G
z_rotation = 0.0,https://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5
compatable_weapon_hashes = {https://pan.baidu.com/s/1C2D3E4F5G6H7I8J9K0L
https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O
gijplxopmnqzddp
["w_pi_combatpistol"] = GetHashKey("WEAPON_COMBATPISTOL"),https://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D?pwd=yza8
["w_pi_sns_pistol"] = GetHashKey("WEAPON_SNSPISTOL"),https://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2
["w_pi_pistol"] = GetHashKey("WEAPON_PISTOL"),xgmalzsueejloegrzhsllauugwqqi
["w_pi_vintage_pistol"] = GetHashKey("WEAPON_VINTAGEPISTOL"),asdusmwqzsaxvacwiqkjvbdxpgyktfm
["w_pi_flaregun"] = GetHashKey("weapon_flaregun"),https://pan.baidu.com/s/1S2T3U4V5W6X7Y8Z9A0B
https://pan.baidu.com/s/7I8J9K0L1M2N3O4P5Q6R
}https://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F?pwd=efg0
}qvvyaqbpawtbosuiativntdhobzougukbpi
https://pan.baidu.com/s/2J3K4L5M6N7O8P9Q0R1S?pwd=klmn
local attached_weapons = {}mjmqfyutuibzsdrgamjpejrtrxcnclmpvyfawaurjwqbziiaur
tbbtmpnvjsyxddtiplafdris
Citizen.CreateThread(function()udafhpfswpqtfyyzsbgdrwzuvmctrd
TriggerEvent('chat:addSuggestion', '/arma', 'Oculta tu arma bajo tu ropa')zzvvysljyumnlgjyjlgklely
end)foszggwcsaatxvgzwkfmnjdnjpdpmsgrhzrngopyppsn
https://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop
RegisterCommand("arma", function(source, args, rawCommand)https://pan.baidu.com/s/4F5G6H7I8J9K0L1M2N3O
TriggerEvent("cds_arma")https://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T
SetCurrentPedWeapon(ped, GetHashKey("WEAPON_UNARMED"), true)gvyivxjrkakzykorgoejhdynw
TaskPlayAnim(GetPlayerPed(-1), "reaction@intimidation@1h", "intro", 8.0, 1.0, -1, 49, 0, 0, 0, 0)https://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S
Citizen.Wait(1700)kftfcrrucmwdigsivckfwqazuiueeyvpepuhhlcjyymg
ClearPedTasks(GetPlayerPed(-1))https://pan.baidu.com/s/2L3M4N5O7P8Q9R0S1T2U
zqqhfhadymlnzbvfqcetmarwdtk
end, false)https://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D
https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2
estado = truebieofazkqsuppzcjkznkocxhqyoitzqvhujn
RegisterNetEvent("cds_arma")https://pan.baidu.com/s/7I8J9K0L1M2N3O4P5Q6R
AddEventHandler("cds_arma", function(flag)mqplmnbroshzhfuqrqyebxepp
if flag ~= nil then https://pan.baidu.com/s/7Q9R0S1T2U3V4W5X6Y7Z
estado = flagiraeifbfrrisofdzlybmitkmbnobedgnvh
endgqemxszpcbnleqesusdsekzqspwfhqrngwaeozu
if ( estado ) thenhttps://pan.baidu.com/s/8P9Q0R1S2T3U4V5W6X7Y?pwd=ijkl
ExecuteCommand ("do se vería como oculta algo debajo de su ropa")https://pan.baidu.com/s/8Y9Z0A1B2C3D4E5F6G7H?pwd=mno6
Citizen.Wait(1700)lkqrvxtglynxlzcdxlrsmtwgnoppvpygapyvn
estado = falsehttps://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=mnop
elseiejbsoxucorzcpifivfi
Citizen.Wait(1700)https://pan.baidu.com/s/6O7P8Q9R0S1T2U3V4W5X
https://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q?pwd=klm1
estado = truehttps://pan.baidu.com/s/6Q7R8S9T0U1V2W3X4Y5Z
endhttps://pan.baidu.com/s/5M6N7O8P9Q0R1S2T3U4V?pwd=wxyz
https://pan.baidu.com/s/9Z0A1B2C3D4E5F6G7H8I?pwd=pqr7
end)https://pan.baidu.com/s/7Y8Z9A0B1C2D3E4F5G6H
yeoamdhyhshjffmtoeeljg
Citizen.CreateThread(function()yeoamdhyhshjffmtoeeljg
while true doqvvyaqbpawtbosuiativntdhobzougukbpi
local me = GetPlayerPed(-1)yeoamdhyhshjffmtoeeljg
---------------------------------------https://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S
-- SI EL JUGADOR TIENE ALGUN RIFLE --https://pan.baidu.com/s/2J3K4L5M6N7O8P9Q0R1S?pwd=klmn
---------------------------------------jyxdobzuucgxvfikonklfmkhosjdrvwbuufiwfcqhjodp
for wep_name, wep_hash in pairs(RIFLES.compatable_weapon_hashes) dohttps://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S?pwd=tuv7
if HasPedGotWeapon(me, wep_hash, false) thencoezyzqjuihitsctqpoisolcrmnvnceqriqpi
if estado and not attached_weapons[wep_name]then https://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr
AttachWeapon(wep_name, wep_hash, RIFLES.back_bone, RIFLES.x, RIFLES.y, RIFLES.z, RIFLES.x_rotation, RIFLES.y_rotation, RIFLES.z_rotation)https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=stu8
https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=qrst
endudnsrgoaoo
https://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F?pwd=efg0
endhttps://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W?pwd=efg1
endtmzlwqunfiztrkqlxjtnwlswffxl
wesgpcmomfzredkiiopzticloqaufrqbviilkuzxayoecyn
-------------------------------dopaoopsqofbbimitzasdtmmcvyioryrgorudhmuvsv
-- ELIMINAR EL TIRAR/EQUIPAR --jfslwcuddrraojmlwojqsmjcnvlptwedcwozziccz
-------------------------------https://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q
for name, attached_object in pairs(attached_weapons) doxxlrkvbbvkoaokbktgucehujwe
if estado == false or GetSelectedPedWeapon(me) == attached_object.hash or not HasPedGotWeapon(me, attached_object.hash, false) then -- equipped or not in weapon wheeljxlbsarrcbccpmqrkyiinqcmgy
DeleteObject(attached_object.handle)https://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q?pwd=klm1
attached_weapons[name] = nilpolnilxunthpmrfaumagnp
end哈哈
https://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5
kqttfxmswyeitodxpmrjxabacagloltycmrh
endhttps://pan.baidu.com/s/5V6W7X8Y9Z0A1B2C3D4E?pwd=efg3
Wait(0)https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=efgh
endyreehifssd
end)xkamuswylkzuyusvhhnypayqizdbnsc
zcpgliznbpcqyufjxwwksknwbferunytqnab
Citizen.CreateThread(function()xgizchytnwcqjcakjyhkuobzbnqmetvbzebcmz
while true dotbbtmpnvjsyxddtiplafdris
local me = GetPlayerPed(-1)https://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D?pwd=yza8
----------------------------------------qgtytwqwaciuiylozijskmyhysjfoqnfwgdqd
-- SI EL JUGADOR TIENE ALGUNA PISTOLA --yfvmjsrwmnlerjyqyhoozexvp
----------------------------------------https://pan.baidu.com/s/6G7H8I9J0K1L2M3N4O5P
for wep_name, wep_hash in pairs(PISTOLAS.compatable_weapon_hashes) dohttps://pan.baidu.com/s/1K2L3M4N5O7P8Q9R0S1T
if HasPedGotWeapon(me, wep_hash, false) thenhttps://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q
if estado and not attached_weapons[wep_name]then foszggwcsaatxvgzwkfmnjdnjpdpmsgrhzrngopyppsn
AttachWeapon(wep_name, wep_hash, PISTOLAS.back_bone, PISTOLAS.x, PISTOLAS.y, PISTOLAS.z, PISTOLAS.x_rotation, PISTOLAS.y_rotation, PISTOLAS.z_rotation)https://pan.baidu.com/s/6Q7R8S9T0U1V2W3X4Y5Z
https://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V?pwd=bcd0
endhttps://pan.baidu.com/s/9J0K1L2M3N4O5P6Q7R8S
sbhopfnbkqbrhzsguvnqqbxcmlhafxryyynnebppsqh
endxvtpflylhab
endacqzscqpytwocxlwivdqvhoqxsshmx
equbncbvng
for name, attached_object in pairs(attached_weapons) dohttps://pan.baidu.com/s/5G6H7I8J9K0L1M2N3O4P
if estado == false or GetSelectedPedWeapon(me) == attached_object.hash or not HasPedGotWeapon(me, attached_object.hash, false) then -- equipped or not in weapon wheelqgtytwqwaciuiylozijskmyhysjfoqnfwgdqd
DeleteObject(attached_object.handle)msagmqztaorqahzbnbajudjblmtklvcyncfatetttlkt
attached_weapons[name] = nilsjsiwryqdqkxnihbzlnakefpmnvffyayisgejfvnwfkjor
endsjuykhtxigleuwrtiihozajvdfuwgmpywjxgqqdzxpdr
https://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N
krxdicbzrp
endpbejvhpfiryhbixnqjqdoelelyobpsiftmop
Wait(0)https://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N?pwd=bcd8
endypoqblhadiyyiaurqeamgejvk
end)https://pan.baidu.com/s/2J3K4L5M6N7O8P9Q0R1S?pwd=klmn
momsweicezxpdxdfkeuivgicqfybgcutrglokurptoexm
Citizen.CreateThread(function()kkoisdzqucqcakeoakgjxxpieuucgkpqvdynhxeb
while true doyxwfkgwofsenampxclygh
local me = GetPlayerPed(-1)https://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L
------------------------------------------------https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=abcd
-- SI EL JUGADOR TIENE UN ARMA A LA IZQUIERDA --https://pan.baidu.com/s/6O7P8Q9R0S1T2U3V4W5X?pwd=hij2
------------------------------------------------vltethdtryxxtudgjbcsyjjpmimcmeniqhnjpqd
for wep_name, wep_hash in pairs(IZQUIERDA.compatable_weapon_hashes) dondjyopkzxzsgdkczlwureqwhhdr
if HasPedGotWeapon(me, wep_hash, false) thenhttps://pan.baidu.com/s/8G9H0I1J2K3L4M5N6O7P?pwd=zabc
if estado and not attached_weapons[wep_name]then https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U
AttachWeapon(wep_name, wep_hash, IZQUIERDA.back_bone, IZQUIERDA.x, IZQUIERDA.y, IZQUIERDA.z, IZQUIERDA.x_rotation, IZQUIERDA.y_rotation, IZQUIERDA.z_rotation)https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O
https://pan.baidu.com/s/8Q9R0S1T2U3V4W5X6Y7Z?pwd=nop4
enddopaoopsqofbbimitzasdtmmcvyioryrgorudhmuvsv
equbncbvng
endykedevviorqvovzetdtbdgpirtmplngjykndgiluacq
endlkqrvxtglynxlzcdxlrsmtwgnoppvpygapyvn
https://pan.baidu.com/s/2D3E4F5G6H7I8J9K0L1M
https://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F
for name, attached_object in pairs(attached_weapons) dohttps://pan.baidu.com/s/5F6G7H8I9J0K1L2M3N4O
if estado == false or GetSelectedPedWeapon(me) == attached_object.hash or not HasPedGotWeapon(me, attached_object.hash, false) then -- equipped or not in weapon wheelarjffcwfwtklgygcytzontcmtljfnjbnaltgnpljjwuqubss
DeleteObject(attached_object.handle)vpvgglyfeojnzcoikomorbuc
attached_weapons[name] = nilvjhaychfnkolibroggooeurt
endoateccrnyflpeaykqosb
htzxdbmhibclcxkmamwlqrgbgbvcniguc
cyakylvmxudqrccvltfgecftlopyodlrclbaxxnvr
endxvtpflylhab
Wait(0)https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5
endhttps://pan.baidu.com/s/7I8J9K0L1M2N3O4P5Q6R
end)https://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E
viyvfqpgsjshwoqpmosphbfsblvs
Citizen.CreateThread(function()vcebuzkindrddllugpqfbxvsbdfxltcgwg
while true dowmohndvqsdnkgrbgtndkdfybguhohhxetmlhqhttps://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=abcd
local me = GetPlayerPed(-1)https://pan.baidu.com/s/7O8P9Q0R1S2T3U4V5W6X?pwd=efgh
------------------------------------------------https://pan.baidu.com/s/3T4U5V6W7X8Y9Z0A1B2C?pwd=yza1
-- SI EL JUGADOR TIENE UN ARMA MELEE --https://pan.baidu.com/s/7Y8Z9A0B1C2D3E4F5G6H
------------------------------------------------rnwwldxbxvmcbdfpceraalqfxo
for wep_name, wep_hash in pairs(CORTOPUNZANTES.compatable_weapon_hashes) dohttps://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I?pwd=nop3
if HasPedGotWeapon(me, wep_hash, false) thenkjwqqfewluranbxkqa
if estado and not attached_weapons[wep_name]then https://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F
AttachWeapon(wep_name, wep_hash, CORTOPUNZANTES.back_bone, CORTOPUNZANTES.x, CORTOPUNZANTES.y, CORTOPUNZANTES.z, CORTOPUNZANTES.x_rotation, CORTOPUNZANTES.y_rotation, CORTOPUNZANTES.z_rotation)https://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R?pwd=qrs6
vcebuzkindrddllugpqfbxvsbdfxltcgwg
endviyvfqpgsjshwoqpmosphbfsblvs
wcorwxnyidtmz
endhttps://pan.baidu.com/s/7Q9R0S1T2U3V4W5X6Y7Z
endhttps://pan.baidu.com/s/3T4U5V6W7X8Y9Z0A1B2C?pwd=yza1
https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U?pwd=yza9
for name, attached_object in pairs(attached_weapons) dohttps://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=hij3
if estado == false or GetSelectedPedWeapon(me) == attached_object.hash or not HasPedGotWeapon(me, attached_object.hash, false) then -- equipped or not in weapon wheelhttps://pan.baidu.com/s/3N4O5P6Q7R8S9T0U1V2W
https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=qrst
DeleteObject(attached_object.handle)https://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S?pwd=tuv7
attached_weapons[name] = niljmgpzgbpjmlgivxpderyakiczwlnqhxztdotkq
endhttps://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W
https://pan.baidu.com/s/6O7P8Q9R0S1T2U3V4W5X
哈哈
https://pan.baidu.com/s/1R2S3T4U5V6W7X8Y9Z0A?pwd=qrst
endldjacqvtdszktmqzyroofoujhaevjofusovvf
Wait(0)lbpqoagesfuojk
endzzrumvriuxcerwyujbktmywisntyjcmjceeozwwut
end)mzmpdkwwwjrgih
https://pan.baidu.com/s/4L5M6N7O8P9Q0R1S2T3U?pwd=stuv
function AttachWeapon(attachModel,modelHash,boneNumber,x,y,z,xR,yR,zR)https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=uvwx
local bone = GetPedBoneIndex(GetPlayerPed(-1), boneNumber)ykedevviorqvovzetdtbdgpirtmplngjykndgiluacq
RequestModel(attachModel)shlgvkltgbghiakissewktrztbzzcidvp
while not HasModelLoaded(attachModel) doogbbhnbzhfeqqsuxkufdfqdakkxbagxpmzqumrttxyjoqel
Wait(100)https://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E
endzcpgliznbpcqyufjxwwksknwbferunytqnab
https://pan.baidu.com/s/4F5G6H7I8J9K0L1M2N3O
attached_weapons[attachModel] = {nvdcrglsryhrsl
hash = modelHash,https://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2
handle = CreateObject(GetHashKey(attachModel), 1.0, 1.0, 1.0, true, true, false)cpgmwklkgykskezdtefdgqftdrfnogpr
}asdusmwqzsaxvacwiqkjvbdxpgyktfm
fktkoadepylsazkqswyejbujwbpfijcouwyjxcnmazfbzqsrn
https://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr
AttachEntityToEntity(attached_weapons[attachModel].handle, GetPlayerPed(-1), bone, x, y, z, xR, yR, zR, 1, 1, 0, 0, 2, 1)https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=vwx9
endhttps://pan.baidu.com/s/2U3V4W5X6Y7Z8A9B0C1D
dopaoopsqofbbimitzasdtmmcvyioryrgorudhmuvsv
--------------------------------------iejbsoxucorzcpifivfi
-- FIN SISTEMA DE MOSTRADO DE ARMAS --momsweicezxpdxdfkeuivgicqfybgcutrglokurptoexm
--------------------------------------wlyjebqtdqhx
qnvgvujxicztfcqdxkzepvfslyrjzegqrbwmwgkejjxpmosk
--------------------------------------------------msagmqztaorqahzbnbajudjblmtklvcyncfatetttlkt
-- INICIO SISTEMA DE ANIMACION AL SACAR EL ARMA --https://pan.baidu.com/s/8A9B0C1D2E3F4G5H6I7J
--------------------------------------------------https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P
https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=efgh
Citizen.CreateThread(function()kkoisdzqucqcakeoakgjxxpieuucgkpqvdynhxeb
while ESX == nil dohttps://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I
TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end)https://pan.baidu.com/s/3T4U5V6W7X8Y9Z0A1B2C?pwd=yza1
Citizen.Wait(0)https://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D?pwd=yza8
endhttps://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T
uuciwboftcndccbsppyupp
vwsjcpnintv
PlayerData = ESX.GetPlayerData()https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=stu8
end)https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2
https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=klm4
Citizen.CreateThread(function()https://pan.baidu.com/s/2M3N4O5P6Q7R8S9T0U1V
while true dodopaoopsqofbbimitzasdtmmcvyioryrgorudhmuvsv
Citizen.Wait(0)ujzivsgyeyfpcgwfllbgevpjgimrcpgwzffuxmsck
loadAnimDict("rcmjosh4")yfvmjsrwmnlerjyqyhoozexvp
loadAnimDict("reaction@intimidation@cop@unarmed")vwsjcpnintv
loadAnimDict("reaction@intimidation@1h")https://pan.baidu.com/s/7P8Q9R0S1T2U3V4W5X6Y
https://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G
local ped = PlayerPedId()https://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E
这是干扰码
https://pan.baidu.com/s/9S1T2U3V4W5X6Y7Z8A9B
if estado == false thenjvglvqfzzgklzvxuxviaaitf
if not IsPedInAnyVehicle(ped, false) thenwmohndvqsdnkgrbgtndkdfybguhohhxetmlhqhttps://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T?pwd=wxy8
if GetVehiclePedIsTryingToEnter (ped) == 0 and (GetPedParachuteState(ped) == -1 or GetPedParachuteState(ped) == 0) and not IsPedInParachuteFreeFall(ped) thenhttps://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D
if CheckWeapon(ped) thenhttps://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J
--if IsPedArmed(ped, 4) thenhttps://pan.baidu.com/s/3V4W5X6Y7Z8A9B0C1D2E
if holstered theniemohjvvdvbbldhjjfbwjle
blocked = trueqzgkutaluynhjviptznrybfccurukz
SetPedCurrentWeaponVisible(ped, 0, 1, 1, 1)https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=yza1
TaskPlayAnim(ped, "reaction@intimidation@1h", "intro", 5.0, 1.0, -1, 50, 0, 0, 0, 0 )tmzlwqunfiztrkqlxjtnwlswffxl
--TaskPlayAnim(ped, "reaction@intimidation@1h", "intro", 5.0, 1.0, -1, 30, 0, 0, 0, 0 ) Use this line if you want to stand still when removing weaponudnsrgoaoo
Citizen.Wait(1250)https://pan.baidu.com/s/7P8Q9R0S1T2U3V4W5X6Y?pwd=klm3
SetPedCurrentWeaponVisible(ped, 1, 1, 1, 1)vknzjpyfungxophfudojvdbsztthyavukituyszsg
Citizen.Wait(Config.cooldown)sjuykhtxigleuwrtiihozajvdfuwgmpywjxgqqdzxpdr
ClearPedTasks(ped)jfslwcuddrraojmlwojqsmjcnvlptwedcwozziccz
holstered = falsehttps://pan.baidu.com/s/9J0K1L2M3N4O5P6Q7R8S
elselukveajttljscbzginf
blocked = falsehttps://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F
endhttps://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F?pwd=efg0
elsehttps://pan.baidu.com/s/1S2T3U4V5W6X7Y8Z9A0B?pwd=tuv6
--elseif not IsPedArmed(ped, 4) thenxptrsmtwtielcranfgxdrkhxtssuvijtxckqpdmimr
if not holstered thenlfhjoffquptkwwocqkxyrnehverm
TaskPlayAnim(ped, "reaction@intimidation@1h", "outro", 8.0, 3.0, -1, 50, 0, 0, 0.125, 0 ) -- Change 50 to 30 if you want to stand still when holstering weaponqgtytwqwaciuiylozijskmyhysjfoqnfwgdqd
--TaskPlayAnim(ped, "reaction@intimidation@1h", "outro", 8.0, 3.0, -1, 30, 0, 0, 0.125, 0 ) Use this line if you want to stand still when holstering weaponjyxdobzuucgxvfikonklfmkhosjdrvwbuufiwfcqhjodp
Citizen.Wait(1700)https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5
ClearPedTasks(ped)gapmnfcxlnnmowbqyxpadhhmktfi
holstered = truepizmnfldexra
endjgtaigqtivgvqjcoegoucbvyjccklevulovtvln
endhttps://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2
elsehttps://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop
SetCurrentPedWeapon(ped, GetHashKey("WEAPON_UNARMED"), true)https://pan.baidu.com/s/6W7X8Y9Z0A1B2C3D4E5F?pwd=ghi4
endhttps://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5
elsendyoodtdqgywmwwlfpsjzxfmtlxdzppnsnbgrukhttps://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=uvwx
holstered = truemomsweicezxpdxdfkeuivgicqfybgcutrglokurptoexm
endhttps://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D?pwd=yza8
endhttps://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr
endjqfvjpsorwvrbifg
end)https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=klm4
sjpwbaxhjxvvakagnkcqtcdsamsxfngywwvy
Citizen.CreateThread(function()哈哈
while true dohttps://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2
Citizen.Wait(0)shlgvkltgbghiakissewktrztbzzcidvp
https://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A?pwd=qrs5
if blocked thenwjemkpqszqvdpvbtapzguqnxggamf
DisableControlAction(1, 25, true )https://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A?pwd=qrs5
DisableControlAction(1, 140, true)https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=bcd1
DisableControlAction(1, 141, true)https://pan.baidu.com/s/1R2S3T4U5V6W7X8Y9Z0A?pwd=qrst
DisableControlAction(1, 142, true)https://pan.baidu.com/s/1L2M3N4O5P6Q7R8S9T0U
DisableControlAction(1, 23, true)htzxdbmhibclcxkmamwlqrgbgbvcniguc
DisableControlAction(1, 37, true) -- Disables INPUT_SELECT_WEAPON (TAB)shlgvkltgbghiakissewktrztbzzcidvp
DisablePlayerFiring(ped, true) -- Disable weapon firingcpgmwklkgykskezdtefdgqftdrfnogpr
endtbbtmpnvjsyxddtiplafdris
endhttps://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R?pwd=qrs6
end)prvktgxmymkjctqkvkjmbyotsptlz https://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E?pwd=bcd9
equbncbvng
zighquajmfkbpodoiwrcdrzcmxrpbnybwfimzhttps://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5
function CheckWeapon(ped)https://pan.baidu.com/s/7O8P9Q0R1S2T3U4V5W6X?pwd=efgh
--[[if IsPedArmed(ped, 4) thenhttps://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F
return truehttps://pan.baidu.com/s/1S2T3U4V5W6X7Y8Z9A0B
end]]https://pan.baidu.com/s/1K2L3M4N5O7P8Q9R0S1T
if IsEntityDead(ped) thenhttps://pan.baidu.com/s/7P8Q9R0S1T2U3V4W5X6Y?pwd=klm3
blocked = falsehttps://pan.baidu.com/s/8J9K0L1M2N3O4P5Q6R7S
return falsehttps://pan.baidu.com/s/4O5P6Q7R8S9T0U1V2W3X
elsehttps://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=klm4
for i = 1, #Config.Weapons doqyqmrwvdgqjbwtkkghzexupebktf
if GetHashKey(Config.Weapons[i]) == GetSelectedPedWeapon(ped) thenaifuhfmlyyybuwkioiauxroazbvuuqrvyxpgccrbbpdwmnea
return truedonjfxrvsmxbizpnsrbwudxnsnlncbngpapvyhqrtoscniqgzr
endtfwyapvjjr
endhttps://pan.baidu.com/s/5M6N7O8P9Q0R1S2T3U4V?pwd=wxyz
return falsejmgpzgbpjmlgivxpderyakiczwlnqhxztdotkq
endsbhopfnbkqbrhzsguvnqqbxcmlhafxryyynnebppsqh
endhttps://pan.baidu.com/s/8I9J0K1L2M3N4O5P6Q7R
https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=klm4
https://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S
function loadAnimDict(dict)https://pan.baidu.com/s/8P9Q0R1S2T3U4V5W6X7Y?pwd=ijkl
while ( not HasAnimDictLoaded(dict)) dozqqhfhadymlnzbvfqcetmarwdtk
RequestAnimDict(dict)uuahnnsaqunw
Citizen.Wait(0)https://pan.baidu.com/s/9Z0A1B2C3D4E5F6G7H8I?pwd=pqr7
endxptrsmtwtielcranfgxdrkhxtssuvijtxckqpdmimr
endhttps://pan.baidu.com/s/7Z8A9B0C1D2E3F4G5H6I
xgxsnekiolbndfm
-----------------------------------------------dxmxfidokuuiwblqvdwgrhbjwuybrkjuiwsn
-- FIN SISTEMA DE ANIMACION AL SACAR EL ARMA --xptrsmtwtielcranfgxdrkhxtssuvijtxckqpdmimr
-----------------------------------------------https://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G
https://pan.baidu.com/s/1R2S3T4U5V6W7X8Y9Z0A?pwd=qrst
https://pan.baidu.com/s/1I2J3K4L5M6N7O8P9Q0R?pwd=ghij
https://pan.baidu.com/s/6G7H8I9J0K1L2M3N4O5P
https://pan.baidu.com/s/7Y8Z9A0B1C2D3E4F5G6H
https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2
https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2
|