PHP Code:
DispatchKeyValueVector(beam, "CoordMP", vecs);
SetEntPropVector(beam, Prop_Send, "m_vecEndPos", vecs);
SetEntPropVector(beam, Prop_Data,"m_hEndEntity", vecs);
Try any of those maybe. Im guessing it's pointing to 0,0,0 when you say "somewhere in the map"
Also, you're only teleporting env_steam when the "i" index is 1, and 2, but every other time you're creating them all without coords, eg 0,0,0 I guess. And the beam is created 12 times, not 2 lol. Fix all that and it might work as expected without the above code I put.
__________________