forked from Simnation/Main
11 lines
373 B
Lua
11 lines
373 B
Lua
---Starts showing the help text
|
|
function StartHelpText()
|
|
local keyCommand = IsUsingKeyboard(1) and `+slashtire` or `stc`
|
|
local keyLabel = GetLocalization('help_text_keyboard', GetKeyMappingKey(keyCommand))
|
|
exports['qb-core']:DrawText(keyLabel, 'left')
|
|
end
|
|
|
|
---Stops showing the help text
|
|
function StopHelpText()
|
|
exports['qb-core']:HideText()
|
|
end
|