not having followed this thread i'm not sure what solutions you're working with. however, i'll offer my tuppenceworth of advice
firstly, decide which method you're using to create the sandbags and/or wire - are they created somewhere secret on the map and then called into position, or are they created out of thin air with the camcreate command...
either way, the objects need a name.
to answer the first part of your question - "wire'n sandbags excactly 2 meters in front of the player..."
_x = getpos player select 0
_y = getpos player select 1
_dir = getdir player
object_name setpos [_x + (2*sin(_dir)), _y + (2*cos(_dir))]
now when you say "in an angle of 90 degrees" i assume you mean you want the sandbag/wire to be at 90 degrees to the player.
object_name setdir _dir+90
will do the trick. now this all works if you have the objects already on the map and named. if you're using camcreate it's a little different. you'll need the name of wire and sandbags that the editor will recognise - i think it's something like "Fence" and "Wire".
so it would look something like this:
_x = getpos player select 0
_y = getpos player select 1
_dir = getdir player
w1 = "wire" camcreate [_x + (2*sin(_dir)), _y + (2*cos(_dir))]
w1 setdir _dir+90
that's not tested, but i'm 99% sure it'll work. hope it helps.
EDIT - now tested, see attached missionette....