mtasa-blue
mtasa-blue copied to clipboard
Feature: add widget like functionality
Is your feature request related to a problem? Please describe.
dxDraw function calls are slow
Describe the solution you'd like
add widget like system as a wrapper around "dxDraw" calls. In mta there is already like this called "textDisplay" https://wiki.multitheftauto.com/wiki/TextCreateDisplay an idea is to add more such functions for all already existing dxDraw functions for example:
local rect = createRectangleWidget(100, 100, 100, 100, tocolor(255, 0,0)
will draw red rectangle at 100,100 coords of size 100 by 100 add some function to change widget position, size, color, font, change layer, transform, visibility ect ect ect
Describe alternatives you've considered
/
Additional context
/
Security Policy
- [X] I have read and understood the Security Policy and this issue is not about a cheat or security vulnerability.
waiting for feedback