mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fixed arguments and function header
This commit is contained in:
parent
5714374a99
commit
0cad7d0da6
@ -2,13 +2,17 @@
|
||||
* Author: Zakant
|
||||
* Handels the start 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", "_selectionName", "_className", "_items"];
|
||||
params ["_caller", "_target"];
|
||||
|
||||
_target setVariable [QGVAR(receiveCPR), true, true]; // Target receives CPR
|
||||
if(EGVAR(medical,CPRcreatesPulse)) then {
|
||||
|
Loading…
Reference in New Issue
Block a user