Jump to content

[Problem] dxDrawImageSection


MrDante

Recommended Posts

Sorry my bad english

Hello people, I have a problem in the image section, I do not use every day so I am with many problems, I want this image is cut according to the damage of the vehicle, but that's not what's happening

The problem

http://imgur.com/lCG3sC9

as I want to leave

http://imgur.com/FOF5B6O

 

Script:  OBS(OOP Script)

dxDrawImageSection(Boxs.x+90, Boxs.y-15, 55, 50, 0, math.floor(localPlayer:getOccupiedVehicle():getHealth())/10, 48, 38, "Arquivos/Imagens/damage.png");

 

Edited by MrDante
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...