IS4Code / YSF

YSF Server Functions
Other
98 stars 34 forks source link

New (Player/Global) TextDraw natives #100

Open Jedrzej94 opened 4 years ago

Jedrzej94 commented 4 years ago

As discussed over Discord, add natives to textdraws which will allow changing properties such as alignment, text size, letter size etc. for both per-player & global textdraws.

There's one big thing about textdraws. Their creation order also manages under which layer your textdraw is shown. That's where (Player)TextDrawSetPos saved my life a tons, so I didn't have to re-create my TD everytime when I changed its position. Now I'm having that issue with Alignment.

Default natives available: https://wiki.sa-mp.com/wiki/Textdraw