Represents the current branch.
Returns if the resource is in debug mode.
Default dimension (0). Read more: https://docs.altv.mp/articles/dimensions.html
Global dimension (-2147483648). Read more: https://docs.altv.mp/articles/dimensions.html
A boolean indicating whether the current script is executed on the clientside.
A boolean indicating whether the current script is executed on the serverside.
Resource name of the executing resource.
Represents the current SDK version.
Represents the current version.
Clears a timer set with the everyTick function.
The id of a timer.
Clears a timer set with the setInterval function.
The id of a timer.
Clears a timer set with the nextTick function.
The id of a timer.
Clears a timer set with the setTimeout function.
The id of a timer.
Removes the specified key and the data connected to that specific key.
The key of the value to remove.
Emits specified event across resources.
Name of the event.
Rest parameters for emit to send.
Emits specified event across resources.
Name of the event.
Rest parameters for emit to send.
Schedules execution of handler on every tick/every frame.
Handler that should be scheduled for execution.
A number representing the id value of the timer that is set. Use this value with the clearEveryTick function to cancel the timer.
Gets all the listeners for the specified local event.
Name of the event or null for generic event.
Array of listener functions for that event.
Gets a value using the specified key.
The key of the value to get.
Dynamic value associated with the specified key or undefined if no data is present.
Returns all meta keys which have been set
Gets the amount of milliseconds since the server was started.
Gets a value using the specified key.
The key of the value to get.
Dynamic value associated with the specified key or undefined if no data is present.
Returns all synced meta keys which have been set
Determines whether contains the specified key.
The key of the value to locate.
True when element associated with the specified key is stored.
Returns whether the specified resource exists.
Name of the resource.
Determines whether contains the specified key.
The key of the value to locate.
True if the meta table contains any data at the specified key or False if not
Creates a hash using Jenkins one-at-a-time algorithm.
A string from which hash will be created.
Logs the specified arguments to the console.
Logs the specified arguments to the console if debug is enabled.
Logs the specified arguments as an error to the console.
Logs the specified arguments as a warning to the console.
Schedules execution of handler on next tick/next frame.
Handler that should be scheduled for execution.
A number representing the id value of the timer that is set. Use this value with the clearNextTick function to cancel the timer.
Unsubscribes from a event with the specified listener.
Name of the event.
Listener that should be removed.
Unsubscribes from all user-created events with the specified listener.
Listener that should be removed.
Subscribes to a custom local event with the specified listener.
Name of the event.
Listener that should be added.
Subscribes to all events with the specified listener.
Listener that should be added.
Subscribes to a custom local event with the specified listener, which only triggers once.
Name of the event.
Listener that should be added.
Subscribes to all events with the specified listener, which only triggers once.
Listener that should be added.
Schedules execution of handler in specified intervals.
Handler that should be scheduled for execution.
The time, in milliseconds, between execution of specified handler.
A number representing the id value of the timer that is set. Use this value with the clearInterval function to cancel the timer.
Stores the given value with the specified key.
The key of the value to store.
The value to store.
Schedules execution of handler once after the expiration of interval.
Handler that should be scheduled for execution.
The time, in milliseconds, before execution of specified handler.
A number representing the id value of the timer that is set. Use this value with the clearTimeout function to cancel the timer.
alt-shared