Skip to content
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.

PMF_fn_VehicleCustomSpawn

MasterPuffin edited this page Sep 23, 2017 · 2 revisions

Description

Spawns a vehicle with a custom texture at a marker or at the players position. Also sets the vehicles PMF_var_VehicleType Variable (needed for emergency lights and sounds).

Dependencies

Vehicles and skins have to be configured in the PMF\vehicle\fn_CustomSpawn.sqf file. Classnames can be found here.

Parameters

destination: Either a marker variable or me to spawn the vehicle at the players position.

Usage

Example

["me","Jeep"] call PMF_fn_VehicleCustomSpawn

[_spawn3,"SUV"] call PMF_fn_VehicleCustomSpawn