chris1384 Posted March 28, 2018 Posted March 28, 2018 The question is in the title, is it possible? And how? lucky me
Moderators Pirulax Posted March 29, 2018 Moderators Posted March 29, 2018 (edited) Why would't it be? Just set the right x, y, z positions.If you want it to be visible thru an object use 'onClientRender' event, if you dont want it to be, use 'onClientPreRender'. Why? See Game Processing Order. Edited March 29, 2018 by Pirulax
chris1384 Posted March 29, 2018 Author Posted March 29, 2018 Oh, now I realised that i didn't wrote the title correctly ? my bad. Anyway, I want the dxDrawLine3D to be visible through objects, for example: Point A at Caligulas Casino and point B at Grove Street, without dissapearing. lucky me
Moderators IIYAMA Posted March 29, 2018 Moderators Posted March 29, 2018 https://wiki.multitheftauto.com/wiki/GetScreenFromWorldPosition (Put high edgeTolerance) https://wiki.multitheftauto.com/wiki/DxDrawLine 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
Moderators IIYAMA Posted March 29, 2018 Moderators Posted March 29, 2018 Did you found another solution? 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
Moderators Pirulax Posted March 30, 2018 Moderators Posted March 30, 2018 13 hours ago, IIYAMA said: Did you found another solution? Doesnt my example work? Yeah, actually it doesnt, since it doesnt matter where it put the things to be drawn in the queue, because it will be always drawn after GTA renders the world.
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