setVehicleVarName

From Bohemia Interactive Community
Revision as of 17:41, 4 July 2006 by Raedor (talk | contribs)
Jump to navigation Jump to search


object setVehicleVarName name


Operand types:

object: Object

name: String

Type of returned value:

Nothing

Compatibility:

Version 2.32 required.

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.

Example:

player setVehicleVarName "aP"