Jump to content

jaygummers

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by jaygummers

  1. On 1/6/2019 at 4:58 AM, Marky said:

    You need to create global variables, or data with custom hour, minute and second.

     

    
    int serverHour = 12;
    int serverMin = 0;
    int serverSec = 0;
    
    private void C_SetTime(int hour, int minute, int second)
    {
        NAPI.World.SetTime(hour, minute, second);
        serverHour = hour;
        serverMin = minute;
        serverSec = second;
    }

     

    PS: I know this thread is old, but it was unanswered and could still help for others looking to reference from it. If I am in the wrong, then please delete this and lock the thread.

    To my knowledge, Marky's code seems legit. 

×
×
  • Create New...