Advertisement
Guest User

VCMP --- Client Side label size

a guest
Jun 15th, 2018
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. sX <- GUI.GetScreenSize().X;
  2. sY <- GUI.GetScreenSize().Y;
  3.  
  4. function Script::ScriptLoad()
  5. {
  6. LogoLoad()
  7. Console.Print("Client side scripts loaded")
  8. }
  9.  
  10. LOGO<-
  11. {
  12. LOGOM = null
  13. LOGOB = null
  14. }
  15.  
  16. function LogoLoad()
  17. {
  18. LOGO.LOGOM = GUISprite( );
  19. LOGO.LOGOM.SetTexture( "rma.png" );
  20. LOGO.LOGOM.Size = VectorScreen( sX*0.100, sY*0.100 );
  21. LOGO.LOGOM.Pos = VectorScreen( sX*0.830, sY*0.200 );
  22. LOGO.LOGOM.AddFlags( GUI_FLAG_VISIBLE | GUI_FLAG_AUTO_RESIZE | GUI_FLAG_TABSTOP)
  23.  
  24. LOGO.LOGOB = GUISprite( );
  25. LOGO.LOGOB.SetTexture( "fcb.png" );
  26. LOGO.LOGOB.Size = VectorScreen( sX*0.085, sY*0.085 );
  27. LOGO.LOGOB.Pos = VectorScreen( sX*0.630, sY*0.215 );
  28. LOGO.LOGOB.AddFlags( GUI_FLAG_VISIBLE | GUI_FLAG_AUTO_RESIZE | GUI_FLAG_TABSTOP)
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement