Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RegisterEvent(function(_, mode)
- local mouselook = gkinterface.GetMouseLookMode()
- if (mode == 'turret') then
- if (not mouselook) then gkinterface.SetMouseLookMode(true) end
- else
- if (mouselook) then gkinterface.SetMouseLookMode(false) end
- end
- end, "HUD_SHOW")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement