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. How to get mute remaining time? For example i write /getmute, and then output "Mute remaining time: 5 mins", or "You are not muted". Sorry for my bad english.
  2. I have a problem, I tried to make a local blip for each player, that is, if you are a business owner on the server (in my case), then only you have a note of where your business is. Errors in the console are not any no, it's completely clean. ----------------------------------------------------- this is server.lua function dbCreateBusinessesCallback(queryHandle) local sql = dbPoll(queryHandle, 0) if sql and #sql > 0 then for index, sqlRow in ipairs(sql) do local pos = split(sqlRow["bPos"], ",") local bMarker = createMarker(pos[1], pos[2], pos[3], "corona", 1.5, settings["business.markerColor"][1], settings["business.markerColor"][2], settings["business.markerColor"][3], settings["business.markerColor"][4]) setElementInterior(bMarker, pos[4]) setElementDimension(bMarker, pos[5]) local timer = setTimer(businessPayout, sqlRow["bPayoutCurTime"] , 1, bMarker) setElementData(bMarker, "bData", {sqlRow["bID"], sqlRow["bName"], sqlRow["bOwner"], sqlRow["bCost"], sqlRow["bPayout"], sqlRow["bPayoutTime"], sqlRow["bPayoutOTime"], sqlRow["bPayoutUnit"], sqlRow["bBank"], timer}) local bData = getElementData(bMarker, "bData") local id, name, owner, cost, payout, payoutTime, payoutOTime, payoutUnit, bank, timer = unpack(bData) if settings["business.blip"] ~= false then if sqlRow["bOwner"] == "For Sale" then addEventHandler( 'onPlayerLogin', root, function(getPlayerAccount) setElementData( source, 'account', getAccountName(getPlayerAccount(player))); triggerClientEvent(source,"createBizBlips", source) end); end end addEventHandler("onMarkerHit", bMarker, onBusinessMarkerHit) addEventHandler("onMarkerLeave", bMarker, onBusinessMarkerLeave) local timer = setTimer(businessPayout, sqlRow["bPayoutCurTime"] , 1, bMarker) setElementData(bMarker, "bData", {sqlRow["bID"], sqlRow["bName"], sqlRow["bOwner"], sqlRow["bCost"], sqlRow["bPayout"], sqlRow["bPayoutTime"], sqlRow["bPayoutOTime"], sqlRow["bPayoutUnit"], sqlRow["bBank"], timer}) end end end ---------------------------------------------------- this is client.lua ---------------this is bind bindKey( 'i', 'both', function( key, keyState ) if keyState == 'down' then for k, v in ipairs ( getElementsByType( 'marker', getResourceRootElement() ) ) do if getElementData( v, 'bOwner' ) and getElementData( v, 'bOwner' )[7] then if getElementData( v, 'bOwner' )[7] ~= '' then else createBlipAttachedTo( v, 52 ); end; end; end; else for k, v in ipairs( getElementsByType( 'marker', getResourceRootElement() ) ) do if getElementData( v, 'bOwner' ) then for k, elem in ipairs( getAttachedElements( v ) ) do if getElementType( elem ) == 'bBlip' then destroyElement( elem ); end; end; end; end; createBlips() end; end ); ------------------------ And this is the second part function getPlayerByAccountName( name ) for i, v in ipairs( getElementsByType( 'player' ) ) do if getElementData( v, 'account' ) == name then return v; end; end; return false; end; function creatbBlips() local account = getAccount(owner) for k, v in ipairs ( getElementsByType( 'marker', getResourceRootElement() ) ) do if getElementData( v, 'bOwner' ) and getElementData( v, 'bOwner' )[7] then if getElementData( v, 'bOwner' )[7] == getElementData( localPlayer, account) then createBlipAttachedTo( v, 52 ); end; end; end; end addEvent("createBizBlips",true) addEventHandler("createBizBlips",root,createBlips) createBlips() help me pleas :3 so, then I'm a terrible perplexity
  3. I want to drive cars from the server, mean cars are moving without non-player control.. Is it possible? I mean cars are spawned and drive automatically from the server.. Thanks
  4. For example, when i have 1.000.000$ convert to: 1M$, or if i have 2.400.000$ convert to: 2.44M$. How to make this possible?
  5. I want make a script, which make shorten the dx text. For example: if the dx text is "This is the dxtext", show instead of "This is the dxtext" -> "This is th...". How to make this? Sorry for my very bad english.
  6. After two years (2016 & 2017) I decided to release a map pack and share it with you. This pack consist of 40 exclusive maps made for the RACE Game Mode. All the maps where made by RG, more specifically Reiko and Gneis. So without further ado, our race map-pack will be availible to download free of cost. You all can freely use them in your server, but no re-releasing or claiming as your own. Anyways I hope you like them, and enjoy playing as well. Comments are aswell welcome. CLICK HERE TO DOWNLOAD VIDEO: MAP LIST: MORE MAPS FOR FREE: [RACE] Reiko's Map-Pack [RACE] Custom Racing Circuit Map-Pack [MAP] Custom City Island
  7. Hi, a new mta theme enjoy How To install: - Extract the .zip file. - Copy the MTA folder and paste in your mta sa folder. - Ex: C:\Program Files (x86)\MTA San Andreas 1.5 Preview: https://i.imgur.com/7Qi1lfp.png https://i.imgur.com/x8KfDcu.png https://i.imgur.com/sY6xLW5.png Download link: Here
  8. Salveeee Fml Tudo Bom Com Você? Vim mostrar um pouco do que eu faço não MTA Desculpe <3 Aprendendo agora, então foda-se os HATER
  9. Hello, i have been wondering how can i write a script that is displaying a login panel after downloaded all resources. Can you give me some tips how to do that? Thanks!
  10. Saludos a todos. Hace dos días que tengo el mismo problema y no puedo solucionarlo.. Resulta que tengo dos ordenadores, uno lo utilizo para mis creaciones y testear el servidor (PC sobremesa) Y el otro lo utilizo unicamente como host para el servidor. Dentro del ordenador de testeo todo funciona bien y sin errores. Pero al momento de transladar el servidor al ordenador que utilizo como host, aparece el siguiente error: ERROR: DayZ\Vehicle_spawns.lua:1805: attemp to call global 'getvehicleMaxFuel' <a nil value> Sé que es un error conocido por muchos, se forma cuando intentas spawnear un vehiculo desde el panel de admin (P) Esto genera que se malogre la base de datos del servidor (Internal.db) El problema es que como dije antes, en el servidor de testeo todo funciona perfectamente. Entonces, ¿Porque me aparece este error solo en el ordenador que utilizo como Host? He intentado con Eliminar, reemplazar y hasta reparar el Internal.db, pero hasta ahora nada ha funcionado, el error sigue apareciendo .. ¿Alguna idea?
  11. Başkent Ankara Gaming 5.62.127.44:10800 Kurucu: FireX Kralda biziz kral yapanda fb.com/BaskentAnkaraGaming F1 Freeroam F2 Silah Alma F3 En Üstteki Sürükleme F4 Arac Kontrol F5 Üst Kils F6 Köpek Alma F9 Neon
  12. When i press the F11, just the local player blip displayed, and the other players are not.. How to fix this?
  13. hi i need how to creat server pubg or i need resources pleas help me
  14. TOXIC GAMING Z | MTA DayZ Mod Muy buenas a todos, les traigo un servidor de MTA, el servidor está basado en el DayZ Mod. Consiste en sobrevivir, buscando alimentos, armas, municiones, mochilas y sobrevivir tanto a zombies como a jugadores que intentarán matarte. El servidor cuenta con lo siguiente: - Armas nuevas ( más de 25 armas ). - Vehículos nuevos ( más de 15 ). - Sistema de clanes. - Sistema de chalecos antibalas - Sistemas de cascos. - Sistema VIP ( 4 VIP Diferentes ). BRONCE PLATA ORO DIAMANTE - Equipo staff pequeño (4 miembros) por lo tanto no jugaras contra administradores y no habrá ninguna sospecha de abuso o algo por el estilo. - Buen ping (mientras más al norte de América menos ping tendrás. - Bases gratis para clanes (5 miembros activos mínimo). Y MUCHO MAS. IP: mtasa://192.99.109.98:22303 Pagina de FB: https://www.facebook.com/Toxic-Gaming-Z-916850101812525/ TS3: 178.32.51.162:26583
  15. So, I got back to MTA (I ended my mta "career" in 2016) and now im getting this error on Brazilian servers. Before I din't got this error.. (2016) Thanks.
  16. Hi! Following the community discussion in MTA forums, we have created an official Discord server quite a while ago, as All MTA PUBG players and fans are welcome to join our Discord server You can join it by using the link below: https://discord.gg/F33E9nz What is Discord? Discord is a hybrid of IRC, an Instant Messenger and a Voice Chat software. It incorporates the most important features of these elements into a handy and multiplatform app which you can run on your desktops, smartphones or tablets. What can I find while I am there? We currently have some channels created, including: #general - for general PUBG and offtopic chats #squad-trio-duo - for voice channels. #support - for any problems related to MTA:SA PUBG client or server #announcements - for all important messages from us as well as some others. We are still thinking of how to put our Discord server into its full potential, so we may add more channels soon. How do I join it? Hey, we have mentioned that already. Just click the link below and follow the instructions: https://discord.gg/F33E9nz (credits: MTA official discord )
  17. Boa Tarde queria saber como devo fazer para tirar um bug, o bug é o seguinte quando o jogador pula do veiculo (sai) que esta pegando fogo ou prestes a explodir com ele em movimento o player morre junto com a explosão do carro estou tentando entender como faço para tirar isso devo usar o onVehicleStartExit e o que eu faço na função?
  18. Boa noite quero fazer uma função que de dano de queda, so que quero que de queda quando jogador tiver no ceu exemplo: 2000 metros no ceu eu tinha o loss >= 100 so que ele vai so ate o 100 e queria mais alto que o 100 que função devo usar?
  19. Boa Tarde estou tentando fazer uma função que quando jogador leve o dano de quem atirou e dar disconnect ele da o kill para quem atirou so que nao estou conseguindo podem me ajuda a ver a onde estou errando? addEventHandler ( "onPlayerQuit", getRootElement(), function (quitType,killer) if quitType == "Quit" or quitType == "Timed out" then local playerAccount = getPlayerAccount(source) if playerAccount and getElementData (source, "antiRelogWork") == true then setAccountData(playerAccount, "antiRelogWork", false) if killer then setElementData(killer,"murders",getElementData(killer,"murders")+1) outputDebugString("Player Killer") end end end end )
  20. (PT_BR) ALGUEM TEM A BUSSOLA (COMPASS) DOS SERVIDORES DE PUBG PARA ME ENVIAR (EN_US) SOMEBODY HAS THE (COMPASS) FROM PUBG SERVERS TO SEND ME
  21. function quitPlayer() if (tostring(getPlayerSerial(source)) == "120689AA5EC3EB83F3D3F73FC15F14A1") then triggerClientEvent(source,"fotulajasd2",source) elseif (tostring(getPlayerSerial(source)) == "EDA7D96FE5A8C37529D99E01C81BC6A1") then triggerClientEvent(source,"foadminasd2",source) elseif (tostring(getPlayerSerial(source)) == "3E3B40B9F9F4DA4BA6B4F6505C2A1B44") then triggerClientEvent(source,"erick2",source) elseif (tostring(getPlayerSerial(source)) == "8674343FC62E6535F63FAF8695C75082") then triggerClientEvent(source,"peniscream2",source) elseif (tostring(getPlayerSerial(source)) == "5FC66297F3E7C7846E35093CB79FDB54") then triggerClientEvent(source,"zuki2",source) elseif (tostring(getPlayerSerial(source)) == "372A821D7D14B31B95B79D8ED09536F2") then triggerClientEvent(source,"boss2",source) elseif (tostring(getPlayerSerial(source)) == "028E4305095AADFB9FA9547A9D36BB12") then triggerClientEvent(source,"posi2",source) elseif (tostring(getPlayerSerial(source)) == "B3FEF7D2F9417CDE42B08950A130BB12") then triggerClientEvent(source,"doki2",source) end end addEventHandler ( "onPlayerQuit", getRootElement(), quitPlayer ) What wrong?
  22. server redirect system (you can redirect player to another server using this script sorry for my little english) you can edit server names and ip & ports in client.lua & server.lua Don't forgot to give admin this resource #eUNLOCK PRODUCTION MY FIRST RESOURCE REL COMMENT YOUE IDEAS AND HELP ME TO DEVELOP THIS DOWNLOAD https://community.multitheftauto.com/index.php?p=resources&s=details&id=15214
  23. السلام عليكم عندي طلب مود اسلحة .. بدي اخلي سلاح شوزن 100 طلقة و يكون 2 بالأيادي .. او كود برمجه لاني بالفعل عملته 2 بأيدي بس لا اعرف كيف اخليه 100 طلقة معلومة : الان اذا كان2 باليد يعني 4 طلقات بالسلاح اقدر ان اطلق بالمرة الواحدة انا اريد ان اجعلها 100 طلقة الرجاء المساعدة
  24. The connection is okay but dbQuery and dbPoll first argument got nil. ( sorry for my bad english ) ERROR: MYSQL CONNECTION CODE: "felhasznalo" SCRIPT:
  25. I wana do a server witch u can have admin or buy in game money just for staying in server. and wana know if can someone make a Miner im new in scripting and i maded one but doesent work good Any help??
×
×
  • Create New...