Play3r 143 Posted February 27, 2021 I have a mission where i want the player to steal a boat from OpFor he can steal any of the boats that is in the harbor. I Want a Task to be completed when player is in any kind of boat, i have look in Wiki for some code like "kind of boat" then task3 true, (know it is not the correct way) does anyone have some guidance to where i have to look.. Share this post Link to post Share on other sites
Rimsiakas 37 Posted February 27, 2021 _playerVehicleConfig = configFile >> "cfgVehicles" >> typeOf (vehicle player); if ( getText (_playerVehicleConfig >> "vehicleClass") == "Ship" && {getNumber (_playerVehicleConfig >> "side") == 0} ) then { // Your code here }; There you go mate. Reference: https://community.bistudio.com/wiki/CfgVehicles_Config_Reference 1 Share this post Link to post Share on other sites