platform

From GTA Connected
Jump to navigation Jump to search

Variable Server and Client icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline Read-Only

Available since Server 1.0.0, Client 1.0.0

string platform

The platform variable is used to fetch the name of the platform.

Value

string A string containing the name of the platform.
readonly This variable cannot be changed.

Notes

  • Examples of a platform name read from this variable, include:

Windows
Mac OS X
Linux
iOS
Android.

Examples

There aren't any examples for this variable.

Compatibility

There isn't any compatibility information for this variable.

Related

Server Related

icon-iii.png icon-vc.png icon-sa.png icon-iv.png collectAllGarbage
icon-iii.png icon-vc.png icon-sa.png icon-iv.png getConsole
icon-iii.png icon-vc.png icon-sa.png icon-iv.png gta.ssvBridgeEnabled
icon-iii.png icon-vc.png icon-sa.png icon-iv.png inPoly
icon-iii.png icon-vc.png icon-sa.png icon-iv.png platform
icon-iii.png icon-vc.png icon-sa.png icon-iv.png toColour


Client Related

icon-iii.png icon-vc.png icon-sa.png icon-iv.png collectAllGarbage
icon-iii.png icon-vc.png icon-sa.png icon-iv.png debugMode
icon-iii.png icon-vc.png icon-sa.png icon-iv.png getConsole
icon-iii.png icon-vc.png icon-sa.png getRandomSkin
icon-iii.png icon-vc.png icon-sa.png icon-iv.png gta.gameSpeed
icon-iii.png icon-vc.png icon-sa.png gta.getRandomSkin
icon-iii.png gta.getSurfaceTraction
icon-iii.png icon-vc.png gta.processLineOfSight
icon-sa.png gta.setDefaultInteriors
icon-iii.png gta.setSurfaceTraction
icon-iv.png gta.setWindSpeed
icon-iii.png icon-vc.png icon-sa.png gta.showHelpBox
icon-iii.png icon-vc.png icon-sa.png icon-iv.png gta.tickCount
icon-iii.png icon-vc.png icon-sa.png icon-iv.png inPoly
icon-iii.png icon-vc.png icon-sa.png icon-iv.png platform
icon-iii.png icon-vc.png icon-sa.png icon-iv.png toColour