Warning: file_put_contents(/ff_6abe3c0131af6a95b964891b3f64a9e935ad574170afaba5.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