delta1337 Posted February 24, 2018 Share Posted February 24, 2018 hello i have a problem, its about a script code which i was sent, it is supposed to show an image on the screen when you use nightvision and thermalvision, but it doesn't work, can you help me? would be cool if someone would sent the full code, but fixed Quote --fading math. if fading == 0 then fading2 = "up" elseif fading == 255 then fading2 = "down" end if (getCameraGoggleEffect() == "nightvision") or (getCameraGoggleEffect() == "thermalvision") then dxDrawImage( 0, 0, screenWidth, screenHeight, "images/night_vision.png") end Link to comment
NeXuS™ Posted February 24, 2018 Share Posted February 24, 2018 Use [ code] tags instead of quote. Show us the full code. Link to comment
delta1337 Posted February 26, 2018 Author Share Posted February 26, 2018 --fading math. if fading == 0 then fading2 = "up" elseif fading == 255 then fading2 = "down" end if (getCameraGoggleEffect() == "nightvision") or (getCameraGoggleEffect() == "thermalvision") then dxDrawImage( 0, 0, screenWidth, screenHeight, "images/night_vision.png") end <meta> <file src="images/night_vision.png"/> <script src="client.lua" type="client"/> </meta> ) This is NightVision PNG https://imgur.com/v7BSxnX Link to comment
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