-
Posts
1,143 -
Joined
-
Last visited
-
Days Won
42
Everything posted by Patrick
-
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...
-
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á.
-
maybe setWorldSpecialPropertyEnabled setWorldSpecialPropertyEnabled("extraairresistance", false)
-
Wrong section and language, moved to Portuguese scripting section.
-
Wrong language, moved to Spanish section.
-
You can't use aclGetGroup on client-side, it's a server-sided function.
- 1 reply
-
- 1
-
-
What is 3R, a server? Because it's the global MTA Forum, and not a specific server's forum.
-
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é.
-
Wrong language, moved to Portuguese section.
-
Wrong language, moved to Portuguese section.
-
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
-
It's setElementData and not SetElementData.
-
saveMapData... ? thats new for me ?
-
Probably general.http is enabled for Default ACL group, set it to false.
- 1 reply
-
- 1
-
-
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
-
MTA SEM MUSICA
Patrick replied to SilvaaG3's topic in Ajudas relacionadas ao MTA:SA (Cliente/Servidor)
Wrong language, moved to Portuguese section. -
Wrong language, moved to Polish section.
-
Hi, your topic moved to scripting section. And you should use getSoundFFTData.
-
Wrong language, moved to Arabic section.
-
@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)
-
Wrong language, moved to Arabic section
-
Hi! You can change the handling for a specific vehicle with setVehicleHandling.