when holding a gun and standing next to a player. When I changed the bullets, I accidentally beat them to death. how to replace ammo without causing damage to nearby people
1 Like
Put this in a client script
Citizen.CreateThread(function()
while true do
Citizen.Wait(5)
DisableControlAction(1, 140, true)
end
end)
2 Likes
Where can I find this file [clinte script]
1 Like
Look at another addon and the __resource.lua. Files in client_scripts array are all “client scripts”.
1 Like
Hello there,
Thank you for taking your time to provide the community with a small but useful script.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.