Jump to content

aTimeAPI 1.1.3

   (1 review)

1 Screenshot

  • 29.8k
  • 166
  • 4.16 kB

About aTimeAPI

Provides API and Hooks which called when in-game day/night and real second/hour/day/month/year started.
Has no functional by itself. Usable only as plugin dependency.

Configuration

{
  "Rust day start time (hour)": 7.5,
  "Rust night start time (hour)": 20.0
}

API

aTimeAPI.Call<bool>("IsDayInRustNow");

Hooks

void OnRealSecond() // called every real second
void OnRustDayStarted() // called right arter in-game day was started
void OnRustNightStarted() // called right arter in-game night was started
void OnNewRealHourStarted(int newHour) // called right arter new real hour was started
void OnNewRealDayStarted(int newDay) // called right arter new real day was started
void OnNewRealMonthStarted(int newMonth) // called right arter new real month was started
void OnNewRealYearStarted(int newYear) // called right arter new real year was started

 

  • Love 1

AvG Лаймон's Collection

User Feedback

1.5m

Downloads

Total number of downloads.

7k

Customers

Total customers served.

105.2k

Files Sold

Total number of files sold.

2.1m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.