mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +01:00
fix(interface/progress) don't use RegisterKeyMapping for redm(#560)
stop redm error as RegisterKeyMapping does not exist
This commit is contained in:
@@ -205,7 +205,9 @@ RegisterCommand('cancelprogress', function()
|
|||||||
if progress?.canCancel then progress = false end
|
if progress?.canCancel then progress = false end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
RegisterKeyMapping('cancelprogress', locale('cancel_progress'), 'keyboard', 'x')
|
if isFivem then
|
||||||
|
RegisterKeyMapping('cancelprogress', locale('cancel_progress'), 'keyboard', 'x')
|
||||||
|
end
|
||||||
|
|
||||||
local function deleteProgressProps(serverId)
|
local function deleteProgressProps(serverId)
|
||||||
local playerProps = createdProps[serverId]
|
local playerProps = createdProps[serverId]
|
||||||
|
|||||||
Reference in New Issue
Block a user