You guys just looking out for rotating the camera while dead… I’ve found this in the client lua:
if IsDead then
DisableAllControlActions(0)
EnableControlAction(0, Keys[‘T’], true)
So it disables everything and enables the keys the player needs to chat/ask for support…
How can I enable the mouse movement? I’ve searched up in the docs but I really don’t understand anything about that website. Ty so so much!
Citizen.CreateThread(function()
while true do
Citizen.Wait(0)
DisableAllControlActions(0)
EnableControlAction(0, 1, true)
EnableControlAction(0, 2, true)
end
end)