PedClient

clearPedScubaGearVariation

CLEAR_PED_SCUBA_GEAR_VARIATION0xB50EB4CCB29704AC

The GTA V native CLEAR_PED_SCUBA_GEAR_VARIATION of the PED namespace, as LS:MP client scripts call it: the global function clearPedScubaGearVariation, in JavaScript and in Lua.

SignatureJavaScript
clearPedScubaGearVariation(ped: Ped): void
SignatureLua
clearPedScubaGearVariation(ped: Ped)

Usage

JavaScript
clearPedScubaGearVariation(ped);
Lua
clearPedScubaGearVariation(ped)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

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.

Removes the scubagear (for mp male: component id: 8, drawableId: 123, textureId: any) from peds. Does not play the 'remove scuba gear' animation, but instantly removes it.

Reference

Namespace
Ped PED
In the game
void CLEAR_PED_SCUBA_GEAR_VARIATION(Ped ped)
Hash
0xB50EB4CCB29704AC
Formerly
_REMOVE_PED_SCUBA_GEAR_NOW

Open in the interactive natives reference