Description:
STANDALONE & PUG AND PLAY
ADL DrawText is a very simple script designed to display prompt texts (I'm not sure what they are called, but they are basically the texts like “Press E to do something” or “Press Shift to do something else”) in a clean and optimized way on the screen. Unlike other methods, it does not require rendering them in every frame with performance-heavy loops.
The advantage it offers over other options is that you can configure the height at which the texts appear on the exports.
We attach an example:
exports['adl_draw']:ShowText({
{ id = "Casino-4", tecla = '<----', accion = "EXIT" },
{ id = "Casino-3", tecla = '[_____]', accion = "Custom Bet" },
{ id = "Casino-2", tecla = '↑/↓', accion = "+/- Bet" },
{ id = "Casino-1", tecla = 'E', accion = "Start" },
IncrementTop = 5
})
And you can hide the text with this export:
exports['adl_draw']:HideText()