Creating Light Beam or Corona

@logan-mcgee? I don’t have time right now :stuck_out_tongue:

Pretty sure i tried it and got no results :confused:

The illusive particle it too illusive for the @logan-mcgee.

1 Like

Too much illusive


I think this is what your looking for?

Citizen.CreateThread(function()
    while true do
    	Citizen.Wait(0)
    	x,y,z = table.unpack(GetEntityCoords(PlayerPedId(), true))
    	DrawSpotLight(x, y, z, 0.0, 0.0, 5.0, 255, 0, 0, 25.0, 100.0, 100.0, 25.0, 0.0)
    end
end)

That looks rather concerning, but lol… no. Not what I need. Spotlight only draws a light on the destination. It doesn’t light up the source or the beam itself.

it has a falloff? I thought that would probably be the spotlight effect, and yeah sorry getting ready for Halloween event on my server lol. What about DrawLightWithRange?

We tired that too but that’s not what we’re looking for. It’s rather the mean of light and the corona that shows up at the source of the light.