- Katılım
- 5 yıl 9 ay
- Mesajlar
- 713
Forum içeriğine ve tüm hizmetlerimize erişim sağlamak için foruma kayıt olmalı ya da giriş yapmalısınız. Foruma üye olmak tamamen ücretsizdir.
Citizen.CreateThread(function()
while true do
Citizen.Wait(0)
local ped = GetPlayerPed( -1 )
local weapon = GetSelectedPedWeapon(ped)
--print(weapon) -- To get the weapon hash by pressing F8 in game
-- Disable reticle
ManageReticle()
-- Disable melee while aiming (may be not working)
if IsPedArmed(ped, 6) then
DisableControlAction(1, 140, true)
DisableControlAction(1, 141, true)
DisableControlAction(1, 142, true)
end
-- Disable ammo HUD
DisplayAmmoThisFrame(true)
-- Shakycam
-- Pistol
-- Infinite FireExtinguisher
if weapon == GetHashKey("WEAPON_FIREEXTINGUISHER") then
if IsPedShooting(ped) then
SetPedInfiniteAmmo(ped, true, GetHashKey("WEAPON_FIREEXTINGUISHER"))
end
end
end
end)
Teşekkürler ÇalıştıKod:Citizen.CreateThread(function() while true do Citizen.Wait(0) local ped = GetPlayerPed( -1 ) local weapon = GetSelectedPedWeapon(ped) --print(weapon) -- To get the weapon hash by pressing F8 in game -- Disable reticle ManageReticle() -- Disable melee while aiming (may be not working) if IsPedArmed(ped, 6) then DisableControlAction(1, 140, true) DisableControlAction(1, 141, true) DisableControlAction(1, 142, true) end -- Disable ammo HUD DisplayAmmoThisFrame(true) -- Shakycam -- Pistol -- Infinite FireExtinguisher if weapon == GetHashKey("WEAPON_FIREEXTINGUISHER") then if IsPedShooting(ped) then SetPedInfiniteAmmo(ped, true, GetHashKey("WEAPON_FIREEXTINGUISHER")) end end end end)
bu kodları herhangi bir scriptin client tarafına yapıştırırsan olur.
Forumdan daha fazla yararlanmak için giriş yapın veya kayıt olun!