Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2018
432
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. -- CONFIG --
  2.  
  3. -- Sound volume (0.0 - 1.0)
  4. local volume = 1.0
  5.  
  6. -- CODE --
  7.  
  8.  
  9.  
  10. Citizen.CreateThread(function()
  11. while true do
  12. Wait(1)
  13.  
  14. if IsControlJustPressed(2, 19) then
  15. SendNUIMessage({
  16. playdeathsound = true,
  17. deathvolume = volume
  18. })
  19. end
  20. end
  21. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement