GET_ASPECT_RATIO
Gets the current aspect ratio ```lua local ratio = GetAspectRatio() print(string.format("%.2f", ratio)) ```
CFX
Signature
lua
GetAspectRatio()
-- returns floatUsage
lua
GetAspectRatio()Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- API set
- Source
- cfx
Source: cfx
