Type of problem encountered:
It is not possible to type text in the fields provided for this purpose. The field is displayed without problem, however the entry remains impossible. This problem isn’t noticed with the same script outside the FxDK.
Demonstrative video:
Code used:
function InputText(length)
local length = length or 64
DisplayOnscreenKeyboard(false, "FMMC_KEY_TIP8", "", "", "", "", "", length)
while (GetOnscreenKeyboardResult() == nil) do
Citizen.Wait(10)
end
return GetOnscreenKeyboardResult()
end
Maybe the problem comes from me, any ideas to solve it?
Thanks for help!