Security HUD
System Watchdog
×
Threads Scanned
-- / --
SYS. LOAD --%
AI SHIELD ACTIVE
DMCA Policy
×

📋 DMCA Compliance

This platform and community fully complies with the Digital Millennium Copyright Act (DMCA) and international copyright laws. We take all copyright protection seriously.

🛡️ Copyright Protection

If you believe a posted item belongs to you or violates your copyright, you may file a DMCA takedown request through our official channels. Upon receiving a valid claim, the infringing content will be removed within 24 hours.

What's new
×
Fiveguard

Script [Dev Resource] 3d Text With Outline

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']:DrawText3DWithOutline(x,y,z,text, font, scale, exLines, rgb)

Virus Scan :
 

Attachments

  • 3DTextWithOutline-main.zip
    3.2 KB · Views: 1,105
  • 809b65d913ca3f1ce7092797cba8de4ed98d5ea9.jpeg
    809b65d913ca3f1ce7092797cba8de4ed98d5ea9.jpeg
    62.2 KB · Views: 916
Top