Search the Community
Showing results for tags 'teleports'.
-
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 )
-
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
-
Here's the script: inFourD = createMarker (2019.76953125, 1007.0116577148, 9.7203125, "cylinder", 1, 255, 0, 0, 153) function inFourDragons (player, matchingDimension) if (source == inFourD) and (getElementType(player) == "player") and (isPedInVehicle(localPlayer) == true) then outputChatBox("#D2691E[#FF7F50INFO#D2691E]#FFFFFF: No se permiten vehículos dentro.", hitPlayer, 0, 0, 0, true) elseif (source == inFourD) and (getElementType(player) == "player") and (isPedInVehicle(localPlayer) == false) then outputChatBox("#D2691E[#FF7F50INFO#D2691E]#FFFFFF: Ingresaste al casino '#DD0000Four Dragons#FFFFFF'.", hitPlayer, 0, 0, 0, true) setElementInterior (player, 10) setElementPosition (player, 2016.9376220703, 1017.0843505859, 996.875 ) setElementRotation (player, 0, 0, 90) end end addEventHandler ("onMarkerHit", getRootElement(), inFourDragons) Doing it client-side gives the invisible players. I read an old post that this had to be done server-side to fix the invisible players; however, I can't pinpoint the problem. As of this moment, with this script: - When in vehicle, player + vehicle is teleported to the same coords and interior 10, which results in an invisible world, player and vehicle, and it outputs "You've entered FDC.", when it should enter "Cars are not allowed". - When on foot, nothing happens. What could be the problem?
-
Greetings Everyone. Lost In Time are a brand new MTA:SA server. (58 FPS SERVER) We offer a large amount of content while trying to keep the download size small. We Currently Offer..... AI Peds, Traffic + Planes, Jobs, Grenade Indicators, Teleports, Gym System, Kill Messages, Vehicle Locking, Personal Account / Login, Object Spawner, Website, Name Tags, No Speed Blur, Custom Speedo HUD, GTA V Mini Map & HUD, Top Online Players, Leveling System, Glue To Vehicles, Flying Cars, Teams, Car Reflections, Car Spoilers, Web Browser And Much Much More! Currently the only goal that is implemented in this Freeroam is to earn money so you are able to build using the menu on F4. To earn money you must kill boss NPCS around the map with custom health values. - You can also earn money every 5 minutes just playing on the server. More will be taken in to consideration and values will change along with more being added / changed. You can also earn levels with an xp system. To earn xp you kill another player in the server. All Information is shown on the scoreboard. (FPS, Kills, Deaths, Ranks, Wanted) (We also have a team system in place where you can change teams - Default on joining is Citizens) I am committed to update this server as often as I can and trying to fix any issues still outstanding on the server. This is an ongoing project that i'm having fun with. You can find and entire list of commands on our website along with our discord information, images and the latest updates we roll out. You can also vote for our server and apply for staff on our website. Please note that our website is still under heavy construction and will eventually change. (Latest patch notes will be rolled out soon and this post will be edited.) JOIN OUR SERVER @ mtasa://137.74.224.51:22003 VISIT OUR DISCORD @ https://discord.gg/eFpgzyZ VISIT OUR WEBSITE @ http://www.lostintimeservers.co.uk/ >The Spoiler Contains A Full List Of Commands And More!< (Our Domain Name Is Currently In Progress And Will Be Complete Soon) - Thank You And Have Fun! Below are some of the pictures taken on our server. (Please note that the HUD And Other things may look Slightly different compared to the up to date live version) (An In Depth Video Will Be Posted Back Here Soon)
-
Welcome to the GTA-RD Fun / Drift / Freeroam Server . The server was created for fun ! The server runs from February 10, 2018 to the present. Server Features New textures brought to the map (using images, not dff, txd etc., 61 fps tested ! Top Drift and Drift System with Handling Editor Help panel in English Vehicles, Skins, Modified Weapons (Activated with / mods) We Have one Spawn Scripts Made for Fun: Cheats, Glue, etc... Teleports (/drop) (/stunt/) (/drift) etc.. New Maps Soon Optimized for everyone, even for those with poor computers _____________________________________________________________________________________________________ Server IP: mtasa://213.239.209.180:22210 _____________________________________________________________________________________________________ ScreenShots _____________________________________________________________________________________________________ If You Want To Publish Script For The Server Please Send For Pm _____________________________________________________________________________________________________ This is Beta Version Of Server Enjoy _____________________________________________________________________________________________________
-
Welcome to the GTA-RD Fun / Drift / Freeroam Server . The server was created for fun ! The server runs from February 10, 2018 to the present. Server Features New textures brought to the map (using images, not dff, txd etc., 61 fps tested ! Top Drift and Drift System with Handling Editor Help panel in English Vehicles, Skins, Modified Weapons (Activated with / mods) We Have one Spawn Scripts Made for Fun: Cheats, Glue, etc... Teleports (/drop) (/stunt/) (/drift) etc.. New Maps Soon Optimized for everyone, even for those with poor computers _____________________________________________________________________________________________________ Server IP: mtasa://213.239.209.180:22210 _____________________________________________________________________________________________________ ScreenShots _____________________________________________________________________________________________________ If You Want To Publish Script For The Server Please Send For Pm _____________________________________________________________________________________________________ This is Beta Version Of Server Enjoy _____________________________________________________________________________________________________