stefutz101 Posted May 1, 2016 Posted May 1, 2016 How i can fix that bug when all cars fall from base ? I mean if cars are at secound floor they will fall while they arrive on the ground. How i can fix that ?
Captain Cody Posted May 1, 2016 Posted May 1, 2016 Freeze them when they stream out, when they stream in unfreeze them.
Moderators IIYAMA Posted May 1, 2016 Moderators Posted May 1, 2016 There is one other, render them at position. "onClientPreRender" setElementPosition
GTX Posted May 2, 2016 Posted May 2, 2016 Or just freeze them permanently and when someone enters a vehicle, unfreeze it (onVehicleEnter). There's actually no need to slow down your code with renders and stream events and such...
Tekken Posted May 2, 2016 Posted May 2, 2016 Best way is not mo make bases on the air and make them on default GTA ground.
GTX Posted May 2, 2016 Posted May 2, 2016 Best way is not mo make bases on the air and make them on default GTA ground. Not necessarily, if he really wants bases in the air, then my answer is the best (or CodyL's).
Captain Cody Posted May 2, 2016 Posted May 2, 2016 On stream out check if its a car if so Freeze; On stream in, check if its a car, if so unfreeze, simple as that causes 0 lag. Dear lord. https://wiki.multitheftauto.com/wiki/OnElementStartSync https://wiki.multitheftauto.com/wiki/OnElementStopSync https://wiki.multitheftauto.com/wiki/SetElementFrozen https://wiki.multitheftauto.com/wiki/GetElementType If you need help I'll write you a code later. Laptop doesn't want to work correctly so I can't at the moment.
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