Advertisement
KingOfVC

3D label #1

Jul 13th, 2017
1,009
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
D 0.69 KB | None | 0 0
  1. LobbyText <-
  2. {
  3.     Element = null,
  4.     Text = "",
  5.     Color = "white",
  6. }
  7.  
  8. function LoadLobbyText( text )
  9. {
  10.     local strip = split( text, "`" );
  11.    
  12.     LobbyText.Text = strip[0];
  13.     LobbyText.Element = GUILabel();
  14.     LobbyText.Element.AddFlags( GUI_FLAG_3D_ENTITY );
  15.     LobbyText.Element.Rotation3D = Vector( 1.571, 0, 1.59 );
  16.     LobbyText.Element.Pos3D = Vector( -1781.03, -169.898, 26.8683 );   
  17.     LobbyText.Element.FontFlags= GUI_FFLAG_BOLD;
  18.     LobbyText.Element.Size = VectorScreen( 875, 195 );
  19. //  LobbyText.Element.TextAlignment = GUI_ALIGN_CENTER;
  20.     LobbyText.Element.Size3D = Vector( 30,195,0 );
  21.     LobbyText.Element.FontSize = 70;
  22.     LobbyText.Element.Text = LobbyText.Text;
  23.     GetLobbyTextColor( strip[1] );
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement