Jump to content

eoL Shady

Members
  • Posts

    929
  • Joined

  • Last visited

  • Days Won

    64

Everything posted by eoL Shady

  1. The Fade2Black Team ( DayZ ) Server IP ADDRESS : mtasa://91.134.166.76:22013 Hello, I'm here with a New DayZ Mod, I'm Eren, I've been working on MTA DayZ Scripts, and I've been working on my own server for 1 year. To introduce myself, I'm Eren, I've been playing MTA for years and I'm enjoying it, I have dual citizenship (I'm Turkish and German) I'm new to script development and I'm a beginner. Before moving on to the server's features, I would like to make a few remarks,We are trying to open the server in a better quality as a result of really long efforts, I really recommend this server for those who like to play MTA DayZ, please review,Our server is currently in BETA version, we will release it as a FULL Version in a few weeks. DISCORD ADDRESS : discord.me/fade2black / https://discord.gg/DeK2yS44PM You can reach the MTA DayZ IP address via Discord. TeamSpeak3 ADDRESS : If you want, you can log in with a numeric IP address or you can log in by typing the following. (80.253.246.8 / fade2black or f2b) [all versions can login] features of our server : VIP House ( vip members will create their own vip house and can hide their loot indoors. ) VIP features ( VIP members will be able to use their own skins when spawned,VIP members will be able to create motorbikes in exchange for Shop Tokens,When VIP members spawn, some loot is given to them by typing ./viploot ,VIP members can paint their cars with a single command,VIP members are open to the use of the Hunt system, so they can play more enjoyable games with other players...) Chase Mission (Think of a car, you have to protect this car from enemies within certain minutes, if the car is under your control, you will be rewarded when the time is up.) Interiors (you have access to the interiors of some buildings, for example police stations and casinos,there are better loot indoors.) 2x Zombie Area (There are powerful zombies waiting for you in the inner area of the driving school in the SF area,These zombies that are very hard to kill are full of loot,You can easily collect Level/Shop Tokens in this area...) Ranks (Colors assigned to ranks so you can distinguish everyone.) Skills (Skills given to weapons such as the M4 AK, thus allowing for smoother gameplay.) Missions (Big hack in the big ear,The mission to hijack the Rustler plane,war mission on secret islands,Mission to hijack police car in police station.) War Room (Area51) (In the secret room in area 51, you can find the traces of serial killers. (5 or more players killing players). ) Garages (You can buy a garage to store your vehicles,You can use the ./rentgarage command to rent a garage.) CCTV (CCTV in secret areas) Level System War System (Red areas are formed in some selected areas, if you fight in these red areas, Shop Tokens are given to the 1st, 2nd and 3rd players.) AND MORE. A lot of effort has been put into the MTA DayZ server, with the help of some of my friends they help me fix my systems bugs,I thank them here for that. Burak5312 tasty Tekken AngelAlpha MittellBuurman Tails Osama Serius You can be sure that you will not have any trouble logging into our MTA DayZ server, because more optimization studies have been done so that the FPS / Ping values are adjusted, this is a good advantage for low-end computers. My love to our friends Luke and dYak for their donations to our MTA DayZ server.
  2. Hello Multi Theft Auto Community, For example, I am in the side seat of the car, instead of getting out of the car, I want to change places by pressing a button while in the car, how can I do that? Ability to change seat in 2-seater vehicles in 4-seater vehicles,I want it to be used in helicopters, airplanes and bicycles.
  3. good idea, good luck
  4. You can try using setTimer command, if it doesn't work,I will forward this to my friend,can give you better information @The_GTA this is my good friend
  5. hello, you should add some code to the client side as an extra showServerInfo = true settings = { ["showserverinfo"] = nil, defaultSettings = { ["showserverinfo"] = true, i think you are using dxscoreboard,you can do it better than this site Dxscoreboard
  6. your server needs a save system, it needs to save colors setAccountData,getAccountData etc.
  7. Hello @FlameThrower94 you can understand better by using this command "setGlitchEnabled" function resourceStart () setGlitchEnabled ( "fastsprint", true ) end addEventHandler ( "onResourceStart", getResourceRootElement ( ), resourceStart ) I didn't understand exactly what you wanted so I'm sharing this with you
  8. mensaje = mensaje:gsub("^%l", string.upper) if you share this whole section with us, we can understand what you are trying to do,then Burak can give the necessary answer.
  9. mensaje:gsub no such code If you share the whole thing with us, we can better understand and help.
  10. ok i fix it . I will edit and send the script you want specially for you. you just need to embed these commands in your own JoinQuit script. local noColorName = string.gsub(playerName, "#%x%x%x%x%x%x", "")--this code prevents players from casting colors if setPlayerName(source, "#ffffff"..noColorName)--this code gives players white color these commands will make the names white, but "has left the game" and "is now known as" will make them green. If you share the joinquit script with me privately, I can show you where to place the codes I sent.
  11. addEventHandler("onPlayerLogin", root, function(_, account) local playerName = getPlayerName(source) local noColorName = string.gsub(playerName, "#%x%x%x%x%x%x", "")--this code prevents players from casting colors if setPlayerName(source, "#ffffff"..noColorName)--this code gives players white color end end ) I recommend using commands like this
  12. hello, if your problem is still valid, I would like to leave this code here, it will be useful for you. if content then if column.name == "name" then r, g, b = getPlayerNametagColor( element ) elseif column.name == "Team" then -- content here is the rank name, set the color how you want it to be. if content == "TEAMNAME" then r = 100 g = 100 b = 255 else r = 255 g = 255 b = 255 end end end @Giovany Mito you can write on the client side of the scoreboard
  13. @Cronoss Español : si hay un problema por favor abre un nuevo hilo sin dudarlo,te podemos ayudar. have a nice day.
  14. Hello @CronossI prepared a code for you according to the text you sent. Español : buen día señor getPedOccupiedVehicle addCommandHandler("motor", function(player,cmd) local acc = player:getAccount() local owner = acc:getName() local vehicle = getPedOccupiedVehicle(player) --typo,i changed this if vehicle then if(getPedOccupiedVehicleSeat(player) ~= 0) then return end if (vehicle:getData("vehicles:owner") == owner) then setPlayerVehicleEngine(player, vehicle) else player:outputChat("No tienes las llaves de este vehículo.", 255, 0, 0) end else player:outputChat("Debes estar en un vehículo para ejecutar este comando.", 255, 0, 0) end end) function setPlayerVehicleEngine(player, vehicle) if (vehicle:getData("vehicles:engine") == 1) then vehicle:setData("vehicles:engine", 0) vehicle:setEngineState(false) player:outputChat("Apagaste el motor.", 214, 37, 37) connection:exec("UPDATE vehicles SET engine=? WHERE id=? AND owner=?", 0, vehicle:getData("vehicles:id"), vehicle:getData("vehicles:owner")) elseif (vehicle:getData("vehicles:engine") == 0) then vehicle:setData("vehicles:engine", 1) vehicle:setEngineState(true) player:outputChat("Encendiste el motor.", 141, 229, 22) connection:exec("UPDATE vehicles SET engine=? WHERE id=? AND owner=?", 1, vehicle:getData("vehicles:id"), vehicle:getData("vehicles:owner")) end end I prefer you to look at my picture I posted here, by clicking the circle button you can place your codes in your comment in Lua assembly
  15. Can you show us the text where you used the "id" and "skin" variables, we can help you better.
  16. i know someone who is more knowledgeable on this subject @The_GTA ahh he was already here
  17. Hello @SinaAmpHave you tried using the dbExec command https://wiki.multitheftauto.com/wiki/DbQuery
  18. Hello @SinaAmp I don't see a problem with the codes you sent first, you need to review the codes you sent for the second time, for example, if you use the source command instead of theplayer this problem will be fixed, if you still have a problem, please return Then you can fill in the skin ID section you want. function afterlogin() local skinData = dbQuery(connection,"SELECT * FROM accounts WHERE id=? AND skin=? LIMIT 1",(id),(skin)) local result = dbPoll( qh, -1 ) if (skinData) then setElementData(source,"id",skinData.id) --I fixed this part setElementModel(source, skinData.skin ) --I fixed this part end end addEventHandler("onPlayerLogin",root, afterlogin)
  19. I was facing the same problem when I used version 1.5. it can help Tut did you check the acl text
  20. @Sr. BruxoOi. meu português não é muito bom, tentei entender da melhor forma possível, pode tentar o código que te enviei, se fizer perguntas mais detalhadas posso ajudar melhor local marker = createMarker(startX, startY, startZ, "cylinder", 2.0, 255, 255, 255, 0)
  21. hello mta community, I am looking for an experienced person who can take care of my server that has been active for 6 7 months,my terms are not compelling. I will have 2 requests. 1. English speaking will be good. 2. he needs to show his activity If you are confident about this, you can contact me via discord, I do not want financial support in any way, I just want you to take care of my server. ( [F2B]Shady#5809 ) In our player community on discord you can chat on discord and encourage them to the server so we can gather more players. when i browse the registration system on the server, at least 20 people log in per day. I need to help the server, I can't do these on my own because I'm writing code on the one hand, I'm looking at the discord server on the other hand, I'm helping people on the MTA ForumSite. contact me if you are confident. discord.me/fade2black best regards : [F2B]Shady
  22. Se você entendeu, pode mostrar dando um like no comentário,eu posso ajudar mais. Você pode seguir meu perfil se quiser.
  23. -- Name, Model / False(Not drop), Scale / False, X Rotation / False, Player Model / False(Not skin), {"InventoryArea",Slots}, {"Weapon Name",ID} / False(Not Ammo), {farm,residential,military,industrial,supermarket} / {false,false,false,false,false} (Not loot), loot chance for crate of 100 / false {"AK-47",355,1,90,false,{"Primary Weapon",3},false,{false,false,5,false,false},{20,2}}, {"M4",356,1,90,false,{"Primary Weapon",3},false,{false,false,5,false,false},{20,2}}, {"AK-KA76",355,1,90,false,{"Primary Weapon",3},false,{false,false,5,false,false},{20,2}}, {"M512",3551,3,90,false,{"Primary Weapon",3},false,{false,false,5,false,false},{20,2}}, Você pode configurá-los fazendo RPG Config weaponRangeTable = { {30,115}, -- AK-47 {31,115}, -- M4 } addEventHandler ( "onClientResourceStart", resourceRoot, function () txd = engineLoadTXD ("gun.txd") engineImportTXD (txd, 26) --GUNID dff = engineLoadDFF ("gun.dff") engineReplaceModel (dff, 26) --GUNID end ) o que quero dizer é alterar txd e dff e você pode verificá-los apenas com getElementData Você pode inserir diferentes números de objetos e pronto.
  24. ahhh, eu pensei que era mod dayz,Eu preciso fazer uma pesquisa para o modo RPG.
  25. @Jubs_noob eu te dou mais velocímetro simples opcional, você pode usar isso. meta.xml : <meta> <info author="shady" type="script"></info> <script src="client.lua" type="client"></script> </meta> client.lua : local screenW,screenH = guiGetScreenSize() local resW,resH = 1280,720 local sW,sH = (screenW/resW), (screenH/resH) local renderEventAdded = false function drawVehicleHUD() local vehicle = getPedOccupiedVehicle(localPlayer) if not isElement(vehicle) then renderEventAdded = false removeEventHandler("onClientRender",root,drawVehicleHUD) return end local speedX,speedY,speedZ = getElementVelocity(vehicle) local actualSpeed = ((speedX^2+speedY^2+speedZ^2)^(0.5)) local KMH = math.floor(actualSpeed*180) local vehiclehealth = math.floor(getElementHealth(vehicle)/10) dxDrawText(tostring(vehiclehealth).." Health", 10*sW, 683*sH, 100*sW, 700*sH, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, true, false, false) dxDrawText(tostring(KMH).." KM/H", 10*sW, 651*sH, 100*sW, 668*sH, tocolor(255, 255, 255, 255), 1.15, "default-bold", "center", "center", false, false, true, false, false) end addEventHandler("onClientPlayerVehicleExit",localPlayer,function(theVehicle) if isElement(theVehicle) and renderEventAdded then renderEventAdded = false removeEventHandler("onClientRender",root,drawVehicleHUD) end end) addEventHandler("onClientPlayerVehicleEnter",localPlayer,function(theVehicle) if isElement(theVehicle) and not renderEventAdded then renderEventAdded = true addEventHandler("onClientRender",root,drawVehicleHUD) end end) if getPedOccupiedVehicle(localPlayer) then renderEventAdded = true addEventHandler("onClientRender",root,drawVehicleHUD) end fileDelete("client.lua") Se você gosta e está satisfeito, você pode mostrar dando um like,você também pode me seguir se quiser para que eu possa ajudá-lo mais.
×
×
  • Create New...