playstatsNamedUserContent
_PLAYSTATS_NAMED_USER_CONTENT0xAA434D7D0A89A95CThe GTA V native _PLAYSTATS_NAMED_USER_CONTENT of the STATS namespace, as LS:MP client scripts call it: the global function playstatsNamedUserContent, in JavaScript and in Lua.
playstatsNamedUserContent(
isBoss: boolean,
bossType: number,
bossId1: number,
bossId2: number,
textType: number,
textString: string,
textSource: number
): voidplaystatsNamedUserContent(
isBoss: boolean,
bossType: integer,
bossId1: integer,
bossId2: integer,
textType: integer,
textString: string,
textSource: integer
)⚠
Not in this game build
The global exists, but the native is not part of the game build LS:MP runs: calling it does nothing and returns undefined in JavaScript, nil in Lua. It never throws. See Coverage.
Usage
JavaScript
playstatsNamedUserContent(isBoss, bossType, bossId1, bossId2, textType, textString, textSource);Lua
playstatsNamedUserContent(isBoss, bossType, bossId1, bossId2, textType, textString, textSource)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
isBoss | BOOL | boolean | boolean |
bossType | int | number | integer |
bossId1 | int | number | integer |
bossId2 | int | number | integer |
textType | int | number | integer |
textString | string | string | string |
textSource | int | number | integer |
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.
Known text types: NAME_YACHT, NAME_ORG_OFFICE
Reference
- Namespace
- Stats STATS
- In the game
void _PLAYSTATS_NAMED_USER_CONTENT(BOOL isBoss, int bossType, int bossId1, int bossId2, int textType, const char* textString, int textSource)- Hash
0xAA434D7D0A89A95C- Introduced
- Game build 3258 legacy numbering