Jump to content

Search the Community

Showing results for tags 'server'.

  • 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
    • [Read-Only] 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. Welcome! This is EXO DayZ! We are a small group of 3 people working on a "DayZ" gamemode in MTA SA. On our server you will be able to explore a huge detailed map with over 20.000 objects placed. "Final Map Trailer" Explore new Islands, caves, castles, military places, crashes, open interiors (Mad Dogg Villa, SFPD, LSPD, LVPD, Hospitals, Ammunations, Supermarktes, Shops etc.) We added the "Livonia underground bunker" into the Mount Chilliad. Also added the "Prison Island" connected to Los Santos. The "Zombotech Corporation" from San Fierro also got a big underground extension. (You will need a keycard to open the doors) The "Nuclear powerplant" in the swamp outside the normal world border. You can choose between 90 different weapons from classic weapons like M4A1 to AK5C or anti material rifles like KSVK. We also have a good amount of custom vehicles, zombie skins and backpacks not seen in MTA before. Besides normal zombies you will find mutants and strong zombies in swamps, caves or highloot places. We are also working on fleshpounds, tyrants and other bosses in the future. You will be able to put armor on your vehicles and glue on your car having "car wars". There will be player armor like vests, helmets and very rare heavy armors like bombsuits. You can personalize your character and add various accessoires. If you wanna play on our server u have to join our discord with over 400 member. To play on our server you will need to click the "allow connecting with discord rich presence" in the mta settings. Otherwise you will be automatically kicked. The server is still in a testing phase and not fully open. If you want to test the server as soon as possible write us on discord. To get connected with us you can follow us on instagram. Thank you for reading A few pictures. https://www.pic-upload.de/gal-1345108/lkq1m7/1.html
  2. Dive Into the Ultimate Underground Experience! Earn black money, launder it in your custom hideout, and unlock a wealth of exciting content! Choose from vehicles, exclusive ped skins, weapon skins, limited-edition wheels, and countless hideout upgrades to enhance your gameplay. Not into robbing? No problem! Try our alternative farming and job systems for a different way to rise to the top. Upgrade Your Hideout for Maximum Perks Unlock powerful benefits like: Extra vehicle slots More wardrobe space for skins Access to better weapons Increased dufflebag capacity ...and so much more! A Unique Blend of Robbing and Grinding Our server focuses on high-stakes robberies and grinding for rewards, with new content added regularly. We're also open to player suggestions to shape the future of the server! Join our Discord to stay updated, share ideas, and connect with the community. Discord: https://discord.gg/AqCrraUKf2 IP: 89.163.152.134:22003 First trailer: https://www.youtube.com/watch?v=-DknY_aiD3g Update 0.6 video: https://youtu.be/9y99riU3ILI
  3. Hey there, I'm not currently playing MTA, but I decided to launch a server with all of the singleplayer GTA:SA Race maps (that are available on the Race Tournaments). You can check it out, and drive those also with original FPS enabled, that also means with the original car handling! So whoever wants to try the SP maps out without traffic and for toptime battles, you are here in the right place! Shout out to the user robot123 (admin of Joshimuz's speedrun server) for providing me with these amazing 1-to-1 recreations! FPS server: 30 Slots: 100 It will be running for some time. Add the IP to the bookmarks and check in from time to time if you want to. I might turn it off sometimes just because it's running on lemmehost. If you'll like it, thank you! And hey, you can write here under comments at which time you can join in so I can keep the server running! mtasa://144.76.57.59:33874
  4. EVENT I'm inviting you to participate in a event on uDka Racing Server (mtasa://37.25.106.213:22043) - we're going to play maps from the previous editions of Captains Cup tournament, that was held in 2016! This mode before, involved PRO teams picking / banning maps. We're not going to use Captains Mode for that matter, because we're re-building the map pool for a pro game that will be held on that particular mode, however we just are going to play maps with normal CW script. For future events you can add the server to your favourites on the server browser, we usually make them on Saturday / Sunday, starting from 16-18CET hour, however if you added to favourites and still dont see it - just search uDka and you should see the server with gamemode: RACE LITE. DATE: 3rd June 2023 18:00 CET EU 11 maps Normal points system Max.: players to start the event: 4 (if less, will be canceled) Time after finish: 60sec (increased from 40 sec) I hope you'll join, and enjoy the event! There are no country restrictions for joining the server so if you're a casual player you can join too, and have fun
  5. Hey Gamers, yes i am making a new server and yes its sound dumb because there are alot of servers now but im gonna do it. Guys im planing to make an international server, and i got some questions to ask from you guys because you guys are experts in this. 1.What host you recommend me to start? I need some cheap hosting. 2.Is there any other website where i can get resources for MTA rather than this website? 3.i couldn't find a character makimg system, can someone please tell me where i can get a character making system?. 4.is there a readymade RP server resources? Is available can i please get a link?.
  6. Hey, as a part of my hosting company, i started to migrate everything to docker. For this, i made a basic docker image and I decided to make it public. Info on how to use it is in the repository. Pull Requests are welcome! Enjoy! Docker Hub: https://hub.docker.com/r/ciber96/mtasa-docker Github Repo: https://github.com/ciber96/mtasa-docker
  7. Hi I want to ensure that certain group of players experience better ping compared to others. I will be happy to tell you your ideas hello I want to ensure that certain group of players experience better ping compared to others. I will be happy to tell me your ideas.
  8. Hello, I keep getting error CC23 and my ping shows 99999. I also can't host a LAN server, even offline. I have reinstalled GTA and MTA with clean files. Please advise.
  9. I have problem at server Ulg roleplay . The problem is .You are blacklisted or inactive. Want slove this problem
  10. hello, I would like to ask if it is possible to make a script in mta for infinite skin id and vehicles, I saw it with one person on the server who has several hundred skins for skin cj I will be happy for every message
  11. Hey guys... I followed the Example of how to make a Login Panel on the Wiki... I literally did it word for word and when I loaded the server just got a black screen.... I downloaded to Login Systems in Community Files and used them and they both worked... So I edited the one I liked and used it in my Resource and once again got a black screen... My FILE STRUCTURE is: -client -gui.lua -assets -ViroxRP.png -server.lua -meta.xml My gui.lua is this: function ViroxLoginWindow() -- define the X and Y positions of the window local X = 0.375 local Y = 0.375 -- define the width and height of the window local Width = 0.25 local Height = 0.25 -- create the window and save its element value into the variable 'wdwLogin' -- click on the function's name to read its documentation ViroxLogin = guiCreateStaticImage(X,Y,W,H,"assets/ViroxRP.png", true) -- define new X and Y positions for the first label X = 0.0825 Y = 0.2 -- define new Width and Height values for the first label Width = 0.25 Height = 0.25 -- create the first label, note the final argument passed is 'wdwLogin' meaning the window -- we created above is the parent of this label (so all the position and size values are now relative to the position of that window) User = guiCreateLabel(X, Y, Width, Height, "Username", true, ViroxLogin) -- alter the Y value, so the second label is slightly below the first Y = 0.5 Pass = guiCreateLabel(X, Y, Width, Height, "Password", true, ViroxLogin) X = 0.415 Y = 0.2 Width = 0.5 Height = 0.15 UsernameEditBox = guiCreateEdit(X, Y, Width, Height, "", true, ViroxLogin) Y = 0.5 PasswordEditBox = guiCreateEdit(X, Y, Width, Height, "", true, ViroxLogin) -- set the maximum character length for the username and password fields to 50 guiEditSetMaxLength(edtUser, 50) guiEditSetMaxLength(edtPass, 50) X = 0.415 Y = 0.7 Width = 0.25 Height = 0.2 btnLogin = guiCreateButton(X, Y, Width, Height, "Log In", true, ViroxLogin) -- make the invisible guiSetVisible(ViroxLogin, false) end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), function() ViroxLoginWindow() -- if the GUI was successfully created, then show the GUI to the player if (ViroxLogin ~= nil) then guiSetVisible(ViroxLogin, true) outputChatBox("Welcome to Virox Roleplay v.0.001, please log in.") else -- if the GUI hasn't been properly created, tell the player outputChatBox("An unexpected error has occurred and the login GUI has not been created.") end -- enable the player's cursor (so they can select and click on the components) showCursor(true) -- set the input focus onto the GUI, allowing players (for example) to press 'T' without the chatbox opening guiSetInputEnabled(true) end addEventHandler("onClientGUIClick", btnLogin, clientSubmitLogin, false) ) function clientSubmitLogin(button,state) if button == "left" and state == "up" then -- get the text entered in the 'username' field local username = guiGetText(UsernameEditBox) -- get the text entered in the 'password' field local password = guiGetText(PasswordEditBox) -- if the username and password both exist if username and username ~= "" and password and password ~= "" then -- trigger the server event 'submitLogin' and pass the username and password to it triggerServerEvent("submitLogin", getRootElement(), username, password) -- hide the gui, hide the cursor and return control to the player guiSetInputEnabled(false) guiSetVisible(ViroxLogin, false) showCursor(false) else -- otherwise, output a message to the player, do not trigger the server -- and do not hide the gui outputChatBox("Please enter a username and password.") end end end And my meta.xml is: <meta> <info author="KryptonicJaze" type="gamemode" name="ViroxRP" description="RP Server in Developement" /> <script src="server.lua" type="server" /> <script src="client/gui.lua" type="client" /> <file src="assets/ViroxRP.png" /> </meta> Can someone help me and figure out what I am doing wrong?
  12. Olá a todos! Estou com uma pequena dúvida,não sei como boto o meu servidor que estou fundando, como clima da vida real, pois o game fica mudando o tempo aleatoriamente como o gta:sa e não ao decorrer da vida real, fico aguardo de socorros. Desde já, obrigado.
  13. Coopera San Andreas Online Gang War And Police Server Main Language: Arabic (Other languages could be spoken through our language-chat) Server Game-mode: Gang War Server IP: mtasa://23.88.73.88:35369 Discord Link: Click Here :سيرفر حرب العصابات تبع ميمون كاش https://www.youtube.com/@MimounX Gangs: { 11 Gangs } https://i.postimg.cc/2j4LsQ3X/Gangs.png Gangs Clothes: https://i.postimg.cc/Ss9VFnz7/Gangs-Clothes.png Some Gangs Headquarters: Police: https://i.postimg.cc/PJ4WTYfZ/Police1.png https://i.postimg.cc/sf99YdPX/Police2.png Vagos: https://i.postimg.cc/26jjgZtg/Vagos.png Triads: https://i.postimg.cc/bJ6YPvcr/Triads.png Rifa: https://i.postimg.cc/8P7c1LCS/Rifa.png Jobs: Cleaner Job Dustman Job Icecream Job Pizza Job Towtruck Job https://i.postimg.cc/xdvqwY1N/Pizza-Job1.png https://i.postimg.cc/J40DG9PS/Pizza-Job2.png Rob Bank: https://i.postimg.cc/VvpYSHNc/Bank-rob1.png https://i.postimg.cc/gJ0dgPXW/Bank-rob2.png Clothes Store: https://i.postimg.cc/RCXJCMQc/Clothes-Store1.png https://i.postimg.cc/J0D8Wc5Y/Clothes-Store2.png Ammunition Store: https://i.postimg.cc/gJBp5B86/Ammunition-Store1.png https://i.postimg.cc/J0GrzWMq/Ammunition-Store2.png Pizza Shop: https://i.postimg.cc/W1r4ZjrY/Pizza-Shop.png and you can to play DeathMatch: https://i.postimg.cc/QCyMQd0w/Death-Match.png Map DeathMatch: https://i.postimg.cc/Gms4jv0Q/Death-Match-Map1.png https://i.postimg.cc/zfZV2381/Death-Match-Map2.png https://i.postimg.cc/8c2SkJyp/Death-Match-Map3.png "والمزيد من الاشياء رح اخليكم تستكشفونها في سيرفر اتمنى ان يعجبكم محتوى السيرفر ورح تكون هناك تحديثات قوية ومستمرة انشاء الله " |* مع السلامة *| --
  14. ¡Bienvenidos al servidor [THE VISAGE RP]! Somos una comunidad enfocada en [tipo de juego, por ejemplo, rol, freeroam, DM]. Nuestro objetivo es ofrecer una experiencia única y divertida para todos los jugadores. • Scripts exclusivos. • Eventos semanales con premios. • Comunidad activa y personal amable. PÁGINA DEL SERVIDOR https://beacons.ai/thevisagerp AQUÍ DEJO EL DISCORD. https://discord.gg/YJspjsCA
  15. ¡Bienvenidos al servidor [Nombre del Servidor]! Somos una comunidad enfocada en [tipo de juego, por ejemplo, rol, freeroam, DM]. Nuestro objetivo es ofrecer una experiencia única y divertida para todos los jugadores. • Scripts exclusivos. • Eventos semanales con premios. • Comunidad activa y personal amable. PÁGINA DEL SERVIDOR https://beacons.ai/thevisagerp
  16. MAKT, a global platform with thousands of players in the past, is one of the best PVP servers on the MTA. We are looking for new players in MAKT, which has been active for more than 11 years. By registering on our Discord server, you can watch MAKT's videos and benefit from its details. Discord:https://discord.gg/makt
  17. Have you played one of these racing maps? Basically, people need to help one person get to the end of the map. Here's a cool example of a teamwork map. Something unique
  18. Hi I want to create an easy utility / library resource where I would store functions that is used often but not provided in MTA by default. This resource, called Lib looks like this: Lib/ G_Libs.lua meta.xml libs/ C_dx.lua C_gui.lua C_screen.lua G_element.lua G_math.lua G_table.lua ... the meta.xml for the Lib resource: <meta> <info author="driphunnid" type="utility" name="Libs" /> <download_priority_group>3</download_priority_group> <min_mta_version client="1.6.0" server="1.6.0" /> <!-- <include resource="" /> --> <!-- a config must be an xml file, types: client or server --> <!-- <config src=".xml" type="client" /> <config src=".xml" type="server" /> --> <oop>true</oop> <!-- <settings> <setting name="" value="" /> </settings> --> <!-- <aclrequest> <right name="function.startResource" access="true" /> <right name="function.stopResource" access="true" /> </aclrequest> --> <!-- Shared --> <script src="libs/G_number.lua" type="shared" /> <script src="libs/G_string.lua" type="shared" /> <script src="libs/G_table.lua" type="shared" /> <script src="libs/G_color.lua" type="shared" /> <script src="libs/G_math.lua" type="shared" /> <script src="libs/G_vector.lua" type="shared" /> <script src="libs/G_matrix.lua" type="shared" /> <script src="libs/G_position.lua" type="shared" /> <script src="libs/G_rotation.lua" type="shared" /> <script src="libs/G_material.lua" type="shared" /> <script src="libs/G_bone.lua" type="shared" /> <script src="libs/G_weapon.lua" type="shared" /> <script src="libs/G_world.lua" type="shared" /> <script src="libs/G_element.lua" type="shared" /> <script src="libs/G_vehicle.lua" type="shared" /> <script src="libs/G_cfg.lua" type="shared" /> <!-- Client --> <script src="libs/C_screen.lua" type="client" /> <script src="libs/C_gui.lua" type="client" /> <script src="libs/C_dx.lua" type="client" /> <script src="libs/C_ped.lua" type="client" /> <script src="libs/C_vehicle.lua" type="client" /> <script src="G_Libs.lua" type="shared" /> <export function="load" type="shared" /> </meta> and the G_Libs.lua contains this simple fileReading logic - we return the content of a read file: LIBS_FOLDER = "libs" function load(name, side) -- side = prefix - client, server or shared / global - C, S, G assert(type(name) == "string", "Bad argument @'load' [Expected string at argument 1, got "..type(name).."]") side = type(side) == "string" and side or "G" local libPath = string.format("%s/%s_%s.lua", LIBS_FOLDER, side, name) assert(fileExists(libPath), "Library not found: " .. libPath .. " - you might need to specify a /different/ side (C, S, G).") local file = fileOpen(libPath) local content = fileRead(file, fileGetSize(file)) fileClose(file) return content end For example, content of libs/G_element.lua and C_screen.lua: C_screen.lua: SCREEN_SIZE = Vector2(guiGetScreenSize()) MEDIAN_SCREEN_SIZE = Vector2(1440, 900) function ssX(x) return x / MEDIAN_SCREEN_SIZE.x * SCREEN_SIZE.x end function ssY(y) return y / MEDIAN_SCREEN_SIZE.y * SCREEN_SIZE.y end function isCursorInPosition(x, y, width, height) if (not isCursorShowing()) then return false end local cx, cy = getCursorPosition() local cx, cy = (cx * SCREEN_SIZE.x), (cy * SCREEN_SIZE.y) return ((cx >= x and cx <= x + width) and (cy >= y and cy <= y + height)) end function isCursorInCircle(x, y, r) if (not isCursorShowing()) then return false end local cx, cy = getCursorPosition() local cx, cy = cx*SCREEN_SIZE.x, cy*SCREEN_SIZE.y return (x-cx)^2+(y-cy)^2 <= r^2 end G_element.lua: function isPlayer(element) if not isElement(element) then return false end if not (getElementType(element) == "player") then return false end return true end function isPed(element) if not isElement(element) then return false end if not (getElementType(element) == "ped") then return false end return true end function isCharacter(element) if not isElement(element) then return false end if not (isPed(element) or isPlayer(element)) then return false end if not (element.model == 0) then return false end return true end function isVehicle(element) if not isElement(element) then return false end if not (getElementType(element) == "vehicle") then return false end return true end function isObject(element) if not isElement(element) then return false end if not (getElementType(element) == "object") then return false end return true end function isBuilding(element) if not isElement(element) then return false end if not (getElementType(element) == "building") then return false end return true end When I use loadstring with this concept, it works as far as I use loadstring inside a client side script, other than that, when I try to load a lib using loadstring in a server or global / shared script, I get an Access denied error for "loadstring" and "call". Example - other test resource: C_test.lua (script type in xml is "client") loadstring(exports.Lib:load("element"))() -- loads the G_element.lua file contents from Lib/libs as expected loadstring(exports.Lib:load("screen", "C"))() -- loads the C_screen.lua file contents from Lib/libs as expected however if I change the script type from client to server or shared, I get an error from the test.lua: G_test.lua / S_test.lua (script type in xml is "shared" / "server") loadstring(exports.Lib:load("element"))() -- yields an error on resource start saying Access denied for loadstring and call I tried this setting in the test resource xml file and allowing the request via console for the resource, but same issue, still access denied: <aclrequest> <right name="function.loadstring" access="true" /> <right name="function.call" access="true" /> </aclrequest> Are there any workarounds or fixes for this issue? I really would like to use this concept, I've been coming into so many restriction errors lately, I feel like I can't fully do what I want and have potential for. Why does loadstring not work on shared and server side scripts, or what am I missing? This concept would make editing and using utility functions so much easier, nicer and simpler for me, I don't want to let go of this. Also I am planning to create a framework, a boilerplate "gamemode" engine, where you have so much utility functions and systems to use, that you'll only have to worry about the final gamemode concept you will be creating, this essentially will be a free open source multiplayer gta game engine, and this Lib resource would be a huge part of it. How can I make this work? Thank you for your time!
  19. GAMEMODE VIRUSZ MTA DAYZ - ENG This is a complete game mode for MTA:SA that includes: - HUD Weapons, Vest, Helmet, Thirst and Hunger - HUD Helmet and Vest - Patent and experience - Exclusive inventory - Various weapons - VIP System - Sync system - Many modified weapons. - Various backpacks. - Crosshairs Panel. - Boss, zombie, bot system. - Patent/level system. - Weapon shot trace system. - Modeled base. - PT/BR Este é um modo de jogo completo para MTA:SA que inclui: - HUD Armas, Colete, Capacete, Sede e Fome - HUD Capacete e Colete - Patente e experiência - Inventário exclusivo - Varias Armas - Sistema VIP - Sistema de Sync - Muitas armas modificadas. - Varias mochilas. - Painel de Miras. - Sistema de boss, zombie, bots. - Sistema de patente / level. - Sistema de traços de tiro das armas. - Base modelada. Shop: Payhip Discord Link: Discord
  20. Estou sendo expulso de todo servidor que entro. Já tentei diversas vezes reinstalar o MTA e GTA San Andreas, mas nada adianta. I'm being kicked out of every server I'm joining. I've tried several times to reinstall MTA and GTA San Andreas, but nothing helps.
  21. Desde Paragon Tropical RP queremos invitarte a unirte a nuestro servidor. Servidor de rol serio,+18, con mafia admin activa diariamente, bandas disponibles y gratis, cuerpos de la LSPD y EMS con los script de Origen, multitud de negocios disponibles y gratuitos, trabajos disponibles para cualquier jugador (minero, limpiacristales...), Eventos semanales con premios de vehículos, dinero en efectivo y mucho mas. Os estamos esperando!! Si eres streamer, abre ticket en nuestro discord y pregunta sobre las ventajas que puedes obtener. Discord: https://discord.gg/paragontropical Tiktok: https://www.tiktok.com/@paragon.company.servers Tiktok 2: https://www.tiktok.com/@paragontropical web: https:// paragon-company.net/
  22. Dears, it says: ERROR: Client triggered serverside event loginAccount, but event is not added serverside Can someone check it why? I couldn't find the error. client.lua : -- Create the login GUI local loginWindow = guiCreateWindow(400, 300, 300, 200, "Login", false) local usernameLabel = guiCreateLabel(20, 30, 80, 20, "Username:", false, loginWindow) local usernameEdit = guiCreateEdit(100, 30, 160, 20, "", false, loginWindow) local passwordLabel = guiCreateLabel(20, 60, 80, 20, "Password:", false, loginWindow) local passwordEdit = guiCreateEdit(100, 60, 160, 20, "", false, loginWindow) local rememberCheckbox = guiCreateCheckBox(20, 90, 200, 20, "Remember me", false, false, loginWindow) local loginButton = guiCreateButton(20, 120, 120, 30, "Login", false, loginWindow) guiSetVisible( loginWindow, false ) -- Create the registration GUI local registerWindow = guiCreateWindow(400, 300, 300, 250, "Registration", false) local regUsernameLabel = guiCreateLabel(20, 30, 80, 20, "Username:", false, registerWindow) local regUsernameEdit = guiCreateEdit(100, 30, 160, 20, "", false, registerWindow) local regPasswordLabel = guiCreateLabel(20, 60, 80, 20, "Password:", false, registerWindow) local regPasswordEdit = guiCreateEdit(100, 60, 160, 20, "", false, registerWindow) local regConfirmLabel = guiCreateLabel(20, 90, 80, 20, "Confirm:", false, registerWindow) local regConfirmEdit = guiCreateEdit(100, 90, 160, 20, "", false, registerWindow) local regEmailLabel = guiCreateLabel(20, 120, 80, 20, "Email:", false, registerWindow) local regEmailEdit = guiCreateEdit(100, 120, 160, 20, "", false, registerWindow) local registerButton = guiCreateButton(20, 150, 120, 30, "Register", false, registerWindow) guiSetVisible( registerWindow, false ) -- Show the login GUI when the resource starts and show cursor addEventHandler("onClientResourceStart", resourceRoot, function() guiSetVisible( loginWindow, true ) showCursor( true ) end) -- Login Event addEventHandler("onClientGUIClick", loginButton, function() local username = guiGetText(usernameEdit) local password = guiGetText(passwordEdit) local rememberMe = guiCheckBoxGetSelected(rememberCheckbox) triggerServerEvent("loginAccount", resourceRoot, username, password, rememberMe) end, false) -- Register Event addEventHandler("onClientGUIClick", registerButton, function() local username = guiGetText(regUsernameEdit) local password = guiGetText(regPasswordEdit) local passwordAgain = guiGetText(regConfirmEdit) local email = guiGetText(regEmailEdit) triggerServerEvent("registerAccount", resourceRoot, username, password, passwordAgain, email) end, false) -- Login Success Event addEvent("onAccountLoggedIn", true) addEventHandler("onAccountLoggedIn", resourceRoot, function() -- Handle login success end) -- Login Failure Event addEvent("onAccountLoginFailed", true) addEventHandler("onAccountLoginFailed", resourceRoot, function() -- Handle login failure end) -- Registration Success Event addEvent("onAccountRegistered", true) addEventHandler("onAccountRegistered", resourceRoot, function() -- Handle registration success end) -- Registration Failure Event addEvent("onAccountRegistrationFailed", true) addEventHandler("onAccountRegistrationFailed", resourceRoot, function() -- Handle registration failure end) server.lua : addEvent("loginAccount", true) addEventHandler("loginAccount", resourceRoot, function(username, password, rememberMe) local player = client if not isPlayerBanned(player) then if handleLogin(username, password, rememberMe) then triggerClientEvent(player, "onAccountLoggedIn", player) else triggerClientEvent(player, "onAccountLoginFailed", player) end else triggerClientEvent(player, "onAccountBanned", player) end end) addEvent("registerAccount", true) addEventHandler("registerAccount", resourceRoot, function(username, password, passwordAgain, email) local player = client local ip = getPlayerIP(player) local serial = getPlayerSerial(player) if handleRegistration(username, password, passwordAgain, email, ip, serial) then triggerClientEvent(player, "onAccountRegistered", player) else triggerClientEvent(player, "onAccountRegistrationFailed", player) end end) meta.xml: <meta> <info author="" name="Account system" version="1.0" type="script" /> <script src="server.lua" type="server" /> <script src="client.lua" type="client" /> </meta> mysq/server.lua: -- Create a function to handle database queries function queryHandler(query, ...) local query = dbQuery(connection, query, ...) if not query then outputDebugString("Can't do the request") return end local result, num_affected_rows, last_insert_id = dbPoll(query, -1) return result, num_affected_rows, last_insert_id end
  23. Pelo amor de Deus alguém me ajuda, eu estou tentando inserir uma modelagem que fiz no scketchup no editor de mapas, consegui a princípio, mas o mod não inicia pois dá esse erro no debug ( https://drive.google.com/file/d/1RA3G7Vf5wD8lWeUbvUqrsnr_yhXmVCTM/view?usp=sharing ) Assim está meu código: https://drive.google.com/file/d/1kA5smwEpQDZYRTMThDx3NqU-HqabCICT/view?usp=sharing Não sei, literalmente, o que fazer
  24. Are you bored and want to RACE with some folks, on maps made by me, my friends or some random maps? You're in the right place! Visit International Racing Server (IRS) - open for literally anyone. You can play with us, or your friends there. I want to do also some events in the future there, and the prize would be a temporary staff on the server, installing your own skin that you'll tell us to install or maybe even prized competitions soon. Keep in mind, that this is not DD / DM RACE, instead it is a Classic Race with checkpoints. Some server commands: /nos (nfs | hybrid | normal| ) Select your nitro style. NFS: You can manually turn it off / on by pressing LCTRL or L-MOUSE BUTTON at anytime, and hybrid-style NOS; press fire once to start NOS, press fire again to stop. /fpslimit (vehicle / boat) (number) Adjust your FPS number. Default server FPS is 100. We recommend setting 30 fps for Boats because boats won't work properly while sliding on land or when landing from a distance F7 - Turn on / off race progress bar F5 - Turn on / off toptimes on a map C - Enable carhide X - Enable carfade /cpdelays - toggle the delays /setdelaypos x y - set the relative position of the delays [0 - 1] /rate (1-10) (also can do 1.5-9.5) Rate the map you are currently playing. All ratings will be shown, when you'll vote for a new map in () near the map name /votemap Start a map voting process. If you dont like certain map you are playing, you can boot up a window and you can vote for a new map to be played there /new Vote for a random map to start /skin (number) - Change your racer skin. It will save it to your account, if you are logged in /register (password) Register your account /login (password) Login to your account with the credentials you've written when registering Things to come (if i'll find scripts / do scripts myself for it): Win Money after finishing race Map Panel where you can buy maps Wheel panel for you to give yourself a new wheel look You can also upload your own maps for us to validate, and they might appear on the server! Join our Discord channel for that! https://discord.gg/y6wt7awQDm you will be able to communicate with other folks there as well, and also tag me if you'll encounter any problems We just want to create a peaceful community with friends, and you randoms of course - and we want to grow it. Consider staying there. More server info is on the Discord. Thanks! - IRS Staff
×
×
  • Create New...