BudakKampung
Gold Elite
- Joined
- Apr 14, 2021
- Messages
- 405
- Solutions
- 2
- Reaction score
- 24,657
- Points
- 281
- Age
- 33
- Location
- Malaysia
- Website
- vfivem.com
3d Text With Outline
Simple function that I had made a while ago, 3d text with boarder outline, options to change font scale and color along with amount of lines. Some helper functions inspired by Native UI. Took a long time to get the numbers right but still sometimes they are off set by a few pixels.To Use:
You can use this as a resource or as a snippet.
-- x,y,z is the coords where the 3d text should display
-- font is font index I suggest 4
-- scale is scale of the text I suggest 0.35
-- exLines is amount of extra lines there should be, you can check your string before hand for /n default should be 0
-- rgb is a table ex. {r = 255, b = 255, g = 255}
exports['3dTextWithOutline']
Virus Scan :
Hidden link for visitors, to see
Log in or register now.