Skip to content

Commit

Permalink
feat(client): add getServerTime
Browse files Browse the repository at this point in the history
  • Loading branch information
zziger authored Jan 12, 2024
1 parent cddd091 commit b4d1a72
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions client/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2644,6 +2644,11 @@ declare module "alt-client" {
* @remarks This is set with the {@link setMsPerGameMinute} function.
*/
export function getMsPerGameMinute(): number;

/**
* Gets current server time since epoch in milliseconds.
*/
export function getServerTime(): number;

/**
* Gets the state of the specified permission.
Expand Down

0 comments on commit b4d1a72

Please sign in to comment.