I'm currently using a "right click to deploy bike"-script which works just fine - but I want the "deploy bike"-option to be available in the scroll menu as well.
For that I use something like this:
if((speed player <= 1) && _hasToolbox && _canDo) then {
if (s_player_deploybike < 0) then {
s_player_deploybike = player addaction[("<t color=""#007ab7"">" + ("Deploy Bike") +"</t>"),"custom\bike\deploy.sqf","",0,false,true,"", ""];
};
} else {
player removeAction s_player_deploybike;
s_player_deploybike = -1;
};
...but that doesn't work until scrolling while looking at a car or something else. It's like it have to be "activated" first by something else.
How can I add the scrollwheel option so that it shows up instantly?
Question
lima
Hi
I'm currently using a "right click to deploy bike"-script which works just fine - but I want the "deploy bike"-option to be available in the scroll menu as well.
For that I use something like this:
...but that doesn't work until scrolling while looking at a car or something else. It's like it have to be "activated" first by something else.
How can I add the scrollwheel option so that it shows up instantly?
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now