Jump to content

Shady1

Members
  • Posts

    913
  • Joined

  • Last visited

  • Days Won

    61

Everything posted by Shady1

  1. Shady1

    Error

    hello welcome to the forum, i will give an explanation about your problem,download the link i will send,and waiting for your message back https://nightly.mtasa.com/mtasa-1.5.9-rc-21507-20230101.exe
  2. it's a really good decision, now MTA players understand that they should never do anything malicious again,it's a gift to them, happy new year everyone..
  3. THIS TOPIC is the first topic of 2023, have a nice day
  4. first of all hi guys, I want to announce that we need the team for our MTA DayZ server,i have finished many coding and scripts, but i need team mate (Staff/Scripter/Developer) I am alone and looking for a volunteer friend to deal with problems we can have our conversations on discord : Shady1#8980
  5. hello welcome to the forum, I am sorry to tell you that the loader.dll in the MTA nightly version is currently facing a problem,i got workaround for this and i want to share it with you... click for MTA download 1) delete MTA files. 2) download and install the MTA link I sent you. (click for MTA download) 3) run a MTA 4) finally good games...
  6. Hello again @JeViCoI did some research and here's what I have to say : The picture may be getting corrupted because you are reading it as a string,it might be losing bit depth,Why don't you read this as a file?
  7. Can you send the icon you use, I want to review (image)
  8. hello! @JeViCo welcome to forum,set mipmap option to false element dxCreateTexture ( string pixels / string filepath [, string textureFormat = "argb", bool mipmaps = true, string textureEdge = "wrap" ] ) https://wiki.multitheftauto.com/wiki/DxCreateTexture
  9. I'm lazy enough to do this,I'm just suggesting, if they can why not
  10. There are a few buttons at the top of the forum when I click on them, they automatically disappear from the forum and the link I click opens. It would be better if we could open the link in a new tab when we click the buttons
  11. you're welcome, if you have a question, please create a new topic and tag me
  12. hello welcome to the forum i checked your code and made some changes, you didn't edit the timer to source,you can test. function reviveFunction() if (getElementData(testped, "playerDown") == true) then local thePlayerElem = getElementType(source) if(thePlayerElem == "player") then setPedAnimation(source, "bomber", "bom_plant_loop", -1, true, false, true, false, 150) setTimer(function(source) setPedAnimation(testped) setElementHealth(testped, 50) setPedAnimation(source) end, 10000, 1, source) -- pass source to timer end end end addEvent("startRevive",true) addEventHandler("startRevive", getRootElement(), reviveFunction) have a nice day.
  13. Shady1

    MTA Crash

    Hello, welcome to forum... Just about an hour ago there's been a possible fix merged on GitHub regarding this crash error, you can check this here: https://github.com/multitheftauto/mtasa-blue/pull/2849 Try updating to the latest nightly version and see, if this helps (it contains this latest crash fix attempt): https://nightly.mtasa.com/mtasa-1.5.9-rc-21474-20221225.exe
  14. Welcome to forum @luanzinn78 loader.dll (error 126) has been flagged as a false positive by Avast, McAfee and perhaps other antivirus software. This means that your antivirus software thinks it's a virus, but it actually isn't. Avast instructions - Make sure Avast is up to date - Reinstall MTA McAfee - Open your McAfee security software. - Click the settings cog at the top right. - Click Real-Time Scanning. - Click Excluded Files. - Click Add file. - Browse to, and select, the file that you want to exclude from scans. You'll need to exclude the MTA installation folder. Once done, reinstall MTA and then add "loader.dll" to your exclusions and remove the previously added exclusion for the MTA folder. If you want you can skip the last bit and keep MTA installation folder whitelisted (excluded)
  15. Shady1

    Help Please

    welcome to the forum, actually there are multiple Lua tutorial presentations on the MTA forum, you can just skim a little and practice, if you have any extra questions I can help you. Lua Script Tutorials : https://forum.multitheftauto.com/forum/123-tutorials/ There are more of these available, you just have to take a look. If you have questions and mistakes, you can create a topic by scripting. https://forum.multitheftauto.com/forum/71-scripting/ have a nice day.
  16. hmm, you can try the code i will send you and don't forget you should check debug... function dxGridListSetItemText(element, columns, name) outputDebugString(tostring(self.items[columns])) --add debug lines outputDebugString(tostring(self.items[columns][element])) if self.items[columns] and self.items[columns][element] then self.items[columns][element].text = text end end
  17. hello welcome to the forum, if you explain your problem in a more descriptive way we can help you,For example, you can explain the problems in debugscript 3 side, or you can explain a little what exactly is the problem.
  18. I'm glad if your problem is fixed, if you liked my comment you can like my comment have a nice day
  19. hello welcome to the forum, i tested your code but there is no problem, can you tell me exactly what problem you are having
  20. hello welcome to the forum, first you should check username or password, you may be entering wrong password,If the problem persists, could you please post the line of code so I can helpyou better?
  21. Shady1

    dxImage

    thanks for trying to add comments but your code is not working i think you need to improve this code or i can do it for you... bindKey has the same name as your function local isRendering function renderImage() end function bindRender() --change this isRendering = not isRendering outputDebugString(isRendering) if (isRendering) then addEventHandler('onClientRender', root, renderImage) return true end removeEventHandler('onClientRender', root, renderImage) end bindKey('o', 'down', bindRender)
  22. Shady1

    dxImage

    hi, thanks for tagging me and asking for help, I have prepared a line of code to help you, I hope it will be useful for you. you can do this using a variable and bindKey local isImage = false addEventHandler("onClientRender", root, function() if(isImage) then dxDrawImage(...) -- draw image if isImage true end end ) bindKey("o", "down", function() if(isImage) then isImage = false else isImage = true end end )
×
×
  • Create New...