Sarge-AI/sarge/UPSMON/COMMON/Params/fnc/UPSMON_GetRespawntime.sqf
Teh Dango 7067ad9b0a 2.2.3
Check the change log for details
2016-08-18 22:58:49 -04:00

22 lines
516 B
Plaintext

/****************************************************************
File: UPSMON_GetRespawntime.sqf
Author: Azroul13
Description:
Parameter(s):
<--- UPSMON parameters
Returns:
Number
****************************************************************/
private["_Ucthis","_respawn","_respawntime"];
_Ucthis = _this select 0;
_respawntime = 0;
if ("RESPAWN" in _UCthis) then {_respawntime = 1;};
If ("RESPAWN:" in _UCthis) then {_respawntime = ["RESPAWN:",_respawntime,_UCthis] call UPSMON_getArg};
_respawntime