RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. GET_ASPECT_RATIO

GET_ASPECT_RATIO

Gets the current aspect ratio ```lua local ratio = GetAspectRatio() print(string.format("%.2f", ratio)) ```

CFX

Signature

lua
GetAspectRatio()
-- returns float

Usage

lua
GetAspectRatio()

Generated from the native name, hash, and parameter list. Add a real example.

Details

Hash
API set
Source
cfx

Source: cfx

On this page

  • Signature
  • Usage
  • Details