GraphicsClient

getMaximumNumberOfCloudPhotos

GET_MAXIMUM_NUMBER_OF_CLOUD_PHOTOS0xDC54A7AF8B3A14EF

The GTA V native GET_MAXIMUM_NUMBER_OF_CLOUD_PHOTOS of the GRAPHICS namespace, as LS:MP client scripts call it: the global function getMaximumNumberOfCloudPhotos, in JavaScript and in Lua.

SignatureJavaScript
getMaximumNumberOfCloudPhotos(): number
SignatureLua
getMaximumNumberOfCloudPhotos(): integer

Usage

JavaScript
const result = getMaximumNumberOfCloudPhotos();
Lua
local result = getMaximumNumberOfCloudPhotos()

Parameters

None.

Returns

int JavaScript number, Lua integer

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

This function is hard-coded to always return 96.

Reference

Namespace
Graphics GRAPHICS
In the game
int GET_MAXIMUM_NUMBER_OF_CLOUD_PHOTOS()
Hash
0xDC54A7AF8B3A14EF
Formerly
_GET_MAXIMUM_NUMBER_OF_PHOTOS_2

Open in the interactive natives reference