Jump to content

Search the Community

Showing results for tags 'dimension'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Gang


Location


Occupation


Interests

Found 12 results

  1. Olá, coloquei uma loja mas queria que ela fosse acessada somente na dimensão "0", caso alguém vá nela pela dimensão "1" não conseguirá entrar nela. Está desta forma: local entrada = createMarker(810.5, -1616.246, 14.500, 'arrow', 1.0, 255, 69, 0, 0) ---> Obs Marcador da Entrada local blip createBlip (802.636, -1617.986, 19.383, 29) -------> Icone no mapa function entrar( hitElement, matchingDimension ) if getElementType( hitElement ) == "player" and not isPedInVehicle(hitElement) then setElementDimension(hitElement, 1) ------> Local Spawn dentro do interior setElementInterior(hitElement, 10, 364.534, -73.934, 1001.508) ------> Local Spawn dentro do interior end end addEventHandler( "onMarkerHit", entrada , entrar ) -------------------------------------------------- local saida = createMarker(362.848, -75.144, 1002.400, 'arrow', 1.0, 255, 69, 0, 1) ---------> Obs Marcador da Saida local ped = createPed (167, 376.508, -65.849, 1001.508, 180) --------> Npc setElementDimension(saida, 1) setElementInterior(saida, 10) setElementDimension(ped, 1) setElementInterior(ped, 10) function sair( hitElement, matchingDimension ) if getElementType( hitElement ) == "player" and not isPedInVehicle(hitElement) then setElementDimension(hitElement, 0) -----> Spawn Saida setElementInterior(hitElement, 0, 794.292, -1624.858, 13.391) -----> Spawn Saida end end addEventHandler( "onMarkerHit", saida , sair )
  2. Português coloquei uma loja mas queria que ela fosse somente acessada na dimensão "0" caso alguém va nela na dimensão "1" não conseguirá entrar nela Inglês I put a store but I wanted it to be accessed only in dimension "0" if someone goes to dimension "1" they will not be able to enter it Espanhol Puse una tienda pero quería que se accediera solo en la dimensión "0" si alguien va a la dimensión "1" no podrá entrar
  3. So I have a question, I have a model to import but I would like this object was only visible in a specific dimension. How can I do this?
  4. I'm creating a server with minigames, and I'll probably use dimensions to split the maps, and my question is this. If I have a script for a given mini-game, then in every dimension does this script change in its own way ?. I give an example. I have two maps ... the first one is in the first dimension, the name is attached, the script is attached after the player teleports to him and plays with other players who are in the first dimension. But there is also a second dimension with the same script. And this is about whether there will be no undesirable consequences between these two dimensions. For example, with Equipment, at the end of the minigame and resetting it again, I will have to clear Equipment, and I do not know if I will clear the equipment of players who are in this dimension or all who are on the server in general. ; /
  5. Hello! I'm just a newbee in MTA, now I'm learning the wiki. I've found the function SetElementDimension with description for the argument Dimension: "You can also use -1 to make the element visible in all dimensions (only valid to objects)." So, I have a question, why only for the objects? Why not for peds(players) and vehicles? So, it would be cool to have a dimension that everyone will see but won't see each other, like if two players would be in one apartments, but in two different dimensions(eg. 1 and 2), so they wouldn't see each other, like they are in two different apartments, but they would be able to see everything that happens in the street(-1 dimension), cars, walking peds and so on. At least, it seems to be cool :) If I'm not mistaken, the apartments in GTA Online works this way.
  6. Hi, I want to know how can I set the map to all dimensions of interior 1 for example. because if I put it in my RP server it will be in a specific dimension like 50 for example and if I create another interior with the command /addint id type name It will be created in a new dimension like 1700 but the map won't appear because it's on a specific dimension that is 50 so how can I make it appear to all dimensions of the interior? The current code is: <object id="object (int2Hoose2) (2)" breakable="true" interior="1" collisions="true" alpha="255" model="14701" doublesided="false" scale="1" dimension="50" posX="1451.3" posY="-34.5" posZ="1002.1" rotX="0" rotY="0" rotZ="0"></object> I hope you understand.
  7. Здравствуйте, дорогое комьюнити! Столкнулся с проблемой в функции nachalo. Должно быть так, чтобы маркер появлялся в 3 интерьере и в 14343 измерении. Но почему-то не работает. Скину вам полностью скрипт, проблема в функции nachalo. Помогите пожалуйста! marker = createMarker( -1285, -135, 15, "cylinder", 1.5, 255, 255, 0, 170) function MarkerHit( hitElement, matchingDimension ) if ( getElementDimension ( hitElement ) == 0 ) then -- if the player is in dimension 0 setElementDimension ( hitElement, 1 ) -- set his dimension to 1 local elementType = getElementType( hitElement ) -- get the hit element's type setElementInterior ( hitElement, 3, 390, 174, 1009 ) end end addEventHandler( "onMarkerHit", marker, MarkerHit ) -- attach onMarkerHit event to MarkerHit function marker1 = createMarker( 364, 174, 1009, "cylinder", 1.5, 255, 255, 0, 170) function nachalo ( hitElement, matchingDimension ) setElementInterior( marker1, 3 ) setElementDimension( marker1, 1 ) local elementType = getElementType( hitElement ) setElementModel ( hitElement, 1 ) end addEventHandler( "onMarkerHit", marker1, MarkerHit ) -- attach onMarkerHit event to MarkerHit function жду ответов!)
  8. Hi everyone, So recently I have been working on some scripting with the famous bone_attach script and I've noticed something important, when I attach object to the client and the client teleports to another interior/dimension, the objects gets invisible but when I go back to the 0 dimension&interior, It gets visible ! plus, even If I created and attached the object in dimension/interior other than 0, its Invisible, I teleport to 0 it gets visible . In this case, how should I make the object that attached to the client visible when he goes to another dimension & interior ? Any help is appreciated .
  9. Hello! I've made a login panel. After the player logs in, he'll need to select which character he wanna play with. At this point, the player see the selected character in gta world (interior: 0) and a window with his characters. Because if it's interior 0, I want to make only the local player see that character in the world, how is that possible if I can't set the camera's dimension?
  10. Hey, it seems to be impossible to create water in a different dimension than 0? Is there a way to move it to another dimension? On my server, dimension 0 is not used at all, so I cannot create water because of that as it seems. Bonsai
  11. السلام عليكم ، الطلب ك التالي لما احط اي شيء ب ايديت بوكس واضغط زر يروح للقريد ليست اللاسم وكل واحد اسم له رقم معين ، مثلا اول واحد سوا اسم الرقم يكون 1 وثاني واحد يسوي اسم الرقم يكون 2 الآن الاسم اجا بقريد ليست ، لما احدد اي اسم يجيبلي الرقم لهذا الاسم ، ولما اضغط زر واكون محدد اي اسم يجيب الرقم ويوديني مثلا عالم وهمي مشكورين مقدما
  12. Hello, I am scripting a panel that will set people into diffrent dimensions. But i need the code for chaning the Dimension Only, Please Every Answer would be to help. function teleportPlayer() if(source == GUIEditor.button[1]) then local teleportX, teleportY, teleportZ = 1210.48621, 2358.32373, 8.01253 setElementPosition(getLocalPlayer(), teleportX, teleportY, teleportZ) outputChatBox("You Have Been Set To The Arabian Server") end end addEventHandler("onClientGUIClick", root, teleportPlayer) ------------------------- function teleportPlayer() if(source == GUIEditor.button[2]) then local teleportX, teleportY, teleportZ = 1923.0625, -1760.005859375, 13.546875 setElementPosition(getLocalPlayer(), teleportX, teleportY, teleportZ) outputChatBox("You Have Been Set To The English Server") end end addEventHandler("onClientGUIClick", root, teleportPlayer)
×
×
  • Create New...