Jump to content

[need help]Prevent forklift from putting off crate


Kezoto

Recommended Posts

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

Edited by Kezoto
Link to comment
  • Kezoto changed the title to [need help]Prevent forklift from putting off crate

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...