fnc_packupCCPServer.sqf 450 B

12345678910111213141516171819202122
  1. /*
  2. * Author: M3ales
  3. *
  4. * Replaces the given target CCP object with its packup object if specified, and adds an ace interact on JIP
  5. *
  6. * Arguments:
  7. * Target Object
  8. * Return Value:
  9. * None
  10. *
  11. * Example:
  12. * [cursorTarget] call rd501_fnc_packupCCPServer
  13. *
  14. * Public: No
  15. */
  16. params["_target"];
  17. _position = position _target;
  18. deleteVehicle _target;
  19. _spawner = rd501_medical_ccp_truck createVehicle _position;
  20. systemChat format["Packed into Truck"];