Simple UI Draw Text script for FiveM (standalone), with built in support for key detection + multiple keys.
This resource is made for developers to use and integrate into other resources. This will not work by simply drag and dropping it.
https://www.youtube.com/watch?v=_Lqma9z_Sjo
Displaying / updating a message:
exports["am_drawtext"]:displayText(title, description, keyOne, keyTwo|nil, function()
-- Code after pressing key
end)
Hiding a message:
exports["am_drawtext"]:hideText()
You may also view the cl_example.lua
for more examples.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.