Pablo_Escobarz Posted March 22, 2021 Posted March 22, 2021 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!
Shourya90 Posted March 23, 2021 Posted March 23, 2021 Other option maybe mp.cameras.new and camera.attachTo 1
Pablo_Escobarz Posted March 23, 2021 Author Posted March 23, 2021 14 hours ago, Shourya90 said: Other option maybe mp.cameras.new and camera.attachTo Solved, thanks!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now