22 lines
509 B
Plaintext
Executable File
22 lines
509 B
Plaintext
Executable File
[]spawn
|
|
{
|
|
wardrobe = -1;
|
|
private["_veh"];
|
|
|
|
while {(alive player)} do
|
|
{
|
|
if (wardrobe == -1) then
|
|
{
|
|
//wardrobe = (vehicle player) addaction [("<t color=""#000000"">" + ("Action Menu") +"</t>"),"actionmenu\actionmenu_execute.sqf","",5,false,true,"",""];
|
|
wardrobe = (vehicle player) addaction ["Action Menu","actionmenu\actionmenu_execute.sqf","",5,false,true,"",""];
|
|
_veh = vehicle player;
|
|
};
|
|
if (_veh != vehicle player) then
|
|
{
|
|
_veh removeAction wardrobe;
|
|
wardrobe = -1;
|
|
};
|
|
Sleep 2;
|
|
};
|
|
};
|