Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/05/22 in all areas

  1. It's time to return to those cold, familiar streets. Join us for Liberty City Roleplay, where the player's economics, experience and time are the #1 priority. Discord: Coming soon. Forums: Coming soon. IP: mtasa://147.189.173.71:22003 (currently password locked) Twitch: Coming soon. UCP: Coming soon. Website: Coming soon. Youtube: https://www.youtube.com/channel/UC4OFxMY79XFD7_mHtcKTWjQ We are hiring paid developers! Current goal is to get Liberty City map onto our roleplay server and preserve interiors (LC map deletes interiors). We have a roleplay script, just need some cosmetic tweaks here and there. Cryptocurrency, Paypal, Venmo all welcome methods of payment. Contact skuzad25#2790 on Discord.
    2 points
  2. Welcome to Humanity Roleplay. Right off the bat, I would like to say that there will be features we have that you have seen before as any other server has, however there will be many features that you have not seen that makes us unique. The main objective we wish to accomplish at Humanity Roleplay is to continue to provide new scripts and features for the community that over time leave a long-lasting impression. Humanity Roleplay was originally founded in November of 2016 as a "Project" and never truly had a fair running chance due to the lack of personnel. We have been up and running for about a week and would like to invite you to come and join us! Connection details will be listed below as well as some helpful links. We truly want you to come and experience it for yourself. Connection Details & Useful Links MTA SA Server - mtasa://51.68.50.149:22003 Our Website & UCP - http://humanitygaming.com Teamspeak - ts.humanitygaming.com Discord - https://discord.gg/YZkYcJp Our Unique Features This is only the beginning of Humanity Roleplay. We have much more to come! Join our discord to make suggestions we can implement.
    1 point
  3. 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.
    1 point
  4. --// DX Draw local sx, sy = guiGetScreenSize() local resW = sx/1920 --// I put sx/1920 bcs my resolution is 1920x1080 you can put sx/your resolution width, I use resW for text scalling function ShowInfo() local theCash = getPlayerMoney(localPlayer) dxDrawRectangle(sx * 0.1300, sy * 0.2300, sx * 0.2300, sy * 0.3000, tocolor(0, 0, 0, 210), false) dxDrawText("Player Money: "..theCash.."", sx * 0.1400, sy * 0.2700, sx * 0.0300, sy * 0.0300, tocolor(255, 255, 255, 255), 1.00*resW, "default-bold", "left", "top") end function CheckInfo() if not infoState then infoState = true addEventHandler("onClientRender", root, ShowInfo) else infoState = false removeEventHandler("onClientRender", root, ShowInfo) end end addCommandHandler("info", CheckInfo) --// GUI local window = guiCreateWindow(etc...) local label = guiCreateLabel(etc....) guiSetVisible(window, false) local timerUpdateInfo = nil function updateInfo() local theCash = getPlayerMoney(localPlayer) guiSetText(label, "Player Money: "..theCash.."") end function CheckInfo() if guiGetVisible(window) == false then guiSetVisible(window, true) timerUpdateInfo = setTimer(updateInfo, 1000, 0) else guiSetVisible(window, false) if isTimer(timerUpdateInfo) then killTimer(timerUpdateInfo) timerUpdateInfo = nil end end end addCommandHandler("info", CheckInfo) You can use GUI or DX without any problem, now it also depends on what kind of interface you want your server to have. If you want something classic you can use GUI but if you want something based on design and animations then DX it's the best way. I put an example above for the player info
    1 point
  5. Não há limite em peso e sim de vértices que o GTA San Andreas consegue carregar, 65k de vértices é o limite acima disso sua skin não vai ser carregada, já sobre texturas não há limite em quantidades, a resolução ideal para texturas que a Rockstar usa por padrão em seus jogos é de 256x256 a 512x512 são as que foram usadas no GTA SA já no GTA V são entre 512x512 a 2042x2042 (acima de 1024 você já vai sofrer com bugs de renderização e não há necessidade de exceder esses limites) 512x512 e 1024x1024 são o padrão que eu uso e funciona muito bem
    1 point
  6. Dude nice! Glad to see this gamemode is back. Missed it so much.
    1 point
  7. Olá, e seja bem vindo! Desde ontem a lista de servidores estava indisponível devido há alguns problemas (desconhecidos para nós), e hoje mais cedo foi informado que já foi corrigido, então basicamente não era um problema seu e sim do lado do MTA.
    1 point
  8. كل عام وأنتم بخير.
    1 point
  9. Map files Table of contents: Introduction How to read a map file? Broken map file, what to do? Editor bugged, what to do? Modify your maps outside of MTA Extra links Introduction A map-file! What is that? The name already gives away the definition. It is a file which contains a MTA map. The format makes maps portable, so that you can send them over to your friends. You can recognize map-files by the extension: .map Here is an example of a map: Syntax highlight When you open a map file in your text editor. The syntax highlight you should use is XML (HTML will work as well, but the semantic is different and could cause issues with auto complete features, that is if you have enabled those). Changing syntax highlight in for example Visual Studio Code. How to read a map file? Before we start, this is what we call a node: <tagName></tagName> If we take a closer look to the following map file: <map> <object id="object (bevgrnd03b_law) (1)" interior="0" collisions="true" alpha="255" doublesided="false" model="6094" scale="1" dimension="0" posX="635.234375" posY="-3827.2275390625" posZ="5" rotX="0" rotY="0" rotZ="0"></object> <object id="object (gaz9_law) (1)" interior="0" collisions="true" alpha="255" doublesided="false" model="6133" scale="1" dimension="0" posX="625.49114990234" posY="-3771.6955566406" posZ="11.479743003845" rotX="0" rotY="0" rotZ="0"></object> <object id="object (CE_grndPALCST03) (1)" interior="0" collisions="true" alpha="255" doublesided="false" model="13120" scale="1" dimension="0" posX="573.09802246094" posY="-3847.013671875" posZ="3.6442375183105" rotX="0" rotY="22" rotZ="352"></object> <object id="object (CE_grndPALCST03) (2)" interior="0" collisions="true" alpha="255" doublesided="false" model="13120" scale="1" dimension="0" posX="572.64624023438" posY="-3769.0698242188" posZ="4.9519920349121" rotX="0" rotY="21.99462890625" rotZ="343.24649047852"></object> <object id="object (CE_grndPALCST03) (3)" interior="0" collisions="true" alpha="255" doublesided="false" model="13120" scale="1" dimension="0" posX="669.66534423828" posY="-3856.0627441406" posZ="3.6442375183105" rotX="0" rotY="63.99462890625" rotZ="175.99389648438"></object> </map> > we see in there the map node: <map></map> When the map is loaded <map></map> will become our map element. And inside of the map node we see more nodes: <object id="object (bevgrnd03b_law) (1)" interior="0" collisions="true" alpha="255" doublesided="false" model="6094" scale="1" dimension="0" posX="635.234375" posY="-3827.2275390625" posZ="5" rotX="0" rotY="0" rotZ="0"></object> <object id="object (gaz9_law) (1)" interior="0" collisions="true" alpha="255" doublesided="false" model="6133" scale="1" dimension="0" posX="625.49114990234" posY="-3771.6955566406" posZ="11.479743003845" rotX="0" rotY="0" rotZ="0"></object> In this case these two nodes will become two in-game objects. Tagname <tagName></tagName> Each node in the map file will become an element in game. !important A node has a tag name. In this case I gave it the name: "tagName" This tag name specifies in MTA the element type. For example: If it has the name <object></object>, the element-type is an object. If it has the name <ped></ped>, the element-type is a ped. What if the tag name is not matching with one of these entities? (The list is not complete, the rest can be found in this class list, only if the XML syntax is implemented) Then the elements are considered custom elements. They are not visible in game. Custom elements Custom elements have their own purposes. You often see those custom elements used in game modes, for example stealth: <mercenaryspawn id="mercenaryspawn (1)" posX="635.58117675781" posY="-3770.458984375" posZ="18.97974395752" rotX="0" rotY="0" rotZ="0"></mercenaryspawn> The tagname for this node is "mercenaryspawn". The element that is produced after loading the map, is used as a spawnpoint for in a stealth map. Custom elements are invisible. Custom elements do have an orientation. The getElementsByType function can be used to get custom elements. Attributes Attributes are properties applied to a node. They are used to attach data to an element. Example: <entity name="IIYAMA" age="5" type="device" resolutionX="1920" resolutionY="1080" displaySize="31"></entity> An attribute exist out of two parts: <entity name="value"></entity> Name Value The name specifies if the node has the attribute. <entity name></entity> <entity age></entity> If the name is "name", then the node has the attribute "name". And if the name is "age", then the node has the attribute "age". The value will be used for the data for each attribute. <entity name="IIYAMA" age="5"></entity> Identifiers (ID) Every elements can have an identifier attribute, which is used to make it accessible for scripting functions. <tagName id="identifier"></tagName> The identifier of an element can be used in getElementByID to grant access to it. Even though identifiers normally should be unique for each individual, it is not the end of the world if they are not in MTA. They might also be considered as unnecessary for map files without scripts. Element specific attributes There are some attributes that do more than just applying properties. They will change the element appearance and orientation. For example this object: <object interior="0" collisions="true" alpha="255" doublesided="false" model="6094" scale="1" dimension="0" posX="635.234375" posY="-3827.2275390625" posZ="5" rotX="0" rotY="0" rotZ="0"></object> It will be created in interior 0. It will have collisions. (You can walk on it) Alpha. It's opacity is 100%. It is not doublesided. (When you stand inside of the object you can look through it. If doublesided is enabled the same colors/paint from the other side will be applied.) It's model is 6094. It is scaled 100%. (0.5 = 50%, 2 = 200%) Etc. If you want to know which attributes do have influence on the elements appearance and orientation, you have to look that up on the wiki. Here a small list of some those attributes: Broken map file, what to do? If your map file is broken. Step 1 Make a backup. + Always make a backup when re-editing your map. Settings can get lost! Step 2 The first thing you want to do, is just open it in a text-editor. Just give it a quick look and check for anything strange. The file could be empty or some strange values could be used. Do you want to know all the syntax rules (XML)? You can find a list right here: http://www.adobepress.com/articles/article.asp?p=1179145 Step 3 Remove the editor definition. This definition could cause problems in case of invalid characters. From: <map edf:definitions="COBDEF,editor_main"> <!-- Map elements --> </map> To: <map> <!-- Map elements --> </map> Step 4 If you can't find the problem, then you could validate the file. There are services out there that validate XML files. They can help you to find out where your file is broken. Validation tool by W3C: https://validator.w3.org/#validate_by_input Note: You need to do step 3 first. Else you can't parse the file. Step 5 In case of re-opening map files in the editor, but doesn't want to get open. Make a backup. Remove custom elements. See chapter How to read? Retry to open the file. Editor is bugged, what to do? Your editor could be bugged and you are not able to save the map or open a new one. The first thing you want to do is backup the editor_dump folder in your server. This folder is located between all your resources. server\mods\deathmatch\resources\editor_dump Rename the folder name. editor_dump > my_broken_map Stop the map editor. Check if there is a new editor_dump folder. If there is, rename that one as well. Start the map editor again. Modify your maps outside of MTA Sometimes you want to modify your maps without going back in to the editor. Your text-editor is in most cases the way to go. For example you want to move all objects to a new dimension. In Notepad++: Make a backup! (if you are new to this) Select in your file the part you want to replace: dimension="0" Commando: ctrl + H (replacement overlay) Fill in the replace field: dimension="1" Click on: replace ALL. Moving your map? There is a nice online tool that can help you with that: https://mtaclub.eu/converters Edit your map with the DOM (Document Object Model) Knowing JavaScript? Your browser inspector can be used to modify your maps at a higher level. (If you so desire) Extra links: Parent, child and how this is reflected in MTA https://wiki.multitheftauto.com/wiki/XML https://wiki.multitheftauto.com/wiki/Element_tree Elementdata <sync_map_element_data /> https://wiki.multitheftauto.com/wiki/Meta.xml Load maps (manually + including in meta.xml) https://wiki.multitheftauto.com/wiki/Meta.xml https://wiki.multitheftauto.com/wiki/LoadMapData Save maps https://wiki.multitheftauto.com/wiki/SaveMapData
    1 point
×
×
  • Create New...