fnc_deployCcp.sqf 336 B

1234567891011121314
  1. params ["_target", "_player", "_params"];
  2. //_target is the box in an ace interact
  3. _position = position _target;
  4. deleteVehicle _target;
  5. [
  6. {
  7. params["_position"];
  8. systemChat format["Creating CCP at %1", _position];
  9. _spawner = rd501_medical_ccp_building createVehicle _position;
  10. },
  11. [_position],
  12. 0.1
  13. ] call CBA_fnc_waitAndExecute;