The Lab
NETWORK native

_REQUEST_PEDSHOT_TEXTURE_MULTIPLAYER_DOWNLOAD

returns const char*2 paramsbuild 1207

Requests a download of a multiplayer ped headshot texture for the gamer and returns the texture name.

Signature

C
const char* _REQUEST_PEDSHOT_TEXTURE_MULTIPLAYER_DOWNLOAD(Any* gamerHandle, int p1); // 0xB5C4B18B12A2AF23 b1207

Parameters

#NameType
1gamerHandleAny* (out pointer)
2p1int

Facts

Facts about _REQUEST_PEDSHOT_TEXTURE_MULTIPLAYER_DOWNLOAD
Name
_REQUEST_PEDSHOT_TEXTURE_MULTIPLAYER_DOWNLOAD
Hash
0xB5C4B18B12A2AF23
Namespace
Returns
const char*
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result, gamerHandle = Citizen.InvokeNative(0xB5C4B18B12A2AF23, -- _REQUEST_PEDSHOT_TEXTURE_MULTIPLAYER_DOWNLOAD
  Citizen.PointerValueInt(), -- Any* gamerHandle
  0, -- int p1
  Citizen.ResultAsString()
)
print(result, gamerHandle)
JavaScript
const [result, gamerHandle] = Citizen.invokeNative("0xB5C4B18B12A2AF23", // _REQUEST_PEDSHOT_TEXTURE_MULTIPLAYER_DOWNLOAD
  Citizen.pointerValueInt(), // Any* gamerHandle
  0, // int p1
  Citizen.resultAsString()
);
console.log(result, gamerHandle)
C#
var gamerHandleArg = new OutputArgument();
string result = Function.Call<string>((Hash)0xB5C4B18B12A2AF23, // _REQUEST_PEDSHOT_TEXTURE_MULTIPLAYER_DOWNLOAD
  gamerHandleArg, // Any* gamerHandle
  0 // int p1
);
int gamerHandle = gamerHandleArg.GetResult<int>();
All NETWORK natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.