constraint.Weld with entity and map


When my server boots, it loads some entities on the map. But i can move these entities by pushing them with props, so it could be nice if i can weld these props to the map.

How can i use constraint.Weld() with an Entity and the map?

i tried something like here :

constraint.Weld( Entity ent1, Entity ent2, number bone1, number bone2, number forcelimit, boolean nocollide, boolean deleteent1onbreak )

but in fact, what i’m trying is more specific.


-Bump -

Really need help

What happened when you tried this? And why do you need something more specific?
Wouldn’t it be easier to just freeze those entities?

oh thx,I looked for something like this, but i didnt find it.

thx again