..:D&G:.. Posted May 24, 2014 Share Posted May 24, 2014 Hey, I want to create a small light, which indicates when the player has like 10% fuel left. I use getTickCount to cycle through 2 pictures (fuel.png = Light on, fuel2.png = light off). I also what to keep the small light off (fuel2.png drawn) but when my fuel is over 10, the image disappears. CODE REMOVED BY Solidsnake14 Link to comment
tosfera Posted May 24, 2014 Share Posted May 24, 2014 There is nothing wrong with this piece of code, only thing I should do is change your 'else' to an 'elseif'. Any errors in your debuglog? Link to comment
..:D&G:.. Posted May 24, 2014 Author Share Posted May 24, 2014 No errors, but the fuel2 does not show when the fuel is more than 10%... but they are only flickering when the fuel is under 10% (which is fine, because thats what it should do) but fuel2 isn't showing when the fuel is higher than 10%. Link to comment
tosfera Posted May 24, 2014 Share Posted May 24, 2014 Can you show me the entire code? Only concerning the fuel part though. Link to comment
..:D&G:.. Posted May 24, 2014 Author Share Posted May 24, 2014 CODE REMOVED BY Solidsnake14 Thanks for helping me by the way Link to comment
tosfera Posted May 24, 2014 Share Posted May 24, 2014 Well, seeing this reminds me that you have not written this piece of code yourself. I am sorry to say, but I'm not helping you on this subject anymore. This is a part of vG code and I ( and I think the entire community ) am not supporting people with leaked files. vG file; Link to comment
Castillo Posted May 24, 2014 Share Posted May 24, 2014 We don't give support with leaked scripts. Topic locked. Link to comment
Recommended Posts