Hi, im trying to prevent player from putting off crate, please help me if you know how to fix it.
thats how crate is attached to fork:
[lua]
skrzynieGraczy[client] = createObject(obiekty[praca].idObiektu, 0, 0, 0)
setElementCollisionsEnabled(skrzynieGraczy[client],false)
setElementFrozen(skrzynieGraczy[client],true)
stopObject(skrzynieGraczy[client])
attachElements(skrzynieGraczy[client],wozkiGraczy[client],0,0.5,0.3,0,0,0)
[/lua]
Here is video that showing my problem: https://gyazo.com/ff5ab17194ce5a99b0c8f972ce20c5fc