HUDClient

thefeedUpdateItemTexture

THEFEED_UPDATE_ITEM_TEXTURE0x317EBA71D7543F52

The GTA V native THEFEED_UPDATE_ITEM_TEXTURE of the HUD namespace, as LS:MP client scripts call it: the global function thefeedUpdateItemTexture, in JavaScript and in Lua.

SignatureJavaScript
thefeedUpdateItemTexture(
  txdString1: string,
  txnString1: string,
  txdString2: string,
  txnString2: string
): void
SignatureLua
thefeedUpdateItemTexture(
  txdString1: string,
  txnString1: string,
  txdString2: string,
  txnString2: string
)

Usage

JavaScript
thefeedUpdateItemTexture(txdString1, txnString1, txdString2, txnString2);
Lua
thefeedUpdateItemTexture(txdString1, txnString1, txdString2, txnString2)

Parameters

ParameterTypeJavaScriptLua
txdString1stringstringstring
txnString1stringstringstring
txdString2stringstringstring
txnString2stringstringstring

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Used in the native scripts to reference "getPedheadshotTxdString" and "CHAR_DEFAULT".

Reference

Namespace
HUD HUD
In the game
void THEFEED_UPDATE_ITEM_TEXTURE(const char* txdString1, const char* txnString1, const char* txdString2, const char* txnString2)
Hash
0x317EBA71D7543F52
Formerly
_THEFEED_ADD_TXD_REF

Open in the interactive natives reference