Advertisement
Guest User

Untitled

a guest
Dec 8th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. Citizen.CreateThread(function()
  2.  
  3. local h_key = 74
  4. while true do
  5. Citizen.Wait(1)
  6. if IsControlJustReleased(1, h_key) then
  7. print("The key ".. h_key .. " was pressed")
  8. giveWeapon("weapon_pistol")
  9.  
  10. giveWeapon("weapon_pumpshotgun")
  11. weaponComponent("weapon_pumpshotgun", "COMPONENT_AT_AR_FLSH")
  12.  
  13. giveWeapon("weapon_knife")
  14. alert("~b~Given Weapons with ~INPUT_VEH_HEADLIGHT~")
  15. end
  16. end
  17.  
  18. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement