Jump to content

[HELP] dxDrawImageS changing


Recommended Posts

Posted

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

76561198066470453.png

SP37Ecj.jpg?2MTA:Rust Pre-Alpha Build v.0.3:SP37Ecj.jpg?2

https://forum.mtasa.com/viewtopic.php?f=114&t=97848

2Pac: ''Only God can judge me!''

Posted

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?

logo-small.png?v=3 tiny-sapdfr.png

 

If you want to contact me directly concerning Advanced-Gaming, please contact me at [email protected]

Posted

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;

logo-small.png?v=3 tiny-sapdfr.png

 

If you want to contact me directly concerning Advanced-Gaming, please contact me at [email protected]

Posted

We don't give support with leaked scripts.

Topic locked.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...