Leaderboard
Popular Content
Showing content with the highest reputation on 04/03/19 in all areas
-
شف قصة ان اكثر من مبرمج يسوو مع بعض ذي لحالها مشكلة لان بعض المبرمجين بيختلفو علي شي واحد وقصة انو اكثر من مبرمج يسوو مع بعض ما رح تنفع مثلا لو في مبرمج اقترح عليهم فكرة وفي منهم اتفق عليها وفي منهم ما اتفق او ما عجبته الفكرة طبعا راح تصير مشاكل لان منهم يبي يسوي الفكرة والباقي ما يبون ذي اول مشكلة ثاني مشكلة الزوار راح يتضايقون لو لقيو كثير من اصحاب السيرفر ثالث مشكلة لو في مبرمج سوا مشكلة مع البقية ممكن يهدد البقية مثلا كـ نشر موداتهم او يخرب شي بالسيرفر وكذا رابع مشكلة لو في واسطة بالسيرفر راح تصير مشاكل كثيرة مرة بين المبرمجين مثلا واحد خوي مبرمج من الي موجودين بالسيرفر وطلب رتبة منه وراح اعطاه طبعا في رح يوافق علي انه اعطاه رتبة وفي ما رح يوافق وبتصير مشكلة بسبب الواسطة وكذا وخامسا وسادسا إلخ في مشاكل لا تحصى بسبب هذا الموضوع2 points
-
--client "onClientGUIClick" triggerServerEvent setClipboard --Server getPlayerSerial triggerClientEvent هذي الفنكشنات الي بتحتاجها *2 points
-
1 point
-
Você pode criar funções lua, e puxar esses dados do server para o site (sem usar outra database) ... Mas no caso de trabalhar com os dois, só criar uma boa lógica capaz de manter a correspondência dos dados. Vai ser cadastro pelo site ? Efetue uma call ao server e crie a conta lá também (addAccount) - Bloqueie ou adapte o /chgmypass se não a senha do server será diferente da do site. - Bloqueie ou adapte o /register - Alterou a senha no site ? Atualize no server (setAccountPassword) ... Dessa forma você poderá manipular as contas normalmente (adicionando na acl, setando dados, …) Nem precisaria definir no MySQL quem é staff, mas caso queira, pode ser feito no evento login, verificando e atualizando a coluna “Rank”, pois não existe nenhum evento relacionado com mudanças na ACL Dependendo do caso até acho melhor nem utilizar outra database, dai só trabalha com os dados no MTA e dale calls: server ↔ site1 point
-
1 point
-
ذا ارسال ترايقر للسيرفر عشان ما يحصل اخطاء وثم ارسال ترايقر للكلينت لان هذه الوظيفة setClipboard كلينت فقط1 point
-
1 point
-
Qual vai se a utilidade de abandonar o sistema de contas do MTA e usar esse?1 point
-
1 point
-
@#Bad_Boy, وش بيصير لو تركته يحاول حتى ولو مرة ادري اننا كنا نطلب حتى انا كنت اطلب اكواد جاهزة وكذا بس ما كنت اتعلم شي ابد الا لما بدأت اعتمد علي نفسي غير كذا كنت دايما متعود علي الاكواد الجاهزة ورح شف بروفايلي زمان صحيح ان مالي دخل بس لو كنت تتركه يحاول افضل وياليت ما اكون ازعجتك ولا شي .1 point
-
1 point
-
Pra fazer uma tela de download você pode usar uma propriedade no meta do resource de tela exemplo: <script> <script src="client.lua" type="client" cache="false"/> <download_priority_group>1</download_priority_group> </script> Repare nessa linha: <download_priority_group>1</download_priority_group> Setamos a propriedade para este resource ser baixado antes de todos, após ele ser baixado vai começar renderizar a tela, agora oque devemos fazer é um script pra ficar rodando em quanto os demais são baixados exemplo: function downScreen () if getElementData (localPlayer, "finishdown") then -- Se a data existir então: removeEventHandler ("onClientRender", getRootElement(), downScreen) -- Remove a render da tela setElementData (localPlayer, "finishdown", false) -- Seta a data como false end -- dxdraw da tela aqui! end addEventHandler( "onClientRender", root, downScreen) Repare nesta data, vamos usar ela pra saber se o cara esta ou não no download, agora vamos pegar um resource pra ser baixado por último e setar prioridade negativa nele, no meu caso eu uso o painel de login então ficaria assim no meta: <download_priority_group>-1</download_priority_group> E agora no resource: function disableDownScreen () setElementData (localPlayer, "finishdown", true) end addEventHandler ("onClientResourceStart", resourceRoot, disableDownScreen)1 point
-
1 point
-
Olá, Aqui está alguns tópicos sobre esse assunto. Talvez ajude. Esse tópico é melhor, Pois você disse que quer igual do destiny.. Do Destiny é em HTML https://forum.multitheftauto.com/topic/114763-meu-sistema-não-está-fechando-oque-pode-ser/1 point
-
Não sei se entendi certo, mas você pode armazenar na database o grupo da ACL que o jogador está.1 point
-
function Bad( ) if source == button1 then -- اسم الزر triggerServerEvent("XxXXxXxXxXxxX", localPlayer) end end addEventHandler ("onClientGUIClick", root,Bad) addEvent("Serials",true) addEventHandler("Serials",root, function (theSerial) setClipboard( theSerial ) end ) --Server addEvent("XxXXxXxXxXxxX",true) addEventHandler("XxXXxXxXxXxxX",root, function ( ) local theSerial = getPlayerSerial( source ) triggerClientEvent("Serials",root,theSerial) end ) تفضل جرب1 point
-
Como este seu banco de dados? acredito que você tem que fazer uma nova coluna lá apenas para o admin. se for 1 = everyone, se for 2 Mod e assim por diante. OBS: Posso estar errado.1 point
-
1 point
-
1 point
-
local players = getElementsByType('player') local vehicles = getElementsByType('vehicle') -- then just use index's, like this if player[1] then -- 1, 2, 3, 4, 5 etc inside of [], this number will be your index or your 'id' outputChatBox(getPlayerName(player[1])) end1 point
-
local id_farm = {} local farmdata = {} local dbpTime = 500 local ids = 0 function CreateFarm(dbRow) local id = dbRow['ID'] id_farm[id] = createColSphere(row['Posx'],row['Posy'],row['Posz'], 1.5) setElementData(id_farm[id], "farm", true) farmdata[id] = dbRow -- paste all database data to farmdata table. farmdata[id]["infocols"] = createColSphere(dbRow['Posxinf'], dbRow['Posyinf'], dbRow['Poszinf'], 1.5) farmdata[id]["Combaine"] = createVehicle(532, dbRow['532x'], dbRow['532y'], dbRow['532z']) createPickup(row['Posx'],row['Posy'],row['Posz'], 3, 1318, 100) createPickup(row['Posxinf'],row['Posyinf'],row['Poszinf'], 3, 1239, 100) createBlip(row['Posx'],row['Posy'],row['Posz'], 56, 2, 255, 0, 0, 255, 0, 250) addEventHandle("onVehicleStartEnter", farmdata[id]["Combaine"], function(thePlayer) -- start to enter to Combaine if id ~= getElementData(thePlayer,"fjobs") then cancelEvent() -- cancel the event and not enter outputChatBox("Вы не фермер!", thePlayer, 255, 255, 255, true) -- info return end if farmdata[id]["CornPlant"] ~= 0 then cancelEvent() -- cancel the event and not enter outputChatBox("На поле достаточно урожая!", thePlayer, 255, 255, 255, true) -- info else triggerClientEvent(thePlayer, "Go_plan_corn", thePlayer, "create") end end) addEventHandler("onColShapeHit", farmdata[id]["infocols"], function(hitElement) if (getElementType(hitElement) == "player") and (getElementData(hitElement, "online") == 1) then triggerClientEvent(hitElement, "Show_infof", hitElement, dbRow['ID'], dbRow["Owner"], dbRow["zOwner1"], dbRow["zOwner2"], dbRow["zOwner3"], dbRow["Farmer1"], dbRow["Farmer2"], dbRow["Farmer3"], dbRow["Farmer4"], dbRow["Farmer5"], dbRow["Balance"], dbRow["PriceJob"], dbRow["BuyCorn"], dbRow["CornSklad"], dbRow["CornPlant"], dbRow["SellProd"], dbRow["ProdSklad"], dbRow["PriceProd"]) end end) addEventHandler("onColShapeLeave", farmdata[id]["infocols"], function(hitElement) if (getElementType(hitElement) == "player") and (getElementData(hitElement, "online") == 1) then triggerClientEvent(hitElement, "Show_informfarm", hitElement) end end) outputServerLog("Farm number "..id.." is loaded!") end addEvent("farms_stop",true) addEventHandler("farms_stop", root, function(id) local vehicle = getPedOccupiedVehicle(client) if vehicle then removePedFromVehicle(client) respawnVehicle(vehicle, false) end outputChatBox("Вы успешно накосили урожай!", client, 255, 255, 255, true) if (farmdata[id]["CornSklad"] < 5000) and farmdata[id]["CornPlant"] == 0 then farmdata[id]["CornPlant"] = farmdata[id]["CornSklad"] farmdata[id]["CornSklad"] = 0 elseif farmdata[id]["CornSklad"] >= 5000 and farmdata[id]["CornPlant"] == 0 then farmdata[id]["CornPlant"] = 5000 farmdata[id]["CornSklad"] = farmdata[id]["CornSklad"]-5000 end end) -- Place the load function end of the script, almost always function loadfarm() outputServerLog("_________________Load to farm_________________") local query = dbQuery(connect_db, "SELECT * FROM farm;" ) local result, numrows = dbPoll(query, dbpTime) if (result and numrows > 0) then for _, row in ipairs(result) do CreateFarm(row) end dbFree(query) else outputServerLog("Houses Table not Found/empty!") end outputServerLog("Farm load: "..numrows) outputServerLog("_________________End Load to farm_________________") end addEventHandler("onResourceStart", resourceRoot, loadfarm) You need to modify the client side, when you trigger the farms_stop event, you need to send the farm's ID back. (It's not working 100%, but you can to compare with your code and find your faults.)1 point
-
1 point
-
1 point
-
O erro acontece pois dentro do setTimer, o source deixa de existir. Pois ele pertence somente à função principal e no setTimer é outra função.1 point
-
Tente isso: function comandoloja (source) if isElementWithinMarker (source, roubarloja ) then for _,players in pairs(getElementsByType("player")) do for i, k in pairs(corps) do local ContaACL = getAccountName ( getPlayerAccount ( players ) ) if isObjectInACLGroup ("user."..ContaACL, aclGetGroup (k)) then outputChatBox("#ffffff*#FF0000Atenção - O Jogador:#ffffff " .. getPlayerName(source) .. " #FF0000Está Roubando a Loja1.", players,255,255,255,true) end end end setPlayerWantedLevel ( source, 6 ) setElementPosition ( lojasair1, 834.66760, 7.45359, 1050) setElementPosition ( roubarloja, 822.74316, -0.47490, 1050) outputChatBox ('#ffffffAguarde Enquanto Você Pega O Dinheiro!',source,255,255,255,true) setPedAnimation(source, "SHOP", "ROB_Loop_Threat", 40000, true, false, false, false) setPedRotation(source,90 ) setPedAnimation( ped, "SHOP", "SHP_Rob_HandsUp") triggerClientEvent ( root, "roubar", root) setElementVisibleTo ( blipalarme, root, true ) setTimer ( function(source) setElementPosition ( lojasair1, 834.664418,7.3,1005.18701) setElementInterior ( roubarloja, 3) setPedAnimation(ped,false) setElementPosition ( ped, 819.40869, -0.45965, 1004.17969) givePlayerMoney ( source, 1300 ) outputChatBox ('#ffffffVocê Roubou a Loja 1 e Pegou #00ff00R$1.000',source,255,255,255,true) end, 40000, 1, source ) setTimer ( function() setElementVisibleTo ( blipalarme, root, false ) setElementPosition( roubarloja, 822.74316, -0.47490, 1003.2) end, 80000, 1 ) end end addCommandHandler ( "assaltar", comandoloja ) EDIT 1: Não testei!1 point
-
Tente: function comandoloja (source) if isElementWithinMarker (source, roubarloja ) then for _,players in pairs(getElementsByType("player")) do for i, k in pairs(corps) do local ContaACL = getAccountName ( getPlayerAccount ( players ) ) if isObjectInACLGroup ("user."..ContaACL, aclGetGroup (k)) then outputChatBox("#ffffff*#FF0000Atenção - O Jogador:#ffffff " .. getPlayerName(source) .. " #FF0000Está Roubando a Loja1.", players,255,255,255,true) end end end setPlayerWantedLevel ( source, 6 ) setElementPosition ( lojasair1, 834.66760, 7.45359, 1050) setElementPosition ( roubarloja, 822.74316, -0.47490, 1050) outputChatBox ('#ffffffAguarde Enquanto Você Pega O Dinheiro!',source,255,255,255,true) setPedAnimation(source, "SHOP", "ROB_Loop_Threat", 40000, true, false, false, false) setPedRotation(source,90 ) setPedAnimation( ped, "SHOP", "SHP_Rob_HandsUp") triggerClientEvent ( root, "roubar", root) setElementVisibleTo ( blipalarme, root, true ) setTimer ( function(player) setElementPosition ( lojasair1, 834.664418,7.3,1005.18701) setElementInterior ( roubarloja, 3) setPedAnimation(ped,false) setElementPosition ( ped, 819.40869, -0.45965, 1004.17969) givePlayerMoney ( player, 1300 ) outputChatBox ('#ffffffVocê Roubou a Loja 1 e Pegou #00ff00R$1.000',player,255,255,255,true) end, 40000, 1, source ) setTimer ( function() setElementVisibleTo ( blipalarme, root, false ) setElementPosition( roubarloja, 822.74316, -0.47490, 1003.2) end, 80000, 1 ) end end addCommandHandler ( "assaltar", comandoloja )1 point
-
السلام عليكم ورحمه الله وبركاتة باختصار مشكلتي هي لما اجي اسجل دخولي في الاستضافة يدخل تمام http://62.210.56.139/home.php بس لما ادخل علي الرابط التالي ويقولي دخل اسم المستخدم والباسورد http://62.210.56.139:28015/resourcebrowser/ بدخلهم عادي بس بيجيلي خطا ويعيدلي الرسالة تاني عشان املئ البيانات ياريت مساعده وشكرا1 point
-
1 point
-
/\ / \ / \ / \ / \ ---------- For those who have already downloaded the tool I post. I found and removed a critical bug in it, which had to do with calling back the client. While testing (alone) I didn't notice that it was sending information back to all clients instead of the one that should receive it. My apologies about this. Change in the source code: https://gitlab.com/IIYAMA12/mta-communication-enchantment/commit/c425481b5e49da3ff4aab9b5552795e2f2563e98 It is recommended to re-download the tool in that case. NOTE: I will not make feature announcements here, only critical bugs. Re-download1 point
-
Encontrei esses dois na comunidade (tela enquanto está no download): https://community.multitheftauto.com/index.php?p=resources&s=details&id=5874 https://community.multitheftauto.com/index.php?p=resources&s=details&id=77661 point
-
أتوقع ان المصمم و المبرمج تخصصين مختلفة , المصمم له شغل لحاله و المبرمج له شغل لحاله صعب جدا جداً تاخذ الشغلتين بنفس الوقت أما بالنسبة لموضوع استنقاص السيرفرات العربية , كان الاحرى بك تسميه انتقاد مو استنقاص انا اشوفه كذا ,,, فعلاً يا اخي السيرفرات العربية أغلبها هجولة , والهجولة راح وقتها , عندي جي تي اي 5 و عندي العاب عربية نزلت حتى على الجوالات كلها هجوله SA ليش ادخل جي تي اي لو كانت فيه أفكار جديده و قيم مودات جديده كان ما بتحصل انتقادات حول السيرفرات العربية1 point
-
onClientCursorMove (worldX, worldY, worldZ variables + some math stuff to move object in 1 axis) + moveObject or setElementPosition @Lezlike1 point
-
1 point
-
1 point
-
1. Solving the main issue. In case of sending from server to client. • Do not send triggerClientEvent's over the root variable.(it is also root, when you do not fill in the receiver) Instead use a table which contains all players that have loaded their resources. When the event onClientResourceStart has been triggered, this player is ready to go. When I release a tool that I have been announced two days ago, there will be a 2e. There is also a function in Lua called pcall. This will skip all error messages, but I don't think that will work as it is an async created error. (Not directly shown up when the trigger*Event function is called, but after it has first send to the other side) function test1 (arg) print(arg) end pcall(test1, 13342144) pcall(test2, 354356) -- there is no test2 function, but we can try to call it without any error message.1 point
-
1 point
-
1st April 2019: THIS TOPIC HAS BEEN CLOSED BY MODERATOR ON REQUEST OF TOPICSTARTER EMERALD GAMING ROLEPLAY https://emeraldgaming.net WHO WE ARE We are a small team with 21 years of combined roleplaying experience amongst us all put together and we all have the same goal - creating a roleplaying environment that is enjoyable, accessible and most importantly - fair for everyone. Each of us have all held a administrative or leadership role within popular roleplaying servers in the past which has given us an in-depth understanding of all aspects within roleplay - civilian, legal, illegal and government. No matter what server, one thing has always been persistent; no community was able to continuously fulfill the three goals stated above. This eventually led us to come together and form a community of our own. WHAT WE PLAN TO DO Creating the ideal roleplaying environment which will appeal to everyone and all sides will take time and feedback - this is why we have gone public quite early in development; to build from the ground up based on community feedback in order to ensure we create the ideal server filled with features, rules and guidelines dictated by the community. At the end of the day it is you who'll be primarily playing and on the end of everything, not us. By removing the bureaucracy that most other communities revolve around, we're creating something that is built by the players themselves to ensure we stick to the right path and work from ideas and suggestions that the players have approved of. We aim to be a medium-to-heavy roleplaying server, enforcing the highest levels of immersion, roleplaying rules and at the same time, maintaining a high level of enjoyability. We feel that roleplaying nowadays has lost its touch with what it used to be years ago, a sort of grounds where you could come online, play with friends, build up what you desire or play any role within roleplay and enjoy doing it - whereas now it seems to be is competition, cops versus robbers and all about winning. Read more about Emerald Gaming here: https://forums.emeraldgaming.net/topic/35-what-is-emerald-gaming/ DEVELOPMENT CONCEPT There have been numerous communities that crumbled because of lack of attention given to a certain part of development or a feature, and that's why working without a deadline and at our own pace gave us the opportunity to work on features more thoroughly and in-depth. We've seen this in the past from other communities that have failed as a result of increasing desire and pressure to launch an unfinished server. We have devoted a great deal of our time to not only development but also to research what players expect from a server and how to improve from the mistakes of other communities, overall creating a more enjoyable experience. A substantial part of the process we need to go through is not only reducing the internal bureaucracy of the staff, or ensuring that everyone has equal opportunities, but also the experience of not being restricted by the server's script capabilities. WHAT WE HAVE TO OFFER All concepts, ideas and showcases are currently in their early alpha stages and do not represent actual gameplay, they are subject to change at any given moment throughout development until the final public release. 3D User Interfaces This is the primary feature that we believe will make us unique and re-invent the way roleplay is conducted on MTA. By creating graphical interfaces within the 3D world, players can interact with things such as vehicles or objects seamlessly like any open world game where pointing the center of your screen at the element triggers the ability to interact with it. Expanding on this idea, having 2D GUIs on screen all the time or for each interaction can leave the user feeling quite clustered - so we've minimized it all down to simple prompts and selections to get what you need done. An example of this concept can be seen below, where a player interacts with an ATM to withdraw money - the ATM interface is drawn as soon as the player approaches it, and you can begin interacting with it like any other GUI. Please bear in mind that the example below is a very rough draft to show the concept and does not represent the final project. Advanced Inventory & Item System Our item and inventory system is one that provides the highest level of immersion and accessibility. With custom models for objects to reflect the actual item itself, a sleek and simple inventory with an easier level of interaction to use - you'll get used to it as if you've been using it for years in no time. The inventory is split up into 4 portions. The main inventory holds all of your basic items such as your wallet, keys, clothing, accessories and storage items. The weapon inventory holds.. weapons. When a weapon is placed into this inventory, it'll appear on the player and be added to their hotbar for usage. Ammo is fed to the weapon directly from the main inventory. The hotbar is a concept we wanted to try out and see what the community thinks - you can place items into your hotbar by dragging and dropping them to any of the six available slots. From there you can pin your hotbar so it remains on screen wherever you like when you close your inventory. When roleplaying, you can then scroll through each item within your hotbar with number keys 1-6 or your mouse scroll wheel. This can be used to select weapons to equip in-hand, or hold out items such as your car keys to unlock your car, handcuffs to use before handcuffing a player and so on - the possibilities are endless! The storage inventory is only visible when you click on a storage item such as a backpack, dufflebag, basket, armor and so on. The size and slots that can be stored within the storage item depends on the item itself and its predefined slots. Dropping a storage item on the ground with contents inside will retain its contents, so you can finally fill a briefcase up with tons of money and pass it over the table to a mob gangster just like in the movies. Unique GUI System We use a custom GUI system which draws amazingly designed and easy to use interfaces instead of the stock MTA GUIs. Player Report Panel accessible via F1. Administrative Item Spawn Panel. Character creation. Character creation skill points allocation. (This will be explained in-depth at a later date.) Video displaying the full character creation. Focus on all sides of Roleplay We aim to provide enough script support for all sides of roleplay. Be it legal, illegal, government or just plain civilian. Leaving one side more superior and focused with features scriptwise can result in a loss of incentive of to play other roles, so making one role just as enjoyable as the next is key. Law Enforcement Because LEO roleplay is quite major and requires quite a lot of equipment on the script end to assist in being able to carry out essential tasks such as using an MDC, a prison system and tactical equipment, we'll be sure to incorporate everything a law enforcement officer needs to get the job done. Starting from just a pen and ticket book, all the way to a remote controlled bomb disposal bot. Illegal Roleplay The other major role of every roleplaying community. Illegal roleplayers are the heart and soul of creating exciting roleplay opportunities for other players such as gangs, large factions, shootouts and the general illegal atmosphere. With the Faction Team already functioning and prepared, we spent a considerable amount of time thinking of ways to provide life and new innovative features to illegal roleplay. We're making it easier than ever to grow drugs with a fully detailed drug system, requiring as minimal staff interaction as possible and allowing players to roleplay independently. We'll be putting measures in place to make sure that the economy is balanced to allow healthy illegal roleplay. Legal Roleplay When attempting to achieve a perfect balance between all sides of roleplay, legal RP plays a major role. Be it a bar, club or a trucking service - it's going to be a pleasant experience for company leaders, employees and entrepreneurs. Everything you need is going to be accessible in-game, such as creating a faction by going through the typically mundane process of acquiring a business license from the government. The Faction Team is more than open to hearing your suggestions and will have an announcement up in the coming weeks for more information, we can't wait to hear what you think! Customization Everyone loves customization and personalization. It helps you feel more comfortable and make something yours, and to do that we've added a ton of customization opportunities throughout. If you've seen the video above of the inventory system, then you already know you can move each inventory anywhere you want and save it's location. Pin and unpin your hotbar so its constantly on-screen or only appear whenever you hit a scroll number key. Adjust your HUD style to whatever theme you like through the settings menu, as of now we have two styles already available for all players, 'White on Black' and 'Black on White' with more coming soon. We even plan to open up design submissions to the community, so anyone can make their own HUD design using our provided templates and if it receives enough approval, we'll add it in-game! White on Black HUD Style. Black on White HUD Style. A ton of extra settings exist and can be found in the F10 menu in-game to toggle on graphical enhancements, shaders, or adjust how certain scripts react to your actions and make them do what you prefer. Preventing Abuse As with every server, we plan to have a large staff team at some point, and tracking the actions of each and every member can be quite time consuming, and some unintended actions can slip past unnoticed. We've tailored different ideas as to how we can resolve this, and at the end of the day we can have as many policies, regulations and rules in place but this doesn't stop the pesky habits of administrators who think they can slip past them all to get a quick weapon, item or vehicle fix. Everything and anything they do is logged, along with live notifications being sent to managers on duty with their actions for every command that can be abused in one way or another. If a staff member abuses the commands they have access to or breaks any rule and there is no manager online to see it, there are measures we put in place, allowing us to ensure that everyone is maintaining a very high standard. Performance Hey, with everything going on and all these great features being brought forward, where do we stand in terms of performance? All our code is written and rewritten multiple times until we're happy that it's at its most optimal and the highest standard possible. Promising such great and advanced features is one thing, being able to use them seamlessly is another so we've taken it as our goal to ensure that low end computers still have a chance to experience what we have to offer. We continuously check and monitor the usage of each resource occasionally to avoid the common mistakes other servers make, such as memory leak or high CPU usage. Prior to a public launch, we plan to run tests on virtual machines and try out different specifications to see how resources react and assess the playability until we're satisfied. A public graph will also be provided displaying the minimum and recommended specifications. Please bare in mind that MTA functions on only one CPU core, so even if you have a beefy super computer with an i9 processor and a ram size of 512GB, you'll still experience FPS drops for rendering and object loading in minor occasions. DEVELOPED BY YOU Development is a process that requires a lot of decisions to be made. An ideal community can only be built up when ideas and decisions are put into discussions - the best way to do is to hear everyone out, the whole community. We want to make roleplaying enjoyable for everyone, in all areas, fields and roles of roleplay. The reason we are publicizing the community rather early in development is for the sake of determining important decisions and features which will be utilized by the players for months to come. Each month we will be posting what progress has been made, constantly be creating surveys and initiating discussions regarding what features we need to pursue in order to satisfy every kind of player. We urge you to contribute to discussions and to make your opinion heard, everything is equally considered. The community will pave the road ahead. If you possess programming skills that you believe are of use to us, we always appreciate and urge developers willing to dedicate themselves to this project to apply for the Development Team here. Keep in mind that we have a very high standard that we maintain throughout development in order to reach the perfect balance of performance and enjoyability. We urge all newcomers with roleplaying experience to start a discussion, introduce themselves within the community or give us feedback regarding our ideas! When you've gotten comfortable, send us your suggestions and what you want to see in the server. Let's make something great together. Thanks for reading! CREDITS All content displayed is developed directly by the Emerald Gaming Development Team with the exception of any listed resources and/or code obtained from external sources. @thisdp for his original dxLibrary. @Grozz for assistance with 3D interface functions. @ryden for original superman resource. Stay up to date with Emerald Gaming and our progress!1 point
-
Não digo que deva abandonar o MySQL, mas dependendo do caso não existe tanta necessidade... Fiz um exemplo simples de como efetuar login no site a partir de uma conta existente no server: <!-- index.html --> <form action="/login.php" method="post"> <input type="text" name="login"> <input type="password" name="senha"> <input type="submit" value="Logar"> </form> <? // login.php include("mta_sdk.php" ); if ($_SERVER["REQUEST_METHOD"] == "POST") { $mtaServer = new mta( "localhost", 22005, "adminlogin", "adminsenha" ); $resource = $mtaServer->getResource ( "site" ); $returns = $resource->call ( "login", $_POST["login"], $_POST["senha"] ); if ($returns[0]) { echo "logado!"; }else{ echo "falha no login!"; } } ?> -- resource "site" function login(user,pass) local acc = getAccount(user, pass) if (acc) then return true return false end <!-- meta.xml --> <export function="login" type="server" http="true" /> * Não testado0 points
-
افصل طريقة استخدم الداتا او الجداول مع التريقر وفي الكلنت سو لوب لكل اللاعبين وشوف الي معه داتا حط له الكلام الي بالداتا او سو لوب للجدول وحط الكلام فوق اللاعب الي بالجدول0 points