mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-26 21:04:44 +00:00
fix(interface/textui): localise input
This commit is contained in:
1 parent
e7ede94866
commit
f4e0739b04
1 file changed
+3
@@ -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