Jump to content

Search the Community

Showing results for tags 'mta', ' error' or ' connect'.

  • 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

  1. Zapraszamy do przeczytania naszej zapowiedzi Witajcie! Na początku powiemy kilka słów o nas. Mianowicie, jesteśmy małą grupą graczy i miłośników służb mundurowych, która z początku grywała na różnych serwerach szukając dla siebie miejsca, niestety żaden z serwerów nie oferował nam środowiska do rozwijania swoich pomysłów w 100%, więc postanowiliśmy wykorzystać umiejętności, które posiadamy aby stworzyć serwer. Serwer na którym odnajdzie się każdy miłośnik służb mundurowych, ale nie tylko! Miejsce dla graczy, którzy wolą grać jako biznesmeni, gangsterzy czy wolą kreować swoją unikalną postać. Patrząc na nazwę serwera, zorientować się możecie, że nasze wirtualne życie będzie prowadzone w klimacie Stanów Zjednoczonych, uważamy że to najciekawsze rozwiązanie biorąc pod uwagę to, że GTA:SA odbywa się w USA. Rozgrywka będzie skupiać się wokół służb mundurowych, nie ma u nas limitu tych służb (każdy pomysł jest mile widziany). Projekt łączy w sobie rozgrywkę mundurowych z tym co widzieliście na serwerach RP i RPG.. no z drobnymi dodatkami od nas. Naszym głównym zamiarem jest odejście od utartych ścieżek i schematów, czyli kreowanie czegoś po swojemu. U nas możesz założyć postać, która pochodzi z Polski, możesz być w kilku frakcjach na raz i nie tylko. Stawiamy na jak najwyższy komfort rozgrywki. Głównym punktem rozgrywki jest Los Santos, a dodatkowym punktem w którym będzie toczyć się rozgrywka będzie Fort Carson, które na naszym serwerze należy do Hrabstwa Los Santos. Preferujemy dynamiczną i nieprzewidywalną rozgrywkę, dzięki czemu nie będziesz się nudzić. Jednego dnia możesz pracować jako szeregowy w wojsku, a za jakiś czas może zostaniesz jakimś dowódcą? Możesz też założyć własną firmę. Jak wspominaliśmy, odchodzimy od schematów - dlatego, każdy pomysł na rozgrywkę jest przez nas mile widziany. Zapewne zastanawiacie się, jak chcemy poprowadzić rozgrywkę dla służb, gdy na serwerze większość graczy w nich będzie, jeśli tak to już śpieszymy z tłumaczeniem. Dla służb utworzony został ogromny i rozbudowany skrypt tzw. “calloutów”, ale to nie wszystko. Callouty, brzmi znajomo prawda? Gracze LSPD:FR / LCPD:FR zapewne będą wiedzieć o co chodzi. Callouty, jest to system zgłoszeń dla każdej ze służb, niektóre zgłoszenia polegają na interakcji z botami, inne na wykonywaniu zadań. Oczywiście nie sprowadzamy rozgrywki z botami do stopnia zwykłej strzelanki, tak jak to jest na paru serwerach, znajdziesz u nas negocjacje, napady z bronią, próby samobójcze… a także podpalenia w których będzie musiało być prowadzone śledztwo, kradzieże pojazdów, zabójstwa - coś dla fanów kryminalistyki, badanie śladów i podążanie za wskazówkami, a także klęski żywiołowe czy zaginięcia. Rodzaje zgłoszeń możemy wypisywać w nieskończoność, jednak to niech będzie niespodzianka do otwarcia. Ale to nie wszystko! Dla graczy chcących grać w organizacjach przestępczych zaplanowany jest system plantacji marihuany, fabryki narkotyków, przemyty broni i systemy napadów. Napady prawie jak w GTA:ONLINE, aby rozegrać napad najpierw są przygotowania, inwestowanie własnych środków itp. Można też kraść auta dla paserów, okradać sklepy i domy graczy. A co dla cywili? Dla cywili na razie zaplanowany jest system biznesów, prace dorywcze i różne drobne misje poboczne. W każdej ze służb przypisane są inne zadania, inne tereny i inna struktura. Oto lista obecnych służb na serwerze z krótkim opisem. Los Santos Police Department - Departament miejskiej policji, działa na terenie Los Santos. Los Santos County Sheriff’s Department - Departament szeryfa, działa na terenie Hrabstwa Los Santos, w Los Santos wspiera LSPD. LSSD zarządza archiwum hrabstwa i lokalnym więzieniem. San Andreas Fire Department - Stanowy departament straży pożarnej, to pod niego podlegają remize w bazach wojskowych, wsiach i innych bliźniaczych miastach. Los Santos Emergency Services - Utrzymywane z funduszy miejskich pogotowie ratunkowe. 11th Infantry Regiment, pułk piechoty US Army, możesz tu grać jako żołnierz zawodowy lub rezerwy, wybór należy do Ciebie! oraz kilka tajnych i drugoplanowych frakcji.. ale to niech będzie tajemnica. I to już wszystko w tej zapowiedzi, zajrzyj na nasze social media (link poniżej). Start serwera planowany jest na drugą połowę kwietnia tego roku. Forum: http://911emg.pl/ Fanpage https://www.facebook.com/911emergencymta/ Discord: https://discordapp.com/invite/AX3JVjq I jeszcze dwa zwiastuny serwera. https://www.youtube.com/watch?v=JmdoYh3qtdE https://www.youtube.com/watch?v=9vC4hV_I0IQ Kilka zdjęć z serwera. Widzimy się na serwerze!
  2. Всем привет, хочу представить вам отличный игровой сервер MTA Dayz: The Last Survivors. Плюсы этого сервера следующие: - мод был написан с нуля - заменены и добавлены новые модели оружия, еды, скинов, машин - есть свои уникальные фишки, например: обмен мусора на оружие, крафт, airdrop. Причем это еще не конец - ну и конечно же адекватная и отзывчивая администрация. В общем всем кому интересно узнать большее, заходите на сервер IP -176.32.37.193:22003 Так же у сервера имеется группа в ВК - https://vk.com/mta_the_last_survivors
  3. I want create a bank-system. But i don't know, how to begin the script. Can i make it possible this with setElementData, and getElementDatas? sorry for my bad english
  4. Stev3y

    Tuneable cars

    Hello. So, I made a MTA server the other day. I made it only for fun, like to play with my IRL friends. Once I downloaded a modded car, which had tuneable parts, and in the rar file I had a lot of files like these : fbmp_a_l.dff, and a lot more, and I don't know what to do with them. Can I get some help pls? I have another question: I was searching for a tuning system but I couldn't really find any. Can somebody link me some?
  5. function showText() if not showing then if getKeyState('lalt') then showNearbyVehicleDescriptions() end return false end if not getKeyState('lalt') and getElementData(localPlayer, "enableOverlayDescriptionVehPin") ~= "1" then removeVD() return end for i = 1, #vehiculars, 1 do local theVehicle = vehiculars[i] if isElement(theVehicle) then local x,y,z = getElementPosition(theVehicle) local cx,cy,cz = getCameraMatrix() if getDistanceBetweenPoints3D(cx,cy,cz,x,y,z) <= viewDistance then --Within radius viewDistance local px,py,pz = getScreenFromWorldPosition(x,y,z+heightOffset,0.05) if px and isLineOfSightClear(cx, cy, cz, x, y, z, true, false, false, true, true, false, false) then --FETCH FONT IN REAL TIME local fontString = getElementData(localPlayer, "cFontVeh") or "default" local fontElement = fontString if fontElement == "BizNoteFont18" then if not BizNoteFont18 then BizNoteFont18 = dxCreateFont ( ":resources/BizNote.ttf" , 18 ) end fontElement = BizNoteFont18 end --INITIAL :~ local toBeShowed = "" local fontWidth = 90 local toBeAdded = "" local lines = 0 local textColor = tocolor(255,255,255,255) if getElementData(theVehicle, "carshop") then local brand, model, year = false, false, false brand = getElementData(theVehicle, "brand") or false if brand then model = getElementData(theVehicle, "maximemodel") year = getElementData(theVehicle, "year") local line = year.." "..brand.." "..model local len = dxGetTextWidth(line) if len > fontWidth then fontWidth = len end if toBeShowed == "" then toBeShowed = toBeShowed..line.."\n" lines = lines + 1 else toBeShowed = toBeShowed.."-~-\n"..line.."\n" lines = lines + 2 end else if toBeShowed == "" then toBeShowed = toBeShowed..getVehicleName(theVehicle).."\n" lines = lines + 1 else toBeShowed = toBeShowed.."-~-\n"..getVehicleName(theVehicle).."\n" lines = lines + 2 end end local price = getElementData(theVehicle, "carshop:cost") or 0 local taxes = getElementData(theVehicle, "carshop:taxcost") or 0 toBeShowed = toBeShowed.."Price: $"..exports.global:formatMoney(price).."\n Taxes: $"..exports.global:formatMoney(taxes) lines = lines+ 2 else --GET DESCRIPTIONS + SIZE local descToBeShown = "" local job = getElementData(theVehicle, "job") if job == 1 then descToBeShown = "RS Haul - We'll dump your load." lines = lines + 1 elseif job == 2 then descToBeShown = "Yellow Cab Co.\nCall #8294 for a pickup!" lines = lines + 2 elseif job == 3 then descToBeShown = "Los Santos Bus" lines = lines + 1 else for j = 1, 5 do local desc = getElementData(theVehicle, "description:"..j) if desc and desc ~= "" and desc ~= "\n" and desc ~= "\t" then local len = dxGetTextWidth(desc) if len > fontWidth then fontWidth = len end descToBeShown = descToBeShown..desc.."\n" lines = lines + 1 end end end if descToBeShown ~= "" then descToBeShown = "-~-\n"..descToBeShown lines = lines + 1 end --GET BRAND, MODEL, YEAR local brand, model, year = false, false, false brand = getElementData(theVehicle, "brand") or false if brand then model = getElementData(theVehicle, "maximemodel") year = getElementData(theVehicle, "year") local line = year.." "..brand.." "..model local len = dxGetTextWidth(line) if len > fontWidth then fontWidth = len end toBeShowed = toBeShowed..line.."\n" lines = lines + 1 end --GET VIN+PLATE local fiyatt = getElementData(theVehicle, "fiyat") local plate = "" local vin = getElementData(theVehicle, "dbid") if vin < 0 then plate = getVehiclePlateText(theVehicle) else plate = getElementData(theVehicle, "plate") end --Following edited by Adams 27/01/14 to accomodate VIN/PLATE hiding. if not noPlateVehs[getElementModel(theVehicle)] then if getElementData(theVehicle, "show_plate") == 0 then if getElementData(localPlayer, "duty_admin") == 1 then toBeShowed = toBeShowed.."((Plate: "..fiyatt.."))\n" lines = lines + 1 else --toBeShowed = toBeShowed.."* NO PLATE *\n" end else toBeShowed = toBeShowed.."Plate: "..fiyatt.."\n" lines = lines + 1 end end if getElementData(theVehicle, "show_vin") == 0 then if getElementData(localPlayer, "duty_admin") == 1 then toBeShowed = toBeShowed.."((VIN: "..vin.."))" lines = lines + 1 else --toBeShowed = toBeShowed.."* NO VIN *" end else toBeShowed = toBeShowed.."VIN: "..vin lines = lines + 1 end --GET IMPOUND if (exports["vehicle-system"]:isVehicleImpounded(theVehicle)) then local days = getRealTime().yearday-getElementData(theVehicle, "Impounded") toBeShowed = toBeShowed.."\n".."Impounded: " .. days .. " days" lines = lines + 1 end local vowner = getElementData(theVehicle, "owner") or -1 local vfaction = getElementData(theVehicle, "faction") or -1 if vowner == getElementData(localPlayer, "account:id") or exports.global:isStaffOnDuty(localPlayer) or exports.integration:isPlayerScripter(localPlayer) or exports.integration:isPlayerVCTMember(localPlayer) then toBeShowed = toBeShowed.."\nShop ID: "..(getElementData(theVehicle, "vehicle_shop_id") or "None") lines = lines + 1 local ownerName = 'No-one' if vowner > 0 then ownerName = exports.cache:getCharacterNameFromID(vowner) elseif vfaction > 0 then ownerName = exports.cache:getFactionNameFromId(vfaction) end local line = "\nOwner: "..(ownerName or "Loading..") local len = dxGetTextWidth(line) if len > fontWidth then fontWidth = len end toBeShowed = toBeShowed..line lines = lines + 1 --Activity / MAXIME local protectedText, inactiveText = nil if vowner > 0 then local protected, details = exports['vehicle-system']:isProtected(theVehicle) if protected then textColor = tocolor(0, 255, 0,255) protectedText = "[Inactivity protection remaining: "..details.."]" local toBeAdded = "\n"..protectedText toBeShowed = toBeShowed..toBeAdded local len = dxGetTextWidth(toBeAdded) if len > fontWidth then fontWidth = len end lines = lines + 1 else local active, details2, secs = exports['vehicle-system']:isActive(theVehicle) if active and (powner == getElementData(localPlayer, "dbid") or exports.integration:isPlayerStaff(localPlayer)) then --textColor = tocolor(150,150,150,255) inactiveText = "[Active | " local owner_last_login = getElementData(theVehicle, "owner_last_login") if owner_last_login and tonumber(owner_last_login) then local owner_last_login_text, owner_last_login_sec = exports.datetime:formatTimeInterval(owner_last_login) inactiveText = inactiveText.." Owner last seen "..owner_last_login_text.." " else inactiveText = inactiveText.." Owner last seen is irrelevant | " end local lastused = getElementData(theVehicle, "lastused") if lastused and tonumber(lastused) then local lastusedText, lastusedSeconds = exports.datetime:formatTimeInterval(lastused) inactiveText = inactiveText.."Last used "..lastusedText.."]" else inactiveText = inactiveText.."Last used is irrelevant]" end local toBeAdded = "\n"..inactiveText toBeShowed = toBeShowed..toBeAdded local len = dxGetTextWidth(toBeAdded) if len > fontWidth then fontWidth = len end lines = lines + 1 elseif not active then textColor = tocolor(150,150,150,255) inactiveText = "["..details2.."]" local toBeAdded = "\n"..inactiveText toBeShowed = toBeShowed..toBeAdded local len = dxGetTextWidth(toBeAdded) if len > fontWidth then fontWidth = len end lines = lines + 1 end end end end toBeShowed = toBeShowed.."\n"..descToBeShown end if fontWidth < 90 then fontWidth = 90 end --START DRAWING local marg = 5 local oneLineHeight = dxGetFontHeight(1, fontElement) local fontHeight = oneLineHeight * lines fontWidth = fontWidth*fontType[fontString][2] --Fix custom fonts px = px-(fontWidth/2) if getElementData(localPlayer, "bgVeh") ~= "0" then dxDrawRectangle(px-marg, py-marg, fontWidth+(marg*2), fontHeight+(marg*2), tocolor(0, 0, 0, 10)) end if getElementData(localPlayer, "borderVeh") ~= "0" then dxDrawRectangleBorder(px-marg, py-marg, fontWidth+(marg*2), fontHeight+(marg*2), 1, tocolor(255, 255, 255, 10), true) end dxDrawText(toBeShowed, px, py, px + fontWidth, (py + fontHeight), textColor, 1, fontElement, "center") end end end end end Problem Line : 117 local fiyatt = getElementData(theVehicle, "fiyat") ERROR : attempt to concatenate loca 'fiyatt' (a boolean value) Helpme pls.
  6. I want create a script, which tp a player to me, and teleport me to a player, like in admin panel, just with command. How to make this? For example: /tpto playername , and /tpme playername. And when i teleport a player to me, the player get out from vehicle
  7. I want create a script, which creates a 3d text with a cmd. For example, when i type "/word asd" then this make a 3d text the player position "#playername : asd", then after elapse 3 hours, the text will hide. How to make this?
  8. Hey! Would someone tell me how to do getPlayerPing for the php sdk library? I only managed to make a list of players on the server function listPlayer( ) local players = {} for k, player in ipairs( getElementsByType ("player") ) do local player = getPlayerName( player ) table.insert( players, player ) end return players end
  9. Olá pessoal. Há um tempo eu vim nesse fórum divulgar a plataforma MTA Servidores. O projeto continua de pé, porém o endereço mudou, você pode acessar agora via: http://mtaservidores.xyz/. É um site, que pode ser acessado por http://mtaservidores.xyz, que auxilia os proprietários de servidores a obterem mais players. Além disso, o servidor cadastrado fica disponivel para todos os visitantes do site numa página reservada. http://mtaservidores.xyz/search. Por isso, venho pedir a ajuda de vocês: peço que cadastrem seus servidores no site MTAServidores.xyz. É de grande ajuda pra mim, para a plataforma e para os donos. (apenas membros da staff do servidor devem criar a conta). Além disso, existem os servidores PARCEIROS. Que são servidores que possuem uma alta qualidade, ou que conquistaram 10 referências (enviaram o link para os amigos e esses amigos se cadastraram). CADASTRE-SE AGORA: http://mtaservidores.xyz/. Estamos aceitando parcerias (canais do Youtube, Servidores, Páginas, Grupos, Etc), enviar e-mail para: [email protected]. Obrigado!!
  10. function outputChatBoxRemote ( playerName, message, type, serverport ) outputChatBox ( "From " .. playerName .. " on " .. serverport .. ": " .. message ) return "hello sailor" end function finishedCallback( responseData, errno ) responseData = tostring(responseData) if responseData == "ERROR" then outputDebugString( "callRemote: ERROR #" .. errno ) elseif responseData ~= "hello sailor" then outputDebugString( "callRemote: Unexpected reply: " .. responseData ) else end end function playerChat ( message, type ) callRemote ( "87.229.77.40:22030", getResourceName(getThisResource()), "outputChatBoxRemote", finishedCallback, getPlayerName(source), message, type, getServerPort() ) end addEventHandler ( "onPlayerChat", getRootElement(), playerChat ) This is the code, but does not working.. what wrong?
  11. I want make a script, which plays sound from youtube.. But.. there is no one converter which would work.. How to use a converter as sound player? Anyone can help?? Sorry for my bad english..
  12. Here are some details about the RWS Server - Available jobs in the server: - Officer job officer - Farmer function - Fireman Job - Fish trap function - Mechanical function - Physician function - Miner job - Cleaner function - Bus driver function - Truck driver function - Woodcutter function - Factory worker function - FBI function - Military function (army) - Pilot job ------ How do I get one of these jobs? First you go to the job place you specify via F4 After 2 press F11 to receive a specific Line position - After two days walk with the red line to you was determined to go to the place of the job - After that opens a panel with information about the job and how it works After this Congratulations Congratulations you become an employee take your car or depending on the nature of work --- Some general explanations How do I change the language to Arabic instead of English? Go to F1 and enter on Server Settings Choose Arabic and then Save and Congratulations ------------ How to take a driver's license? Press F11, and go to the D marker - There will be 2 training and 1 final test The first training would have a specific share for you if you came out of it The second training If you skip the signal or line that you have chosen to return The test re-training the former if a small error was missed once again from the first training - Side of some images on the server ----- Some side effects of the server: There are fats + salts, obesity and others If your fat is high You'll be fat, of course, and you'll need a sport - There is a shop in the server and you can build a house full of this shop - There is a system of shops incomplete, you can buy goods for your hand and you will receive within 24 hours By closing some of the information you may be interested in: - mtasa://134.119.177.122:22003 [email protected] - The server was opened the first time 2012 (on behalf of the second) and was changed to RWS2014 -------
  13. Witamy Was serdecznie. Szanowni gracze! Wraz z Administracją serwera chcielibyśmy Wam przedstawić serwer, który już od 2012 roku dostarcza niesamowitych wrażeń, po to, aby właśnie Wam grało się z każdym dniem lepiej! Nazwa naszego serwera to Fun-Truck, która to wskazuje, iż główną tematyką serwera jest praca kierowcy ciężarówki oraz odgrywanie realnego życia. Akcja rozgrywa się na terenie całego stanu San Andreas, jednakże, aby nie stało się to monotonne, we wszystkich miastach znajdują się inne ważne lokalizacje do których gracze często uczęszczają. Nasz gamemode został stworzony przez Riot aka Bozon. Dzięki ciężkiej pracy naszych aktualnych skrypterów jest cały czas aktualizowany i na bieżąco odświeżany. Dzięki to właśnie im zawdzięczamy tak piękne systemy jak i wyglądy naszego serwera. --------------------------------------------------------------------------------------- - Policja - Pomoc Drogowa - Jednostka Ratowniczo-Gaśnicza Fun Truck News jest dodatkową oraz charytatywną formą pracy, mającą na celu tworzenie serwerowej gazetki opisującej życie serwera. ---------------------------------------------------------------------------------- - Petrol (Firma zajmująca się dostarczaniem paliw do stacji benzynowych oraz do graczy.) - Final Build (Firma zajmująca się stawianiem obiektów In-game.) Wraz ze wzrostem ilości Graczy zostanie zwiększona ilość firm. ---------------------------------------------------------------------------------------------- - System pojazdów używanych w postaci giełdy samochodowej mieszczącej się w Las Venturas. - System kokpitu który prowadzi statystyki Graczy. - System załadunków których kwota za kurs zwiększa się z każdym przewiezionym ładunkiem. - Przejrzyste menu domów, panele firm i frakcji. - Systemy ViaTOLL. - Innowacyjny i jeden z niewielu tak wykonanych systemów przewozu towarów. - System budowania In-Game, dzięki któremu możemy upiększać mapę, budować specjalne obiekty w czasie rzeczywistym. - Na naszym serwerze możecie doznać niesamowitych wrażeń jako pracownik firmy przewozowej! - Oczywiście nie wspominam o podstawowych systemach, które nie są takie jak wam się wydaje! • System prywatnych: → Pojazdów → Domów .... Moglibyśmy wymieniać jeszcze masę takich smaczków u nas, jednakże po co? Wystarczy wejść i przekonać się jak to jest zagrać na takim serwerze! Nasze skrypty są na bieżąco uaktualniane, co daje gwarancje czegoś nowego. --------------------------------------------------------------------------------------------- Styl naszego serwisu internetowego jest w pełni unikalny, stworzony specjalnie na użytek naszego serwera przez jednego z administratorów. Warto dodać, iż serwis i styl forum są cały czas uaktualniane i poprawiane, co zapewnia najdoskonalsze wykończenie serwisu. Adres: www.fun-truck.pl --------------------------------------------------------------------------------------------- O nim dużo opisywać nie trzeba, posiada standardy użytkowania, rangi, uprawnienia, kanały podstawowe, prywatne, frakcyjne i administracyjne. Adres do komunikatora jest dostępny na naszym forum. Kilka SS-ów: Dane Serwera Nazwa serwera: Fun Truck IP: 46.29.21.219:22058 Sloty: 45 Gamemode: Truck Mania Typ serwera: Truck (z elementami RP) Serwis: www.fun-truck.pl
  14. Hey, so i was searching for the best MTA lookalike for GTA V, first i thought it was FiveM but the max slots it has is 32slots, even tho FiveM is better because it easier to make scripts as it uses .lua too, but it doesn't give the experience of MTA, so i found RAGE MP, not only it has +32slots which can get to 2000player slots, but it has freeroams and even local server same as MTA which you can start by server.exe, and here are some SS to show you how it's freeroam looks like, https://imgur.com/a/byBV8 Tell me what do you think
  15. function auto ( ) if getElementData ( source, "carLicense" ) then outputChatBox ( "#FF0000-Auto Escola-#FFFF00Você já passou No Teste!", source, 200, 0, 0, true ) else vedro = createVehicle ( 479, 1615.8929443359,-1135.5010986328,23.90625,0,0,0 ) setElementInterior (source,0) setElementDimension (source,0) acc = getPlayerAccount ( source ) setAccountData ( acc, "carLicense", "1" ) setElementData ( source, "carLicense", true) warpPedIntoVehicle ( source, vedro ) outputChatBox ( "#FF0000-Auto Escola-#FFFF00Você começou O Teste.", source, 255, 0, 0, true ) outputChatBox ( "#FF0000-Auto Escola-#FFFF00Siga os Marcadores Vermelhos Para completar O Teste.", source, 255, 0, 0, true ) outputChatBox ( "#FF0000-Auto Escola-#FFFF00Boa Sorte No Teste ", source, 255, 0, 0, true ) function killt(thePlayer) theVehicle = getPedOccupiedVehicle ( thePlayer ) id = getElementModel ( theVehicle ) if id == 479 then account = getPlayerAccount ( thePlayer ) setAccountData ( acc, "carLicense", "0" ) setElementData ( thePlayer, "carLicense", false) outputChatBox ( "#FF0000-Auto Escola-#FFFF00Voce nao passou no teste.", thePlayer, 255, 0, 0, true ) veh = getPedOccupiedVehicle ( thePlayer ) destroyElement (veh) setElementPosition(source,2442.2177734375, -1969.490234375, 13.546875) end end addEventHandler ( "onVehicleStartExit", getRootElement(), killt ) triggerClientEvent ( source, "startExaming", source ) end end addEventHandler( "markers", getRootElement(), auto ) Me ajudem quero fazer com que quando o jogador sair do veiculo ele seja levado para o local de onde saiu, irá teleporta para onde começou o teste. E os marcadores seja deletado Help me, I want to make sure that when the player leaves the vehicle he is taken to where he left, he will teleport where he started the test. And the markers are deleted function killt(thePlayer) theVehicle = getPedOccupiedVehicle ( thePlayer ) id = getElementModel ( theVehicle ) if id == 479 then account = getPlayerAccount ( thePlayer ) setAccountData ( acc, "carLicense", "0" ) setElementData ( thePlayer, "carLicense", false) outputChatBox ( "#FF0000-Auto Escola-#FFFF00Voce nao passou no teste.", thePlayer, 255, 0, 0, true ) veh = getPedOccupiedVehicle ( thePlayer ) destroyElement (veh) setElementPosition(source,2442.2177734375, -1969.490234375, 13.546875) Oque eu fiz de errado aqui? What did I do wrong here?
  16. agroupTitles = {} aperTitles = {} con = dbConnect("sqlite", ":/registry.db") function isPlayerManager(plr) if getElementData(plr,"admin.number") > 2 then return true end return false end function loadgTitles() dbExec(con, "CREATE TABLE IF NOT EXISTS groupTitles ('group', 'text')") dbExec(con, "CREATE TABLE IF NOT EXISTS perTitles ('account', 'text')") dbQuery(makeTitles, {}, con, "SELECT * FROM groupTitles") dbQuery(makpeTitles, {}, con, "SELECT * FROM perTitles") end addEventHandler("onResourceStart", resourceRoot, loadgTitles) function makeTitles(titleQuery) groupTitles = dbPoll(titleQuery, 222222) for i, titleData in ipairs(groupTitles) do if (titleData) then local num = #groupTitles + 1 groupTitles[num] = { titleData["group"], titleData["text"] } outputDebugString("1") end end end function makpeTitles(perQuery) perTitles = dbPoll(perQuery, 222222) for i, perData in ipairs(perTitles) do if (perData) then local num = #perTitles + 1 perTitles[num] = { perData["account"], perData["text"] } outputDebugString("2") end end end function specials () local bool = exports.CIGcrimboss:isPlayerBoss(client) triggerClientEvent("CIGCustomTitles.unlockBoss",client,bool) end addEvent("CIGCustomTitles.getData", true) addEventHandler("CIGCustomTitles.getData", root, specials) function save () local ct = getElementData(source,"ct") setAccountData(getPlayerAccount(source),"ctitle",ct) local r = getElementData(source,"r2") setAccountData(getPlayerAccount(source),"rrgb",r) local g = getElementData(source,"g2") setAccountData(getPlayerAccount(source),"grgb",g) local b = getElementData(source,"b2") setAccountData(getPlayerAccount(source),"brgb",b) end addEventHandler("onPlayerQuit",root,save) addEventHandler("onPlayerLogout",root,save) function save2 (_,acc) local ct = tostring(getAccountData(acc,"ctitle")) setElementData(source,"ct",ct) local rr = tostring(getAccountData(acc,"rrgb")) setElementData(source,"r2",rr) local bb = tostring(getAccountData(acc,"brgb")) setElementData(source,"b2",bb) local gg = tostring(getAccountData(acc,"grgb")) setElementData(source,"g2",gg) local name = getAccountName(acc) triggerClientEvent(source,"CIGcustomTitles.addTitles",source,name) end addEventHandler("onPlayerLogin",root,save2) function onplayerlo () local acc = getAccountName(getPlayerAccount(client)) for i, col in ipairs(agroupTitles) do local thename = col[1] if thename == getElementData(client,"g") then triggerClientEvent(client,"CIGcustomTitles.addATitle",client,col[2]) outputDebugString("4") end end end addEvent("CIGcustomTitles.checkGroup",true) addEventHandler("CIGcustomTitles.checkGroup",root,onplayerlo) function onplayerl () local acc = getAccountName(getPlayerAccount(client)) for i, col in ipairs(aperTitles) do local thename = col[1] if thename == acc then triggerClientEvent(client,"CIGcustomTitles.addATitle",client,col[2]) outputDebugString("5") end end end addEvent("CIGcustomTitles.checkTitle",true) addEventHandler("CIGcustomTitles.checkTitle",root,onplayerl)
  17. Всем привет взял за основу мод MTA DayZ 0.9.9a так как в моде присутствует система достижений, строительства, helicrash, графический инвентарь, крафт лута, отсутствуют бронежилеты! есть ли смсл разрабатывать свой сервер переделывать мод и.тд, с извлечением минимального дохода? какой доход составляет известных серверов?
  18. I not found on community.. Then where can i download Trials maps? Sorry for my bad english.
  19. Hola , queria una ayuda con el respawn de hospitales mas cercanos , quiero que los users vayan al hospital mas cercano cuando mueren , pero no puedo , siempre me dirije el hospital LS , cerca de groove, desactive el play para ver si era eso , sin embargo me seguia pasando lo mismo , me dirigia al hospital ls , y entonces desactive el respawn que tenia puesto , y cuando moria iba al mismo hospital LS , y nose como sacar ese respawn que solo vaya al hospital ls.
  20. I want create a sound requester script, but how to convert yt link to mp3 with script? Sorry for my very bad english.
  21. .SKYGAME ****** Zapraszam serdecznie na ten serwer! Rozgrywka rozgrywa sie w SF. GameMode: RPG IP : 188.165.21.245:22298 FORUM: http://overrpg.cba.pl/ / W trakcie tworzenia! ******* Mamy kilka fajnych frakcji takich jak - SAPD -SAMC -SAFD -SARA (Pomoc Drogowa) ***** 11 prac dorywczych. Wymienie kilka z nich: - Drwal - Karmienie psow - sweepery - koparki - smieciarki ***** Zaawansowany system tuningu: - Kolorowy licznik. - Otwierane drzwi do gory - LPG - montowanie zawieszenia [1-5] - Montowanie pojemnosci silnika. ***** Posiadamy Wiele podmianek takich jak: - Ferrari F40 - Subaru Impreza - W nastepnych dniach postaramy sie dodac ich więcej. ***** NA SERWER ZAPRASZA EKIPA. GameMode: RPG IP : 188.165.21.245:22298 FORUM: http://overrpg.cba.pl/ / W trakcie tworzenia!
  22. Hi. I want to put indicator on the car. I make an dummy " indicator_rf & indicator_lf ". But how can i replace texture in the lamp by command. Sorry my bad english..
  23. Intro Gamemode based on Battlefied 3/4. Fully rewrited if you ever played before. About the server Teams: - USA - RUS Classes: - Assault - Support - Engineer - Recon Modes: 2 different modes. CP - Capture Point Assault - Destroy the transmitters and move on. Progress: Open new weapons and upgrades for vehicles. Lobbies: - Large - Medium - Small. Features - Lobbies - Progress - Customization (Skins only) - New UI - 3D HUD - Squad - Voice (/w squad or not) - Settings (Audio, Video, HUD and etc) - Shaders, HD Textures - Weapon fire mode - New weapons - Upgrades for vehicles (In progress) - First person mode for vehicles - Multi-language (English, Russian) you can send your translates. - Improved performance Media Join us: IP: mtasa://178.33.224.67:22003 Website: bfmta.com Discord: Discord
×
×
  • Create New...