ice_brasil Posted May 15, 2013 Posted May 15, 2013 function fades() local rnd = math.random(2,4) fadeCamera(false, rnd, math.random(1,255), math.random(1,255), math.random(1,255)) local xx, yy, zz = getElementPosition(getLocalPlayer()) setTimer(function() fadeCamera(true, 1) end, rnd*1000/2, 1) end the color is very strong, what do I add to the color is softer,middle transpararente?
Castillo Posted May 15, 2013 Posted May 15, 2013 I don't think you can do it with fadeCamera, but you could do it with a dx rectangle I think.
ice_brasil Posted May 16, 2013 Author Posted May 16, 2013 function startDrug() dxDrawRectangle ( 3.8, 3.8, 2.02, 2, tocolor ( 0, 0, 0, 150 ) ) end addEventHandler("onClientRender", getRootElement(), startDrug) ???I should add that????
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