PanScoobiik 4 Posted January 13 (edited) SNÍŽENÍ DAMAGE U ZBRANĚ Vytvoříte si jednoduchý client side script. Je jedno s jakým názvem. Potom tam vložíte: Citizen.CreateThread(function() while true do N_0x4757f00bc6323cfe(GetHashKey("WEAPON_UNARMED"), 0.3) Wait(0) N_0x4757f00bc6323cfe(GetHashKey("WEAPON_NIGHTSTICK"), 0.1) Wait(0) N_0x4757f00bc6323cfe(GetHashKey("WEAPON_REVOLVER"), 0.3) Wait(0) N_0x4757f00bc6323cfe(GetHashKey("WEAPON_SNOWBALL"), 0.1) Wait(0) N_0x4757f00bc6323cfe(GetHashKey("WEAPON_MUSKET"), 0.3) end end) Citizen.CreateThread(function() while true do Citizen.Wait(0) local ped = PlayerPedId() if IsPedArmed(ped, 6) then DisableControlAction(1, 140, true) DisableControlAction(1, 141, true) end end end) Můžete si tam přidat i jiné zbraně, stačí tam vložit zas tento kód: N_0x4757f00bc6323cfe(GetHashKey("NÁZEV ZBRANĚ"), DMG) Poté si vytvoříte manifest soubor, do kterého dáte: fx_version 'adamant' games { 'common' } client_scripts { 'NAZEVCLIENTA.lua', } Edited January 13 by PanScoobiik 2 Share this post Link to post Share on other sites
xogos 62 Posted January 13 Promiň ale tohle fakt návod nebyl, takže jsem ti to přesunul do "Veřejně dostupné" 1 Share this post Link to post Share on other sites
IQ500000 15 Posted January 13 Hej lépe se to zapisuje místo: Quote N_0x4757f00bc6323cfe tohle: Quote SetWeaponDamageModifier(weaponHash, damageMultiplier) Zdroj: https://docs.fivem.net/natives/?_0x4757F00BC6323CFE 1 Share this post Link to post Share on other sites