Jump to content

[HELP] dxDrawLine3D


Lezlike

Recommended Posts

  • Lezlike changed the title to [HELP] dxDrawLine3D

OnClientClick

IsMouseInPosition

 

On 10/10/2020 at 13:36, Lezlike said:

how can I turn the clicked line color to red, or size to bigger ? How can I detect which line was clicked?

for the color here's an example

local r = 255
local b = 0
local g = 0

addEventHandler("onClientRender", root,
function()
dxDrawLine3D ( 0, 0, 0, 0, 0, 0, tocolor ( r, b, g, alpha ))
end)

addCommandHandler('green',
function()
r = 0
b = 255
g = 0
end)

 

Link to comment

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...