|
@@ -18,8 +18,8 @@ params["_target"];
|
|
|
|
|
|
_position = position _target;
|
|
_position = position _target;
|
|
deleteVehicle _target;
|
|
deleteVehicle _target;
|
|
-_spawner = rd501_medical_ccp_building createVehicle _position;
|
|
+_spawner = createVehicle[rd501_medical_ccp_building, _position, [], 0, "CAN_COLLIDE"];
|
|
systemChat format["Deployed CCP"];
|
|
systemChat format["Deployed CCP"];
|
|
|
|
|
|
_jipId = ["rd501_medical_ccp_deployCCPLocal", [_spawner]] call CBA_fnc_globalEventJIP; // raise on all clients (we should be on server)
|
|
_jipId = ["rd501_medical_ccp_deployCCPLocal", [_spawner]] call CBA_fnc_globalEventJIP; // raise on all clients (we should be on server)
|
|
-[_jipId, _spawner] call CBA_fnc_removeGlobalEventJIP;
|
|
+[_jipId, _spawner] call CBA_fnc_removeGlobalEventJIP;
|