the max bounds for the local player
Get current input mode.
InputMode: Mouse & Keyboard or GamePad.
Gets the current frame rate per second
Gets the total amount of frames rendered in this session
Gets how many milliseconds the game has been open this session
Get if a loading screen is active.
Is the player in the pause menu (ESC).
Force enable pause menu.
Is a waypoint set on the map.
Gets the game language
Gets the time it currently takes to render a frame, in seconds;
Get the maximum wanted level.
Set the maximum wanted level the local client can get.
Get if nightvision is active.
Toggle nightvision.
Get the local player's Player object.
Get the local player character's Ped object.
A local player's character.
Get whether PvP is enabled.
True if enabled.
Set whether PvP is enabled.
True if enabled.
Gets the player's current radio station.
A radio station.
Sets the player's radio station.
A radio station.
A radio station.
Set whether police blips should show on minimap.
Get if thermal (heat) vision is active.
Toggle thermal (heat) vision.
Sets the time scale of the Game.
The time scale, only accepts values between 0.0 and 1.0
Set the multiplier of the wanted level.
Disables all Controls this frame.
InputMode
Determines the game language files contain a entry for the specified GXT key
The GXT key.
true if GXT entry exists; otherwise, false
Enables all Controls this frame.
InputMode
Calculate the Jenkins One At A Time (joaat) has from the given string.
The input string to calculate the hash
Returns a localised string from the games language files with a specified GXT key
The GXT key.
The localised string if the key exists; otherwise, empty string
Play music. Same as Audio.playSound
Music file.
Play a sound. Same as Audio.playSound
Name of sound
The set where the sound is in
Get an iterable list of players currently on server.
Iterable list of Player objects.
Stop music. If musicFile
is not given, last played music is stopped. Same as Audio.playSound
(optional) Music file.
Generated using TypeDoc
Sets the max boundry the local player can go to before they get killed