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)
|
||||
if input then return end
|
||||
input = promise.new()
|
||||
@@ -10,6 +12,7 @@ function lib.inputDialog(heading, rows)
|
||||
inputs = rows
|
||||
}
|
||||
})
|
||||
|
||||
return Citizen.Await(input)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user