Skip to content

Logistics

9 pages · all function themes

The logistics system for carrying items and loading vehicles.

FunctionDescription
VN_fnc_log_getInventory Returns the inventory of the provided vehicle.
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 …
VN_fnc_log_loadLogisticItem Loads object into vehicle, removes it from the world.
VN_fnc_log_openlogisticsinventory Opens logistics inventory of the vehicle passed to this function. Also used when inventory is reloaded e.g …
VN_fnc_log_pickupLogisticItem Picks up object the player is looking at. Creates a loop that moves the object in the direction of the players …
VN_fnc_log_placeLogisticItem Adds actions for players for the logistics module.
VN_fnc_log_unloadLogisticItem Adds actions for players for the logistics module.
VN_fnc_log_userActions Adds actions for players for the logistics module.
VN_fnc_module_logistics Module function for the logistics. Sets up variables for the item & vehicle list and adds the actions for …