overridePedCrewLogoTexture
OVERRIDE_PED_CREW_LOGO_TEXTURE0x95EB5E34F821BABEThe GTA V native OVERRIDE_PED_CREW_LOGO_TEXTURE of the GRAPHICS namespace, as LS:MP client scripts call it: the global function overridePedCrewLogoTexture, in JavaScript and in Lua.
overridePedCrewLogoTexture(ped: Ped, txd: string, txn: string): booleanoverridePedCrewLogoTexture(ped: Ped, txd: string, txn: string): booleanUsage
JavaScript
const result = overridePedCrewLogoTexture(ped, txd, txn);Lua
local result = overridePedCrewLogoTexture(ped, txd, txn)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
txd | string | string | string |
txn | string | string | string |
Returns
BOOL JavaScript boolean, Lua booleanNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Overriding ped badge texture to a passed texture. It's synced between players (even custom textures!), don't forget to request used dict on *all* clients to make it sync properly. Can be removed by passing empty strings.
Reference
- Namespace
- Graphics GRAPHICS
- In the game
BOOL OVERRIDE_PED_CREW_LOGO_TEXTURE(Ped ped, const char* txd, const char* txn)- Hash
0x95EB5E34F821BABE- Introduced
- Game build 877 legacy numbering
- Formerly
_OVERRIDE_PED_BADGE_TEXTURE