gta.ivGamemode

From GTA Connected
Revision as of 21:03, 8 February 2021 by Vortrex (talk | contribs) (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 |...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Variable Client Only icon-iii.png icon-vc.png icon-sa.png icon-iv.png 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 gamemodespage.

Examples

There aren't any examples for this variable.

Compatibility

There isn't any compatibility information for this variable.