Advertisement
AroliS

[FILTER-SCRIPT] Real-Time VC-MP Clientside

May 20th, 2019
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.67 KB | None | 0 0
  1. /*
  2. Made up By AroliS^
  3. lag's problem fixed thanks to SLC.
  4. */
  5.  
  6.         function Script::ScriptProcess()
  7.         {
  8.         local time = System.GetDate( System.GetTimestamp( ), 'r' );
  9.  
  10.         ::timer[ "date" ].Text = time.hour+" : "+time.min;
  11.          }
  12.  
  13.          in somewhere in your clientsides script!
  14.  
  15.          function labelcreator( pos, colour, resizable )
  16.          {
  17.             local ui = GUILabel( pos, colour, resizable );
  18.             return  ui;
  19.          }
  20.  
  21.          ::time <-
  22.          {
  23.             "date": labelcreator( VectorScreen( sX * 0.671, sY * 0.115 ), Colour( 255, 255, 255 ), true )
  24.          }
  25.  
  26.          ::timer[ "date" ].FontSize = sX * 0.025;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement