setPedNameDebug
SET_PED_NAME_DEBUG0x98EFA132A4117BE1The GTA V native SET_PED_NAME_DEBUG of the PED namespace, as LS:MP client scripts call it: the global function setPedNameDebug, in JavaScript and in Lua.
setPedNameDebug(ped: Ped, name: string): voidsetPedNameDebug(ped: Ped, name: string)Usage
JavaScript
setPedNameDebug(ped, name);Lua
setPedNameDebug(ped, name)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
name | string | string | string |
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.
NOTE: Debugging functions are not present in the retail version of the game.
*untested but char *name could also be a hash for a localized string
Reference
- Namespace
- Ped PED
- In the game
void SET_PED_NAME_DEBUG(Ped ped, const char* name)- Hash
0x98EFA132A4117BE1