_GET_PHOTO_MODE_FOCUS_DISTANCE
Hash
0x18FC740FFDCD7454Runtime name
GetPhotoModeFocusDistanceNamespaceCAMERA
SideClient
NameCommunity guess
Docs
Since build1207
Signature
float _GET_PHOTO_MODE_FOCUS_DISTANCE();Returns float
Usage
local retval = GetPhotoModeFocusDistance()
-- always works, by hash
local retval = Citizen.InvokeNative(0x18FC740FFDCD7454, Citizen.ResultAsFloat())JavaScript and C#
const retval = GetPhotoModeFocusDistance();
// by hash
const retval = Citizen.invokeNative('0x18FC740FFDCD7454', Citizen.returnResultAnyway(), Citizen.resultAsFloat());float retval = Function.Call<float>((Hash)0x18FC740FFDCD7454);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.