esx-community / esx_scoreboard

An fork of Stadus_Scoreboard with major improvements
MIT License
21 stars 48 forks source link

How to rebind to other keybind #56

Open Samueel991 opened 3 years ago

Samueel991 commented 3 years ago

I am new in developing, so i prefer to ask. How can i rebind / change keybind from F9 to Del (delete)? anybody can help me?

ZoenTP commented 2 years ago

Hola aun no lo descubres ? estoy con el mismo dilema

trclassic92 commented 2 years ago

Citizen.CreateThread(function() while true do Citizen.Wait(0)

    if IsControlJustReleased(0, 303) and IsInputDisabled(0) then
        isScoreboardActive = true
        SetNuiFocus(true, true)
        SendNUIMessage({action = 'enable'})
        Citizen.Wait(1000)
    end
end

end)

Change if IsControlJustReleased (0, (keybind))