KP-Liberation/Missionframework/onPlayerRespawn.sqf

17 lines
413 B
Plaintext
Raw Normal View History

if ( isNil "GRLIB_respawn_loadout" ) then {
removeAllWeapons player;
2017-03-16 15:36:18 +00:00
removeAllItems player;
removeAllAssignedItems player;
removeVest player;
removeBackpack player;
removeHeadgear player;
removeGoggles player;
2017-03-16 16:55:02 +00:00
player linkItem "ItemMap";
player linkItem "ItemCompass";
player linkItem "ItemWatch";
2017-08-03 15:15:57 +00:00
player linkItem "ItemRadio";
} else {
sleep 4;
[ player, GRLIB_respawn_loadout ] call F_setLoadout;
};