- Joined
- Mar 19, 2021
- Messages
- 786
- Solutions
- 5
- Reaction score
- 88,222
- Points
- 421
- Location
- Hungary
- Website
- vfivem.com
Opening the menu with a hotkey
Add the following code anywhere inside config.lua:
Code:
Config.Key = 168 -- [F7]
Keys ID list:
Hidden link for visitors, to see
Log in or register now.
Add the following code to the client.lua file:
Code:
Citizen.CreateThread(function()
while true do
Citizen.Wait(1)
if IsControlJustReleased(0, Config.Key) then
ExecuteCommand(Config.InvoicesCommand)
end
end
end)