Hey,
im trieng to get the booby traps working, but sadly i havent come that far:
I get the option to build a booby trap, but they dont appear in game. Also i want them to written in DB and deleted after they explodet
i didnt changed anything in the setBomb.sqf, detonateBomb.sqf or createBomb.sqf and addet follwoing to my fn_selfaction:
Thanks for any help
EDIT: got them working, now i need them to get written to database. Has anybody an idea?
im trieng to get the booby traps working, but sadly i havent come that far:
I get the option to build a booby trap, but they dont appear in game. Also i want them to written in DB and deleted after they explodet
i didnt changed anything in the setBomb.sqf, detonateBomb.sqf or createBomb.sqf and addet follwoing to my fn_selfaction:
Code:
if ((speed player <= 1)) then {
if (s_player_makeBomb < 0) then {
s_player_makeBomb = player addAction [("<t color=""#c30000"">" + ("Place Exploding Booby Trap") +"</t>"),"Scripts\setBomb.sqf","",5,false,true,"",""];
};
} else {
player removeAction s_player_makeBomb;
s_player_makeBomb = -1;
}; // End toggling of Matt L's Bomb
Thanks for any help
EDIT: got them working, now i need them to get written to database. Has anybody an idea?