mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +01:00
fix(interface/textui): localise input
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
local input
|
||||||
|
|
||||||
function lib.inputDialog(heading, rows)
|
function lib.inputDialog(heading, rows)
|
||||||
if input then return end
|
if input then return end
|
||||||
input = promise.new()
|
input = promise.new()
|
||||||
@@ -10,6 +12,7 @@ function lib.inputDialog(heading, rows)
|
|||||||
inputs = rows
|
inputs = rows
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
return Citizen.Await(input)
|
return Citizen.Await(input)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user