getPedheadshotTxdString
GET_PEDHEADSHOT_TXD_STRING0xDB4EACD4AD0A5D6BThe 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.
getPedheadshotTxdString(id: number): stringgetPedheadshotTxdString(id: integer): stringUsage
JavaScript
const text = getPedheadshotTxdString(id);Lua
local text = getPedheadshotTxdString(id)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
id | int | number | integer |
Returns
string JavaScript string, Lua stringNotes
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