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 Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
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... Do you require a paid scripter? Contact me! (Unavailable) Currently I am experienced in Lua, PHP, HTML, CSS, SQL and JS. Developer and owner of https://projectbea.st - Project Beast
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. Resources I made: attachToBones - A newer bone_attach. Simple Level system - Just a simple level system. Do not PM me for help with leaked scripts! I WILL NOT HELP YOU!
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). Do you require a paid scripter? Contact me! (Unavailable) Currently I am experienced in Lua, PHP, HTML, CSS, SQL and JS. Developer and owner of https://projectbea.st - Project Beast
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