I was working on a script where if a player dies, a bodybag is created at their death position. I added an action into a respawn.sqf which is
_bodybag = "Body" createvehicle (_deathpos); _bodybag setdir (random 360);
_bodybag addaction ["Remove Bodybag", "bodybag.sqf"];
It works well, but only the player who died can remove it. How do I make this addaction work for all players for the bodybag?
So far, people can only remove their own bodybag. I want it so anyone can remove anyone's bodybags.
HOME
Reply With Quote
