Search the Community
Showing results for tags 'dxdrawimagesection'.
-
Hello Guys ! , Can someone help me please ? ok, I have difficulty in only create a function dxDrawImageSection. I need a function that the image is cut from top to bottom but with the count of the character's life, can someone help me please! local health = getElementHealth(getLocalPlayer()) dxDrawImageSection(screenW * 0.0439, screenH * 0.8000, screenW * 0.045, screenH * 0.18, screenW * 0.0, screenH * 0.0, screenW * 0.045, screenH * 0.18, "health.png")
-
Hello guys, i have a problem with the GPS which is integrated in the DayZ script. Here are the error in the debugscript : WARNING: DayZ\survivorSystem_client.lua:1664: Bad argument @ 'dxDrawImage'[Expected material at argument 5, got boolean] WARNING: DayZ\survivorSystem_client.lua:1666 Bad argument @ 'dxDrawImageSection'[Expected mat material at argument 9] And here is the script My problem : Yes, i tried to make a script only for the GPS, but it has the same results. And i know it can be solved by simply restarting the server but isnt there another way around? Because, if i restart it twice it reappears like this, so i have to restart it three times..
-
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");