gta.width

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.width

The gta.width variable is used to fetch the width of the game window, in pixels.

Value

int An integer, representing the width of the game window, in pixels.
readonly This variable cannot be changed.

Notes

There aren't any notes for this variable.

Examples

There aren't any examples for this variable.

Compatibility

There isn't any compatibility information for this variable.

Related

Client Related

      getScreenFromWorldPosition
      getWorldFromScreenPosition
        gta.aspectRatio
        gta.height
        gta.width