Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cl_action.lua --
- --Trunk End
- -- carbine toggle
- function carbine()
- local ped = GetPlayerPed(-1)
- if HasPedGotWeapon(ped, "Weapon_Carbinerifle", false) then
- RemoveWeaponFromPed(ped, "Weapon_Carbinerifle")
- else
- GiveWeaponToPed(ped, "Weapon_Carbinerifle", 200, false, true)
- end
- end
- -- carbine end
- -- Toggle Duty Pistol
- function pistol()
- local ped = GetPlayerPed(-1)
- if HasPedGotWeapon(ped, "Weapon_combatpistol", false) then
- RemoveWeaponFromPed(ped, "Weapon_combatpistol")
- else
- GiveWeaponToPed(ped, "Weapon_combatpistol", 200, false, true)
- end
- end
- --pistol end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement