1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. GTA Network forum is now in archive mode.

Cant use API.getGlobalTime();

Discussion in 'Scripting Help' started by RedXilence, May 7, 2017.

  1. RedXilence

    RedXilence Member

    Messages:
    5
    Likes Received:
    0
    Joined:
    May 7, 2017
    Hello guys,

    This is the error i get

    "API" does not contain a definition for "getGlobalTime" and there is no getGlobalTime extension method found that accepts a first API type argument (perhaps a using directive or an assembly reference).

    i hope someone have an idea how to fix this
     
  2. Draex

    Draex Active Member

    Messages:
    64
    Likes Received:
    31
    Joined:
    Apr 2, 2017
  3. RedXilence

    RedXilence Member

    Messages:
    5
    Likes Received:
    0
    Joined:
    May 7, 2017
    i wanted to do a jail timer like the one from - Hansrutger - cant send the link because i need 3 posts :=(

    and i need to use API.getGlobalTime();
     
  4. Theory

    Theory aka Austin Global Moderator Wiki Moderator Developer

    Messages:
    59
    Likes Received:
    25
    Joined:
    Aug 6, 2016
    Show us the relevant code.
     
  5. RedXilence

    RedXilence Member

    Messages:
    5
    Likes Received:
    0
    Joined:
    May 7, 2017
    i found a other way
    thank you guys :=)
     
  6. TheSup

    TheSup Active Member

    Messages:
    79
    Likes Received:
    10
    Joined:
    Apr 18, 2017
    It would be helpful when you share your solution to ohters? Maybe they have got the same problem as you.
     

Share This Page