add_doggo.sqf 417 B

1234567891011121314151617181920
  1. #include "../config_macros.hpp"
  2. params[
  3. ["_vic",objNull ,[player]]
  4. ];
  5. if(isNull _vic) exitWith {
  6. };
  7. //if not the server,exit
  8. if (!isServer) exitWith {};
  9. _dog = createAgent [MACRO_QUOTE(macro_new_vehicle(doggo,medic)), getPos _vic, [], 5, "CAN_COLLIDE"];
  10. _dog attachTo [_vic, [0, 0, -1] ];
  11. _dog addAction ["<t color='#00FF00'>HEAL ME DOGGO PLOX</t>","call ace_medical_fnc_treatmentAdvanced_fullHeal;"];