Jump to content

dxDrawLine3D through objects/buildings


chris1384

Recommended Posts

  • Discord Moderators
Posted (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 by Pirulax
Posted

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.

  • Discord Moderators
Posted
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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...