graeme bourne
Member
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've also posted this on epoch.com to see if they have any ideas as well
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..
EDIT: after some more reading, its on the scrollwheel, but cant get the bike to work... all upgrades and repacks do though
Any suggestions would be appreciated
Bags
I've also posted this on epoch.com to see if they have any ideas as well
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
Code:
// 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;
};
EDIT: after some more reading, its on the scrollwheel, but cant get the bike to work... all upgrades and repacks do though
Any suggestions would be appreciated
Bags