Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Citizen.CreateThread(function()
- local h_key = 74
- while true do
- Citizen.Wait(1)
- if IsControlJustReleased(1, h_key) then
- print("The key ".. h_key .. " was pressed")
- giveWeapon("weapon_pistol")
- giveWeapon("weapon_pumpshotgun")
- weaponComponent("weapon_pumpshotgun", "COMPONENT_AT_AR_FLSH")
- giveWeapon("weapon_knife")
- alert("~b~Given Weapons with ~INPUT_VEH_HEADLIGHT~")
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement