Warning: file_put_contents(/ff_508b98f587b02549a8aef561aa5707383641bbf23c99ff99.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
vehicle - OFPEC Scripting Command Reference | OFPEC The Editing Center

vehicle unitName

Operand types

unitName: Object

Type of returned value

Description

Vehicle in which given unitName is mounted.
If none, unitName is returned.

Used In

OFP/ArmA

Example

? vehicle player != player : hint "Player is in a vehicle"

Advertisement