Jump to content

Dan

Moderators
  • Content Count

    403
  • Joined

  • Last visited

  • Days Won

    52

Dan last won the day on February 11

Dan had the most liked content!

Community Reputation

184 Excellent

About Dan

  • Rank
    Sea Captain

Recent Profile Visitors

30,356 profile views

Single Status Update

See all updates by Dan

  1. jojo can u help me ?  i need know  my server time

     

    1. Show previous comments  3 more
    2. chrisroses
    3. Dan

      Dan

      Some other functions that can help you understand. Found in Functions.lua

       


      function GetNowWeek ( )
          local Now_Week = os.date("%w")
          local Now_WeekNum = tonumber(Now_Week)
          return Now_WeekNum
      end


      function GetNowTime ( )
          local Now_Time = os.date("%H")
          local NowTimeNum = tonumber(Now_Time)
          return NowTimeNum
      end

    4. chrisroses

      chrisroses

      im new :3 can u help me  to have handlechat

      i make it

       


      function HandleChat(role, message)
          return 1
      end

       

       

      cmd.list['time'] = function(role, param)
          if param.n ~= 0 then
              BickerNotice(role, 'This command requires zero parameters! /time')
              return
          end
          SystemNotice(role, 'Server Time: '..os.date('%H')..':'..os.date('%M')..':'..os.date('%S'))
      end
       

    5. Show next comments  3 more
×
×
  • Create New...