Jump to content

Attaching player to..


Antibird

Recommended Posts

Hello. I didn't find anyone else ever asked the same, so...

When you attach a ped (a player) to an element (e.g vehicle, or another player) there's no synchronization between these 2 elements in a way that rotation the base element (along z axis) doesn't rotate the attached player. There's no such a thing with attached objects or vehicles, players only. Can anybody suggest some efficient way how to make player and base element rotating together?

Link to comment

Can't say that's bad solution, but definitely not the one that might help that soon.

Anyway It's done now so another question just came up: does setElementsAttachedOffsets function really works server-side? Because according to what wiki says - it should:

https://wiki.multitheftauto.com/index.php?title=SetElementAttachedOffsets

Plus to that, could anyone say if it works for players? I couldn't "move" player attached to vehicle, but everything is fine when doing vice-versa, i.e you can set new offset for vehicle/object/whatever, but not the player.. (

Nothing happens so far.

Link to comment

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...