RedM Natives

PEDSHOT_IS_AVAILABLE

Hash0xAF6E67D073D2DCE2
Runtime namePedshotIsAvailable
NamespaceGRAPHICS
SideClient
NameOfficial
Docs
Since build1207

Signature

BOOL PEDSHOT_IS_AVAILABLE();

Returns BOOL

Usage

Lua
local retval = PedshotIsAvailable()

-- always works, by hash
local retval = Citizen.InvokeNative(0xAF6E67D073D2DCE2, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = PedshotIsAvailable();

// by hash
const retval = Citizen.invokeNative('0xAF6E67D073D2DCE2', Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0xAF6E67D073D2DCE2);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.