Jump to content

Search the Community

Showing results for tags 'dimensions'.

  • 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 3 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. 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...