formel117 Posted August 30, 2014 Share Posted August 30, 2014 I'm making a heli lift mod for mutliplayer use, but I've come across this weird bug that makes no sense. When you use the AttachCarToCar on to attach a "normal"(Not spawned by a player) to any vehicle, it shows for the one using the function, but not anybody else, and when you detach it, it gets teleported to where you've lifted it and falls down for everyone. I'm using the RequestControlOfNetworkId and I do have control of it at the time of attaching. This glitch does not occur when using AttachCarToCar with a player spawned vehicle, and it completely baffles me. Has anybody got any information on this? Link to comment Share on other sites More sharing options...
Jitnaught Posted August 30, 2014 Share Posted August 30, 2014 (edited) Attach an object to the main car which you want to drivr, and attach the other car to the object. AttachObjectToCar and AttachCarToObject I believe. Edited August 30, 2014 by LetsPlayOrDy Link to comment Share on other sites More sharing options...
formel117 Posted August 30, 2014 Author Share Posted August 30, 2014 And this does not result in the same glitch? Link to comment Share on other sites More sharing options...
Jitnaught Posted August 30, 2014 Share Posted August 30, 2014 I don't believe so Link to comment Share on other sites More sharing options...
formel117 Posted August 30, 2014 Author Share Posted August 30, 2014 I've tried it now and it's the same result as AttachCarToCar, do you have any other ideas? Link to comment Share on other sites More sharing options...
Jitnaught Posted August 30, 2014 Share Posted August 30, 2014 No, sorry. Link to comment Share on other sites More sharing options...
leftas Posted August 30, 2014 Share Posted August 30, 2014 (edited) What about set car as mission car? Edited August 30, 2014 by leftas Link to comment Share on other sites More sharing options...
formel117 Posted August 30, 2014 Author Share Posted August 30, 2014 What about set car as mission car? Tried it, made no difference. Link to comment Share on other sites More sharing options...
leftas Posted August 30, 2014 Share Posted August 30, 2014 So save everything from vehicle (pos,heading,color and etc.) Delete car and recreate another vehicle with same everything as that vehicle had. Link to comment Share on other sites More sharing options...
formel117 Posted August 30, 2014 Author Share Posted August 30, 2014 (edited) I would, but the players that are inside the vehicle wouldnt be in the vehicle anymore. I've tried a number of different native functions to try and "activate" spawned car behaviour, but it seems that "natural" cars and spawned cars have different update/syncing cycles. Edited August 30, 2014 by formel117 Link to comment Share on other sites More sharing options...
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