setPedScubaGearVariation
SET_PED_SCUBA_GEAR_VARIATION0x36C6984C3ED0C911The 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.
setPedScubaGearVariation(ped: Ped): voidsetPedScubaGearVariation(ped: Ped)Usage
JavaScript
setPedScubaGearVariation(ped);Lua
setPedScubaGearVariation(ped)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | 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.
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