Jump to content

How to put an image when a player has for example 10 of heal


GamerDeMTA

Recommended Posts

How to put an image like the screen black when a player has 10 of health?

black screen use

  
  
[url=https://wiki.multitheftauto.com/wiki/FadeCamera]https://wiki.multitheftauto.com/wiki/FadeCamera[/url] 
  

to create image use

  
[url=https://wiki.multitheftauto.com/wiki/DxDrawImage]https://wiki.multitheftauto.com/wiki/DxDrawImage[/url] 
  

or

  
[url=https://wiki.multitheftauto.com/wiki/GuiCreateStaticImage]https://wiki.multitheftauto.com/wiki/Gu ... taticImage[/url] 
  

use this event on client side

[url=https://wiki.multitheftauto.com/wiki/OnClientPlayerDamage]https://wiki.multitheftauto.com/wiki/On ... ayerDamage[/url] 

to get health

[url=https://wiki.multitheftauto.com/wiki/GetElementHealth]https://wiki.multitheftauto.com/wiki/GetElementHealth[/url] 

Link to comment
guiCreateStaticImage 

I advice you to use the guieditor resource to determine the place of the picture ..

+

We don't give full codes, You make your own and if it didn't work then we'll help ;) , Or search in the community, Or pay some scripter to do it for you ..

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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