Vehicle::setParachuteTextureVariation
JavaScript
Required Arguments
- handle: Vehicle handle
- variation: Number
Return value
- void
Syntax
mp.game.vehicle.setParachuteTextureVariation(handle, variation);
Example
const vehicle = mp.vehicles.atRemoteId(0); //get vehicle with remote id 0
if (!vehicle || !mp.vehicles.exists(vehicle)) return; //if the vehicle don't exist we return here
//Vehicle is valid, processing the code:
mp.game.vehicle.setParachuteTextureVariation(vehicle.handle, 1);