Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 23/10/19 in Posts

  1. Link descarcare harta : https://community.multitheftauto.com/index.php?p=resources&s=details&id=16139
    1 point
  2. Sobre criar a zona colorida no radar: createRadarArea Sobre criar uma mensagem DX: dxDrawText
    1 point
  3. With ipairs it will stop looping as soon as it encounters a non-existent index. I.e. for 1,2,8 will only execute for 1 and 2, and because 3 does not exist it will break out of the loop. You'll need to use an auto-indexed table with the layer priority as a part of the layer data table, and table.sort after every addition
    1 point
  4. Because there is difference beetween pairs and ipairs. And yes, you are find out the problem, what is it. When you use pairs the sequence will be not the sequence of the ordered number keys. Use the ipairs, and you might have what you want to earn.
    1 point
  5. @XaskeL Try https://github.com/crosire/reshade-shaders/blob/master/Shaders/SMAA.fx https://github.com/crosire/reshade-shaders/blob/master/Shaders/SMAA.fxh Also https://github.com/iryoku/smaa/blob/master/Demo/DX9/Shaders/SMAA.fx https://github.com/MikuMikuShaders/SMAA/blob/master/SMAA.fx https://github.com/ze413X/AA-FXAA-SMAA/tree/master/Application/Assets/Shaders
    1 point
  6. VF #2 kicks are usually because your PC is infected with a virus or malware. There are 2 reasons: - Something external (like a virus or cheat, perhaps for another game) is trying to write to the memory of GTA or MTA data files - GTA or MTA data files (DLL) have unauthorized mods or are corrupted. Instructions: 1) Run a full anti-virus and malware scan. Clean anything that it finds. For more information, visit this page 2) Re-install GTA San Andreas with a clean, unmodded version. This ensures files are not modified in ways that will kick you, and that changes to DLL files made by a virus that you now removed with a scanner are reversed. 3) Do not run any dodgy software that you can imagine may try to hook, or write memory to, any DLL files it can find and finds interesting; this is characteristic for viruses that want to infect any suitable files on your PC, but it can also be a PUP (Potentially Unwanted Program) or anything that relies heavily on tampering with execution of other software to function, so-called intrusive software.. imagine stuff like overlays or software that claims it can help you do something with any other software. You can end processes of software (or disable them) one by one to find out the culprit if the problem persists after following all of these instructions. *Note: this is a new template reply for VF #2 errors. In some cases, we will provide the exact file that is being manipulated by something, or has been modified. In your case ( @laks )that is vorbisfile.dll in your GTA installation directory. You could try restoring this file to original GTA version to potentially avoid following the other instructions. If it happens again after doing so, your PC is infected or something is in fact writing to its memory/hooking it, then you need to fall back on the instructions above.
    1 point
  7. Quest-System Salut jucatori de MTA, am lucrat la un sistem de quest pentru voi am sa las mai jos un link de descarcare. Creat de catre : Felix5k Discord : Felix5k#2041 Link : https://community.multitheftauto.com/index.php?p=resources&s=details&id=16061
    1 point
  8. If you want to crash your game, go ahead: local n = 0 local h1, h2, h3 = debug.gethook() debug.sethook(nil) while (n <= 10) do if not (isTimer(timer)) then timer = setTimer(function() outputChatBox("Number: "..n) n = n + 1 end, 1000, 1) end end debug.sethook(_, h1, h2, h3) This should stop the error but will lag your client lol. EDIT: I suppose you want to run timer 10 times? Use it like: local n = 0 timer = setTimer(function() outputChatBox("Number: "..n) n = n + 1 end, 1000, 10)
    1 point
  9. You can do it with getTickCount() Example: local repairDelay = 30000 -- 30 seconds delay (in ms) local delayTick = false function repairFunction() -- Check when the last repair was if getTickCount() - delayTick < repairDelay then return end -- If it's less then repairDelay ms ago then abort -- repair code --set tick when repair happened delayTick = getTickCount() end Not tested, but you get the point.
    1 point
×
×
  • Create New...