Jump to content
RAGE Multiplayer Community

attachTo function problem


Recommended Posts

Hi! Im'm trying to make spectate system using 'attachTo' function: https://wiki.rage.mp/index.php?title=Entity::attachTo

I'm using the function like this:

localplayer.attachTo(target.handle,  0, 0, 0, 0, 0, 0, 0, true, false, false, true, 0, false);

+ player.Transparency setted to 0 so the attached player can be invisible but here is the problem: The parameter 'collision' is set to FALSE but players can still hit each other.

Tried to use "setVisible' or 'setCollision' but still failed..

Is it possible to make a spectator system with this function or is there another option?

Thanks!

Link to post
Share on other sites

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