mtasa-pAttach icon indicating copy to clipboard operation
mtasa-pAttach copied to clipboard

Add option to disable toggling collision of attached object

Open CrosRoad95 opened this issue 1 year ago • 2 comments

I want to manually control when collision of particular object is enabled or not, so i need some kind of property that hand control over "setElementCollisionEnabled" to my code instead of pAttach

CrosRoad95 avatar Jul 08 '24 15:07 CrosRoad95

setElementCollisionEnabled is called when the element is attached/deattached. Is it not enough for you to call setElementCollisionEnabled(e, true) directly after attach?

Patrick2562 avatar Jul 09 '24 15:07 Patrick2562

From my tests it doesn't work, calling attach from server and slipe-server

CrosRoad95 avatar Jul 09 '24 19:07 CrosRoad95

Closed by https://github.com/Patrick2562/mtasa-pAttach/pull/15

Patrick2562 avatar Sep 28 '24 18:09 Patrick2562