PedClient

setPedScubaGearVariation

SET_PED_SCUBA_GEAR_VARIATION0x36C6984C3ED0C911

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

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

Usage

JavaScript
setPedScubaGearVariation(ped);
Lua
setPedScubaGearVariation(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.

This native sets a scuba mask for freemode models and an oxygen bottle for player_* models. It works on freemode and player_* models.

Reference

Namespace
Ped PED
In the game
void SET_PED_SCUBA_GEAR_VARIATION(Ped ped)
Hash
0x36C6984C3ED0C911
Formerly
_SET_PED_SCUBA_GEAR_VARIATION

Open in the interactive natives reference