GraphicsClient

doesThisPhotoSlotContainAValidPhoto

DOES_THIS_PHOTO_SLOT_CONTAIN_A_VALID_PHOTO0xE791DF1F73ED2C8B

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

SignatureJavaScript
doesThisPhotoSlotContainAValidPhoto(p0: any): boolean
SignatureLua
doesThisPhotoSlotContainAValidPhoto(p0: any): boolean

Usage

JavaScript
const result = doesThisPhotoSlotContainAValidPhoto(p0);
Lua
local result = doesThisPhotoSlotContainAValidPhoto(p0)

Parameters

ParameterTypeJavaScriptLua
p0Anyanyany

Returns

BOOL JavaScript boolean, Lua boolean

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

Reference

Namespace
Graphics GRAPHICS
In the game
BOOL DOES_THIS_PHOTO_SLOT_CONTAIN_A_VALID_PHOTO(Any p0)
Hash
0xE791DF1F73ED2C8B

Open in the interactive natives reference