first make init.sqs
p1_armed = true
p2_armed = true
p3_armed = true
p4_armed = true
p5_armed = true
...how many players on map...
Have a rearming script rearm.sqs:
_unit = _this Select 0
_type = _this Select 1
RemoveAllWeapons _unit
?(_type == "LSR"): Goto "LSR"
#LSR
_unit AddMagazine "LSR_M4MAG"
_unit AddWeapon "LSR_M4_AIM"
_unit SelectWeapon "LSR_M4_AIM"
exit
Then have two triggers for each player on the map like this:
1
set repeatedly
condition : !(alive p1)
activation: p1_armed = false;
2
set repeatedly
condition : (Alive p1) And Not(p1_armed);
activation: [p1, "LSR"] Exec "rearm.sqs"; p1_armed = true";
finally in the initfield of each of the players put
[p1, "LSR"] Exec "rearm.sqs"
ps: I only added one mag cause I thought that could hold but one mag?
Greetz