forked from Simnation/Main
12 lines
373 B
Lua
12 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
|