gta.ivGamemode: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{ScriptItem |endpoint = client |type = variable |name = gta.ivGamemode |usage = fetch the current IV gamemode that the client is playing |readonly = true |returnTypes = int |...") |
No edit summary |
||
Line 8: | Line 8: | ||
|returnInfo = an integer, representing the current gamemode for GTA IV/EFLC | |returnInfo = an integer, representing the current gamemode for GTA IV/EFLC | ||
|notes = This only works when connected to multiplayer. Using it while not connected will show -1. | |notes = This only works when connected to multiplayer. Using it while not connected will show -1. | ||
A list of gamemodes can be found on the [[Resources/GTAIV/ | A list of gamemodes can be found on the [[Resources/GTAIV/GameModes|gamemodes page]] | ||
}} | }} |
Latest revision as of 21:04, 8 February 2021
Variable
Client Only
Online and Offline
Read-Only
Available since Client 1.0.0
int gta.ivGamemode
The gta.ivGamemode variable is used to fetch the current IV gamemode that the client is playing.
Value
int | An integer, representing the current gamemode for GTA IV/EFLC. |
readonly | This variable cannot be changed. |
Notes
- This only works when connected to multiplayer. Using it while not connected will show -1.A list of gamemodes can be found on the gamemodes page.
Examples
There aren't any examples for this variable.
Compatibility
There isn't any compatibility information for this variable.