fnc_deployCcp.sqf 294 B

123456789101112131415161718
  1. params [
  2. ["_target"],
  3. ["_player"],
  4. ["_params"]
  5. ];
  6. _position = position _target;
  7. deleteVehicle _target;
  8. [
  9. {
  10. params["_position"];
  11. systemChat format["Deploying CCP"];
  12. _spawner = rd501_medical_ccp_building createVehicle _position;
  13. },
  14. [_position],
  15. 0.1
  16. ] call CBA_fnc_waitAndExecute;