OpenTextInput
Available
Client
Syntax
OpenTextInput(settings)
Parameters
| Variable | Type |
|---|---|
| settings | Array |
Settings parameters
| Variable | Type | Default |
|---|---|---|
| title | String | FMMC_KEY_TIP8 |
| defaultText | String | |
| maxInputLength | Number | 255 |
| customTitle | Bool | false |
windowTitle list : https://runtime.fivem.net/doc/reference.html#_0x00DC833F2568DBF6
Exemple
exports.ft_libs:OpenTextInput({ defaultText = "Default text", maxInputLength = 10 })
In game result

Updated less than a minute ago
