VehicleClient

vehicleSetParachuteModelTintIndex

VEHICLE_SET_PARACHUTE_MODEL_TINT_INDEX0xA74AD2439468C883

The GTA V native VEHICLE_SET_PARACHUTE_MODEL_TINT_INDEX of the VEHICLE namespace, as LS:MP client scripts call it: the global function vehicleSetParachuteModelTintIndex, in JavaScript and in Lua.

SignatureJavaScript
vehicleSetParachuteModelTintIndex(
  vehicle: Vehicle,
  textureVariation: number
): void
SignatureLua
vehicleSetParachuteModelTintIndex(
  vehicle: Vehicle,
  textureVariation: integer
)

Usage

JavaScript
vehicleSetParachuteModelTintIndex(vehicle, textureVariation);
Lua
vehicleSetParachuteModelTintIndex(vehicle, textureVariation)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger
textureVariationintnumberinteger

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.

Variations available for the generic parachute (sr_prop_specraces_para_s_01):
- 0: Rainbow
- 1: Red
- 2: White, blue, yellow
- 3: Black, red, white
- 4: Red, white, blue
- 5: Blue
- 6: Black
- 7: Black, yellow

Reference

Namespace
Vehicle VEHICLE
In the game
void VEHICLE_SET_PARACHUTE_MODEL_TINT_INDEX(Vehicle vehicle, int textureVariation)
Hash
0xA74AD2439468C883
Introduced
Game build 1011 legacy numbering
Formerly
_VEHICLE_SET_CUSTOM_PARACHUTE_TEXTURE _SET_VEHICLE_PARACHUTE_TEXTURE_VARIATION

Open in the interactive natives reference