OK guys, I've been trying to get this working... I can remove the bike but I can't get the bike to spawn... and I'm not sure exactly why..
I mean, EPOCH is all about the crafting, so I thought that this would be a good addon for my server, and as they don't save after restart,, it wouldn't clog up the DB with bikes either..
Now that bikes don't get a key from the traders either.... it just seemed like a logical step for the rebuilding storyline of EPOCH
Can someone point me in the right direction
// Bike //
if((speed player <= 1) && cursorTarget isKindOf "Old_bike_TK_CIV_EP1" && _canDo) then {
if (s_player_deploybike2 < 0) then {
s_player_deploybike2 = player addaction[("<t color=""#007ab7"">" + ("Re-Pack Bike") +"</t>"),"spawnbike\bike2.sqf","",5,false,true,"", ""];
};
} else {
player removeAction s_player_deploybike2;
s_player_deploybike2 = -1;
};
if((speed player <= 1) && _hasToolbox && _canDo) then {
if (s_player_deploybike < 0) then {
s_player_deploybike = player addaction[("<t color=""#007ab7"">" + ("Deploy Bike (will loose Toolbox)") +"</t>"),"spawnbike\bike.sqf","",5,false,true,"", ""];
};
} else {
player removeAction s_player_deploybike;
s_player_deploybike = -1;
};
whats wrong here..
I mean, should it be on the scroll wheel or by right clicking on the toolbox..
When I right click the toolbox though, I get a "remove camo net" option..
So I figure that it means it should be on the scroll wheel instead..
Question
Bags2247
OK guys, I've been trying to get this working... I can remove the bike but I can't get the bike to spawn... and I'm not sure exactly why..
I mean, EPOCH is all about the crafting, so I thought that this would be a good addon for my server, and as they don't save after restart,, it wouldn't clog up the DB with bikes either..
Now that bikes don't get a key from the traders either.... it just seemed like a logical step for the rebuilding storyline of EPOCH
Can someone point me in the right direction
whats wrong here..
I mean, should it be on the scroll wheel or by right clicking on the toolbox..
When I right click the toolbox though, I get a "remove camo net" option..
So I figure that it means it should be on the scroll wheel instead..
Any suggestions would be appreciated
Bags
Link to comment
Share on other sites
41 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now