GraphicsClient

overridePedCrewLogoTexture

OVERRIDE_PED_CREW_LOGO_TEXTURE0x95EB5E34F821BABE

The 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.

SignatureJavaScript
overridePedCrewLogoTexture(ped: Ped, txd: string, txn: string): boolean
SignatureLua
overridePedCrewLogoTexture(ped: Ped, txd: string, txn: string): boolean

Usage

JavaScript
const result = overridePedCrewLogoTexture(ped, txd, txn);
Lua
local result = overridePedCrewLogoTexture(ped, txd, txn)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
txdstringstringstring
txnstringstringstring

Returns

BOOL JavaScript boolean, Lua boolean

Notes

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

Open in the interactive natives reference