Jump to content

Patrick

Moderators
  • Posts

    1,143
  • Joined

  • Last visited

  • Days Won

    42

Everything posted by Patrick

  1. pDownloader version 1.2.1 Better looking progress bar and players can play while downloading files. Video: https://streamable.com/bedf40 Documentation moved to GitHub! Go to GitHub...
  2. Ehhez olyan autó model kell, aminél az oldalsó ajtó egy külön komponens, mivel a komponenseket lehet mozgatni, forgatni, stb. Ha ez megvan, akkor a setVehicleComponentPosition funkcióval tudod mozgatni. Ha szép folyamatosan mozgást szeretnél, akkor egy render-eventben apránként mozgatod az elemet, vagy setTimer-el, de az "darabosabb" mozgás lesz. A getVehicleComponents funkcióval pedig a komponenseket tudod lekérdezni, a példa tök jó hozzá.
  3. maybe setWorldSpecialPropertyEnabled setWorldSpecialPropertyEnabled("extraairresistance", false)
  4. Wrong section and language, moved to Portuguese scripting section.
  5. Wrong language, moved to Spanish section.
  6. You can't use aclGetGroup on client-side, it's a server-sided function.
  7. What is 3R, a server? Because it's the global MTA Forum, and not a specific server's forum.
  8. Szia! Az MTA Serialod megváltoztatására nincs lehetőség. Ha pedig egy szerveren szeretnél karakterhez csatolt serial váltást kérni, akkor nem jó helyen jársz, ez a globális MTA Forum, nem egy adott szerveré.
  9. Wrong language, moved to Portuguese section.
  10. Wrong language, moved to Portuguese section.
  11. Sorry, I don't give personal help in PMs for others, but you can join to our discord server, there you can talk with others in the scripting channels. https://discord.com/invite/mtasa
  12. It's setElementData and not SetElementData.
  13. saveMapData... ? thats new for me ?
  14. Probably general.http is enabled for Default ACL group, set it to false.
  15. Loop trough all objects, get details and write it to a file, like any .map editor file. You can check the syntax in an existing .map file. Something like that -- CLIENT SIDE local objects = getElementsByType("object") local file = fileCreate("clonedmap.map") fileWrite(file, "<map>\n") for i = 1, #objects do local obj = objects[i] local x, y, z = getElementPosition(obj) local rx, ry, rz = getElementRotation(obj) row = ('\t<object id="something (%d)" breakable="%s" interior="%d" collisions="%s" alpha="%d" model="%d" doublesided="%s" scale="%d" posX="%f" posY="%f" posZ="%f" rotX="%f" rotY="%f" rotZ="%f"></object>\n'):format( i, tostring(isObjectBreakable(obj)), getElementInterior(obj), tostring(getElementCollisionsEnabled(obj)), getElementAlpha(obj), getElementModel(obj), tostring(isElementDoubleSided(obj)), getObjectScale(obj), x, y, z, rx, ry, rz ) fileWrite(file, row) end fileWrite(file, "</map>") fileClose(file) Save file to mta_folder/mods/deathmatch/resources/YOUR_RESOURCE_NAME/clonedmap.map
  16. Wrong language, moved to Portuguese section.
  17. Wrong language, moved to Polish section.
  18. Hi, your topic moved to scripting section. And you should use getSoundFFTData.
  19. Wrong language, moved to Arabic section.
  20. Patrick

    Skin

    Probably because you change it when respawn the player with spawnPlayer
  21. Patrick

    MTA Offline Wiki

    @ShayF2 @xFabel @DiGiTal Hi guys! It's an old topic, so probably he isn't developing it anymore. Here is the wiki dump, you can download it as zip and use offline. Link: https://github.com/qaisjp/wiki-dump (description)
  22. Hi! You can change the handling for a specific vehicle with setVehicleHandling.
×
×
  • Create New...