VN_fnc_log_isLoaded
VN_fnc_log_isLoaded
Checks if the object is loaded at all or if a vehicle is also passed checks if the object is loaded in the vehicle. If vehicle is not provided then it will only check if the object is loaded in any vehicle.
Syntax
[object, vehicle] call VN_fnc_log_isLoadedParameters
Return value
Boolean - true if loaded, false if not
Examples
[myCargo, sogJeep] call VN_fnc_log_isLoaded