RedM Natives

_RESERVE_AMBIENT_PEDS

Hash0xED9582B3DA8F02B4
Runtime nameReserveAmbientPeds
NamespacePED
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _RESERVE_AMBIENT_PEDS(int numPeds);

Parameters

NameTypeDescription
numPedsint—

Returns void

Usage

Lua
ReserveAmbientPeds(numPeds)

-- always works, by hash
Citizen.InvokeNative(0xED9582B3DA8F02B4, numPeds)
JavaScript and C#
JavaScript
ReserveAmbientPeds(numPeds);

// by hash
Citizen.invokeNative('0xED9582B3DA8F02B4', numPeds);
C#
Function.Call((Hash)0xED9582B3DA8F02B4, numPeds);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

See also

Sources

alloc8or RDR3 NativeDB

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