Skip to main content

Graphics::getTextureResolution

Returns the texture resolution of the passed texture dict+name.

Note: Most texture resolutions are doubled compared to the console version of the game.

Syntax​

```js mp.game.graphics.getTextureResolution(textureDict, textureName); ```

Required Arguments​

  • textureDict: String
  • textureName: String

Return value​

  • Vector3

Example​

```js // todo ```

See also​