gta.ivGamemode: Difference between revisions

From GTA Connected
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 difference)

Revision as of 21:03, 8 February 2021

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.