Jump to content

FileEX

Helpers
  • Posts

    56
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by FileEX

  1. Dla cheaterów nie ma rozwiązań - proste.
  2. Stabilize your internet connection
  3. How exactly does the crash manifest? Does MTA just close without a message, or do you get a crash dialog box? If there’s a dialog box, attach a screenshot of it. Try this version of MTA: https://nightly.mtasa.com/mtasa-1.6-rc-23681-20251221.exe
  4. Run mtadiag ( ) and paste results here
  5. FileEX

    How To Fix This?

    It’s likely that the server you’re playing on has an issue with a model that is corrupted.
  6. FileEX

    How can fix this?

    Wait for the update or download older version: https://nightly.mtasa.com
  7. Use setVehicleModelWheelSize or setVehicleWheelScale
  8. FileEX

    gta3.img

    There are no errors with reading the gta3.img file. If there are any, they only affect you, so you'll need to fix it on your own
  9. local function toggleLight(player) local plane = getPedOccupiedVehicle(player) if (plane) then local lightMarker = getElementData(plane, "lightMarker") if (isElement(lightMarker) then -- disable light destroyElement(lightMarker) removeElementData(plane, "lightMarker") return end -- enable light local x,y,z = getElementPosition(plane) local lightMarker = createMarker(x,y,z - 1, 'corona', 1, 255,255,255,150) attachElements(lightMarker, plane, 4, 3, -2) setElementData(plane, "lightMarker", lightMarker, false) end end addEventHandler('onVehicleEnter', root, function(seat,plr) if (seat == 0 and getElementModel(source) == 553) then bindKey(plr, "3", "down", toggleLight) end end) addEventHandler('onVehicleExit', root, function(seat,plr) if (seat == 0 and getElementModel(source) == 553) then unbindKey(plr, "3", "down", toggleLight) end end)
  10. Jak sama nazwa wskazuje numer seryjny (serial) tego urządzenia został zablokowany albo przez MTA albo przez sam serwer.
  11. The ability to use LODs with buildings is pending approval and merging on the MTA repository https://github.com/multitheftauto/mtasa-blue/pull/3371 Buildings are still under work and development
  12. You can also create a bike, set its alpha to 0 and attach it to a plane and turn on the lights via setVehicleOverrideLights
  13. The engineImportTXD function takes only one argument as ID. This is according to the wiki and the source code of this function (https://github.com/multitheftauto/mtasa-blue/blob/1f2c6e75fb71b01f0053f151e766a232ed33692b/Client/mods/deathmatch/logic/luadefs/CLuaEngineDefs.cpp#L608)
  14. I think some resource had it, but I'm not sure. Generally it is possible, but you would need to have ped paths from GTA SA
  15. When it comes to NPCs, these resources will interest you https://community.multitheftauto.com/index.php?p=resources&s=details&id=14650 https://community.multitheftauto.com/index.php?p=resources&s=details&id=15370 As for voice chat, it is available. https://community.multitheftauto.com/index.php?p=resources&s=details&id=18795 https://wiki.multitheftauto.com/wiki/Resource:Voice When it comes to saving information, you can use SQL or MySQL. https://forum.multitheftauto.com/topic/32423-tut-sqlite/ https://forum.multitheftauto.com/topic/112941-tut-how-to-create-id-system-by-database/ In the "tutorials" section you will find a lot of useful information
  16. Sometimes interpolateBetween does some weird rounding. Try manual interpolation money = lastMoney + (newMoney - lastMoney) * progress; Or use what Tekken provided
  17. The "Blur" resource does not have the dxDrawBluredRectangle function or it is not exported in meta.xml
  18. FileEX

    Help

  19. I don't understand what the problem is. If you exceed the maximum amount, it is normal that the number is higher
  20. What do you mean by wheel type?
  21. Read this https://wiki.multitheftauto.com/wiki/Script_security and don't buy anything
  22. As you can see, you start the interpolation from 0. Write down the current balance of money before you start the interpolation and start from there. You can use e.g. a ticks to see if the amount of money has changed local fromMoney, toMoney, visibleMoney = 0,0,0; local moneyCheckTick,moneyAnimTick = getTickCount(); if (moneyCheckTick and not moneyAnimTick) then if (getTickCount() - moneyCheckTick > 1000) then -- check every 1 s local money = getPlayerMoney(localPlayer); if (visibleMoney ~= money) then moneyAnimTick = getTickCount(); fromMoney, toMoney = visibleMoney, money; end moneyCheckTick = getTickCount(); end end if (moneyAnimTick) then local progress = (getTickCount() - moneyAnimTick) / 1000; visibleMoney = interpolateBetween(fromMoney, 0, 0, toMoney, 0, 0, progress, 'Linear'); if (progress > 1) then moneyAnimTick = nil; end end -- dxDrawText for visibleMoney variable Sorry for the broken indentation in the code, but the code editor on the forum is strange and I don't know why it happens.
  23. Use interpolateBetween
  24. Upload your vehicles.ide to your server's FTP and load it on the server side with fileOpen and fileRead.
  25. The player places the vehicles.ide file in the mta->mods->deathmatch->resources->your resource directory Then, from the script level, you open this file and load data from it. Exactly the same as the script above. You can check its source code If you just want to have the vehicles.ide file on the server, you can upload it to your server's FTP and load it on the server side. I don't know what you want to achieve, but the only option is to manually read the file contents and parse its contents
×
×
  • Create New...