PedClient

getPedheadshotTxdString

GET_PEDHEADSHOT_TXD_STRING0xDB4EACD4AD0A5D6B

The GTA V native GET_PEDHEADSHOT_TXD_STRING of the PED namespace, as LS:MP client scripts call it: the global function getPedheadshotTxdString, in JavaScript and in Lua.

SignatureJavaScript
getPedheadshotTxdString(id: number): string
SignatureLua
getPedheadshotTxdString(id: integer): string

Usage

JavaScript
const text = getPedheadshotTxdString(id);
Lua
local text = getPedheadshotTxdString(id)

Parameters

ParameterTypeJavaScriptLua
idintnumberinteger

Returns

string JavaScript string, Lua string

Notes

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

Reference

Namespace
Ped PED
In the game
const char* GET_PEDHEADSHOT_TXD_STRING(int id)
Hash
0xDB4EACD4AD0A5D6B

Open in the interactive natives reference