arma3_missions/helotraining_mp.Altis/onPlayerRespawn.sqf
Eero af Heurlin dfa0e68e7b
Merge mijas improvements and my fixes (#8)
* mija changes (#7)

mijas changes

* separate players into their own groups

* fix some leftover typos and sort actions by priority

Co-authored-by: mija <i.see.living.people@gmail.com>
2021-06-24 17:16:32 +03:00

14 lines
303 B
Plaintext

params ["_newUnit", "_oldUnit"];
_newUnit addRating 20000;
if (_oldUnit != objNull) then {
removeAllActions _oldUnit;
hideBody _oldUnit;
sleep 1;
deleteVehicle _oldUnit;
};
_newUnit addAction ["<t color='#FFFF00'>Request mission</t>", {[player] remoteExecCall ["spawnPlayerTask", 2]},nil,10 ];