esx-community / esx_vehiclelock

Vehicle lock system for ESX
38 stars 30 forks source link

vehicle lock/unlock button change. #24

Open ahsan009 opened 4 years ago

ahsan009 commented 4 years ago

is it possible to change vehicle lock/unlock button from u to g? if yes then how ?

gaby commented 4 years ago

Yes, change the number in this line https://github.com/ESX-PUBLIC/esx_vehiclelock/blob/master/client/main.lua#L83

303 is the letter U

You can find all the other keys here: https://docs.fivem.net/docs/game-references/controls/