Added cpr failure function and fixed PREP mistake

This commit is contained in:
Zakant 2017-03-23 13:30:40 +01:00
parent a570a6862c
commit d815bd8bdc
2 changed files with 17 additions and 1 deletions

View File

@ -19,7 +19,8 @@ PREP(treatment_success);
PREP(treatmentBandage);
PREP(treatmentBandageLocal);
PREP(fnc_treatmentCPR_progress);
PREP(treatmentCPR_failure);
PREP(treatmentCPR_progress);
PREP(treatmentCPR_start);
PREP(treatmentCPR);
PREP(treatmentCPRLocal);

View File

@ -0,0 +1,15 @@
/*
* Author: Zakant
* Handels the failure of the CPR treatment.
*
* Arguments:
* 0: The medic <OBJECT>
* 1: The patient <OBJECT>
*
* Return Value:
* NONE
*
* Public: No
*/
#include "script_component.hpp"
params ["_caller", "_target"];