object setVehicleVarName name

Operand types

object: Object
name: String

Type of returned value

Description

Sets the name of the variable which contains a reference to this object.
It is necessary in MP to change the variable content after a respawn.

Used In

ArmA

Example

player setVehicleVarName "aP"
Search OFPEC COMREF