Results 1 to 10 of 19

Thread: date and time script

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #7
    Private
    Join Date
    Dec 2016
    Posts
    30
    Thanks
    5
    Thanked 5 Times in 5 Posts
    see my simple script...

    PHP Code:
    init() 
    {
        
    thread ShowTime();
    }

    ShowTime() 
    {
        
    self endon("disconnect");
        
    wait level.fps_multiplier 1;
        
        
    time newHudElem();
        
    time.70;
        
    time.460;
        
    time.alignX "left";
        
    time.alignY "top";
        
    time.fontScale 0.8;
        
    time.color = (100);
        
    time setText(game["showtime"]);

    i wish the game["showtime"] were the date.

    but ... when you say to inform getlocaltime() everything goes blank... hud does not appear.
    Last edited by caldas; 14th June 2018 at 03:21.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •