• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Suggestion] More functions for 3D Texts Labels
#1
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:idshadowcolor);

native Text3D_UseBox(Text3D:id, use);

native Text3D_BoxColor(Text3D:idboxcolor);

native Text3D_SetAlignment(Text3D:idalignment);

native Text3D_AttachToObject(Text3D:idobjectidFloat:OffsetXFloat:OffsetYFloat:OffsetZ);

native Text3D_SetDrawDistance(Text3D:idFloat:drawdistance); // Increase the draw distance limit to 3000.0 (or more? :D)



// Similar to object material

native Text3D_ChangeFont(Text3D:idfontface[] = "Arial"fontsize 24bold 1); 
Underground: Roleplay

ip.ugsamp.com:7777



[Image: disc.png]?Dimmy#3917
  Reply


Messages In This Thread
More functions for 3D Texts Labels - by ForT - 2020-05-22, 03:47 PM

Forum Jump: