platform

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

        collectAllGarbage
        getConsole
        gta.ssvBridgeEnabled
        inPoly
        platform
        toColour


Client Related

        collectAllGarbage
        debugMode
        getConsole
      getRandomSkin
        gta.gameSpeed
      gta.getRandomSkin
  gta.getSurfaceTraction
    gta.processLineOfSight
  gta.setDefaultInteriors
  gta.setSurfaceTraction
  gta.setWindSpeed
      gta.showHelpBox
        gta.tickCount
        inPoly
        platform
        toColour