Jump to content

stefutz101

Members
  • Posts

    245
  • Joined

  • Last visited

Everything posted by stefutz101

  1. dxDrawImageSection(screenW * 0.6340, screenH * 0.0130, screenW * 0.3551, screenH * 0.5534, 0, 0, ((getElementData(getLocalPlayer(),"blood") or 0)*425)/12000, 425, ":DayZ/images/health.png", 0, 0, 0, tocolor(r, g, b, 170), false) My maximum health is 12000 . So if i will have maximum blood it will be 12000 * 425 / 12000 = 425. When i have 12k blood it is displayed fine . (see photos)
  2. Yah it works but it don't works like i want . Why the image is moving in right once my health is decreasesing ? http://postimg.org/gallery/f30r61s2/ Any help ? This was my real problem , i don't know how to fix that , first time i think i was doing something wrong , but why the image leave that border ?
  3. Ok , and how i can fix that ? Can someone give me an example how i must draw 200 px from that image ?
  4. Hi . I'm trying to make a new health bar, but i'm got stuck. I'm trying to do it with relative positions, because i've tried with absolute position and at some resolution it works bad. Photo is 485 x 425 px. Maxim health is 12000. I can do it , but i don't know why it looks like this : https://s32.postimg.org/krx2y33ad/mta_s ... _11_13.png i'm trying to draw 200 px from that photo so : my resolution is 1366*768 200/1366 = 0.1464 dxDrawImageSection(screenW * 0.6340, screenH * 0.0130, screenW *[ 0.1464], screenH * 0.5534, 0, 0, 425, 425, ":DayZ/images/health.png", 0, 0, 0, tocolor(r, g, b, 170), false) And it looks like this: https://s32.postimg.org/krx2y33ad/mta_s ... _11_13.png full photo (485px) 485px/1366 = 0.3551 dxDrawImageSection(screenW * 0.6340, screenH * 0.0130, screenW * [0.3551], screenH * 0.5534, 0, 0, 425, 425, ":DayZ/images/health.png", 0, 0, 0, tocolor(r, g, b, 170), false) And it looks like this: https://s31.postimg.org/wsr8ibe2z/mta_s ... _22_09.png PS: i used "[,]" to make that number more visible. Any help ? Please ?
  5. guiGridListSetSortingEnabled i found that function . This function block sorting DONE . I solved the problem.
  6. How to reset that order ? What's the function name ? My script is affected after i change the list order , so i want to reset order back. Thanks in advance!
  7. How i can fix that bug when all cars fall from base ? I mean if cars are at secound floor they will fall while they arrive on the ground. How i can fix that ?
  8. function showmembers(playersource,command) if not isGuestAccount(getPlayerAccount(playersource)) and getElementData(playersource,"gang") ~= "None" then local members = getGangMembers(getElementData(playersource,"gang")) outputChatBox(toJSON(members),playersource,255,255,255) end end addCommandHandler("members",showmembers) getGangMembers = function(gangName) if doesGangExists(gangName) then local data = executeSQLQuery("SELECT member_account FROM gang_members WHERE gang_name = '" .. tostring(gangName) .. "'") return data else return false, "The gang doesn't exists." end end How i can make to display all members one per line . Because it displays something like this : https://i.snag.gy/MKAqEo.jpg { [["member_account":"st3f101" ]]} I want to display only the account name.
  9. I can't scan my pc with another anti virus ? EDIT : Oh i just realised my avast trial period expired . That's why i can activate it. So what i must do next ?
  10. That panel is from 'play' gamemode . If you want to remove that panel you must edit gamemode . Or you must edit it .
  11. https://snag.gy/B5Luln.jpg i think this might be a problem ... If i select Boot-time scan it put me to restart computer , and after that i must select again 'Boot-time scan' then press scan and again restart computer and so on .. After the comptuer starts nothing happen.
  12. I already scanned with Malwarebytes | Free Anti-Malware & Internet Security Software no virus found . That error appear when i close that window , so i guess i must select something .
  13. https://snag.gy/pEiht5.jpg this one
  14. https://snag.gy/zeoYJU.jpg what i'm supposed to do here ? I mean if i will close that window i will get an error .
  15. http://upload.mtasa.com/u/700534378/Logfile.PML_ i'm not sure if i is good , but look.
  16. http://upload.mtasa.com/u/195955476/sec.txt_ look
  17. https://pastebin.mtasa.com/454948696
  18. Hi 2 dayz ago i installed a mode for a car . I want to enter on a TOP-Gta server and i'm got kicked. I installed gta:sa + mta over 6 times. I cleared registry , i scanned pc with an antivirus , i installed a program to uninstall completly a program , I deleted temporary files , and search in %appdata% and deleted each file what have name gta : sa , rockstar games , etc . AND still don't work ... please . I don't know what to do . I don't have installed any cheat in my pc and when i'm was trying to enter on server i'm was only with skype and MTA opened. And i also tired to close skype and connect to server, but still dont works . How i can solve this , please ... I lost 2 dayz trying to fix this but without results... Please. On thers servers what have disabled that SD i can connect without problems .
  19. No problem . Ok i will post . Thanks . Solved here.
  20. Thanks . But still i dont know how to fix that problem , when i'm trying to connect on a server and i'm got kicked SD #16 021A. What i should do ?
  21. So how i can start that anti-cheat or how i can fix this ? This will work if someone is trying to connect with modified map ? Server AC info: [Allowed client files: None] [Disabled AC: None] [Enabled SD: 12,14,15,16,22,28] Enabled anti-cheats on that server. Yes on other servers works . But i want make my server to reject players with modified map to join on server. And i'm not sure what id's i must put at ... .
  22. Hi 2 dayz ago i installed a mode for a car . I want to enter on a TOP-Gta server and i'm got kicked. I installed gta:sa + mta over 6 times. I cleared registry , i scanned pc with an antivirus , i installed a program to uninstall completly a program , I deleted temporary files , and search in %appdata% and deleted each file what have name gta : sa , rockstar games , etc . AND still don't work ... please . I don't know what to do . I don't have installed any cheat in my pc and when i'm was trying to enter on server i'm was only with skype and MTA opened. And i also tired to close skype and connect to server, but still dont works . How i can solve this , please ... I lost 2 dayz trying to fix this but without results... Please.
×
×
  • Create New...