Burgershot
  • Home
  • Members
  • Team
  • Help
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Burgershot open.mp Questions and Suggestions [Suggestion] More functions for 3D Texts Labels

 
  • 0 Vote(s) - 0 Average
Suggestion More functions for 3D Texts Labels
ForT
Offline

Burgershot Member
Posts: 5
Threads: 2
Joined: Apr 2019
Reputation: 1
#1
2020-05-22, 03:47 PM
I thought of some functions for the 3d texts that could be very useful and that would also make the servers more attractive if used in the right way.

PHP Code:
#define TEXT3D_ALIGNMENT_CENTER     0 // Default
#define TEXT3D_ALIGNMENT_LEFT       1
#define TEXT3D_ALIGNMENT_RIGHT      2

native Text3D_SetShadowColor(Text3D:id, shadowcolor);
native Text3D_UseBox(Text3D:id, use);
native Text3D_BoxColor(Text3D:id, boxcolor);
native Text3D_SetAlignment(Text3D:id, alignment);
native Text3D_AttachToObject(Text3D:id, objectid, Float:OffsetX, Float:OffsetY, Float:OffsetZ);
native Text3D_SetDrawDistance(Text3D:id, Float:drawdistance); // Increase the draw distance limit to 3000.0 (or more? :D)

// Similar to object material
native Text3D_ChangeFont(Text3D:id, fontface[] = "Arial", fontsize = 24, bold = 1); 
Underground: Roleplay
ip.ugsamp.com:7777

[Image: disc.png] Dimmy#3917
« Next Oldest | Next Newest »



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Burgershot - Powered by our Community and MyBB Original Theme by Emerald

Linear Mode
Threaded Mode