mirror of
https://github.com/rambo/arma3_missions.git
synced 2024-08-30 16:52:13 +00:00
dfa0e68e7b
* 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>
14 lines
303 B
Plaintext
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 ];
|