Leaderboard
Popular Content
Showing content with the highest reputation on 26/08/17 in Posts
-
Did you know that GTA San Andreas is based on the RenderWare engine? It is a product of Criterion which, in the past, was used by great game developers. Due to my heartfelt affliation to MTA I want to say: The source code is available. But I must not tell where. Hot stuff. Gosh, why could it not be that way three years ago?2 points
-
2 points
-
Hello there! You found Dystopia: The Incident, an original sandbox post-apocalyptic RPG. Keep reading below and you’ll find out more... Test server: mtasa://46.105.109.59:22008 Discord: https://discord.gg/Zs5bWSX Current version: alpha 0.75, check out details here DOWNLOAD (0.75 alpha) Key concepts Food and water are scarce and you need to be on the move to stay alive. Inventory size is limited, forcing you to prioritize. Vehicles require constant maintenance. Faction camps, bases, shanty towns and other encounter zones all over San Andreas. Exploration is rewarded. World is densely populated with NPCs and who you choose to kill matters. Environment is harsh and punishes the weak and the dumb. Moral decisions to be made. End goal. Roleplay friendly. Designed to be also enjoyable as a single-player experience. Setting 2000: A series of catastrophic earthquakes smashed the cities and countryside of San Andreas. In the aftermath, the whole state found itself separated from mainland. Fear and selfishness roamed free, pushing society into chaos. In the heart of San Fierro, one of the largest cities of San Andreas, government-sponsored Zombotech Corporation was researching biological weapons in its underground facility. The labs were heavily damaged by the cataclysm and a deadly infectious agent escaped in the streets. While emergency services struggled to contain the disaster and minimize collateral damage, death was spreading unnoticed. 2001: The Establishment evacuated survivors of the outbreak in the barricaded city of Las Venturas but infection spread inside the fence. They nuked the city and placed San Andreas under strict military quarantine. Nobody gets in, nobody gets out. They dubbed the disaster ‘The Incident’ to minimize its amplitude, media soon went silent and survivors were forgotten. 2007: 6 years passed and things have not become better. Regular people picked things up from where the government left them and started to organize. This is a tough new world, populated with the full spectrum of humanity: resilient survivors, vicious bandits, cannibalistic raiders, oppressive military forces and the rest of the loons. No line between good and bad was ever so ill-defined. San Andreas is ruled with an iron hand by Governor Skinner, who took office only six days after the Incident. His armed forces fight to control the territory, herding men into the new Refugee Camp. Resources are scarce and many dropped the last remnants of morality when they faced starvation. Violent clans and factions fight over the remains, establishing turfs or just trying to stay alive. Militias fight for supremacy, idealists work to maintain civilization and everybody else just struggles to survive another day in an increasingly suffocating world. As it became evident that the government has no rescue plan for them, despair started to crumble the minds of the few sane left. All attempts to flee San Andreas are met with airstrikes. But there must be ways to escape this place... What you can experience right now Explore a detailed post-apocalyptic map with many encounter zones. Plenty of NPCs, both friendlies and baddies. Dynamic faction and spawn system. More than 40 missions already in the game. Detailed inventory with more than 100 items to be found and used. Basic needs, stamina, infection, various other modifiers like pain, bleeding, exhaustion or inebriation. Innovative looting mechanic. Four zombie types, with different behavior. Scavenge the world for materials to build settlements or to use simple crafting and cooking. Upgrade and drive rugged vehicles across the wasteland and engage in vehicular combat. Trade, recruit and discover parts of the story by chatting with NPCs. Experience dark humor and some strong themes (16+). Simple interface, consistent graphic style. What still needs to be done The current gamemode version is alpha 0.75. Required for beta: skills and abilities implementation, npc traffic, karma system and map completion (now >90%). Once the project hits beta and the core is completed we’ll start focusing exclusively on the missions and story. Seeking friends for the end of the world Want to jump onboard and take part in the development? Great, join our Discord server using the link on top (the recommended approach) or PM me here. We're always looking for like-minded developers. Wanted: scripters, mappers, storytellers, 3D artists and testers. However, keep in mind that we're not looking to monetize this project in any way. We’ve used the work of many MTA community members and the gamemode will be shared alike with the community when completed. You will gain full credit for your work but no other type of compensation. Share your thoughts We do love suggestions and implement all good fitting ones, so don’t be shy and tell us what you think about this project, using the channels highlighted above. The answer is guaranteed and we'll also give full credit for any original ideas. Media 100+ development screenshots here (I suppose this is what you were looking for from the beginning, instead of reading a wall of text) Thanks for reading! Watch this space for fresh information and media.1 point
-
1 point
-
الموضوع قلب اسئلة واجوبة , الاخ مايبي يتعلم من طريقة كلامه .. فقط يبي يلبي طلباته ويمشي .. وان شاء الله ما تكثر هالامثال ولا اللعبة بتخرب ...1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
I would advise you to check out the Scripting Introduction first, or check out some Lua tutorials (https://www.tutorialspoint.com/lua/)0 points
-
First of all, you should be using debugscript to check for errors. I'm more than certain this code would produce some errors. To do this type "debugscript 3" into the console then try using your script, errors appear at the bottom of your screen. Now to the code itself, check out the addCommandHandler wiki page & look at the arguments; Required Arguments commandName: This is the name of the command you wish to attach a handler to. This is what must be typed into the console to trigger the function. handlerFunction: This is the function that you want the command to trigger, which has to be defined before you add the handler. This function can take two parameters, playerSource and commandName, followed by as many parameters you expect after your command (see below). These are all optional. addCommandHandler ("vip", Window, painel, myWindow) --your code. "painel" and "myWindow" have no use addCommandHandler ("vip", Window) --fixed code Same again with guiSetVisible Required Arguments guiElement: the GUI element whose visibility is to be changed state: the new visibility state if ( guiGetVisible ( Window ) == true ) then --Window is a function, not a GUI element guiSetVisible ( painel,Window, false ) --2nd arg expected boolean (true/false) got function showCursor ( false ) else guiSetVisible ( painel,Window, true ) --same here showCursor ( true ) end if ( guiGetVisible ( painel ) == true ) then --Checking for GUI element, not function guiSetVisible ( painel, false ) --Fixed args showCursor ( false ) else guiSetVisible ( painel, true ) showCursor ( true ) end All good, right? No - you're still making a big mistake. Since you're using the Window function to toggle the GUI visible/hidden, there's no need to keep creating (or overwriting) the GUI elements. painel = guiCreateWindow(286, 231, 454, 345, "VIP BSA", true) guiWindowSetSizable(painel, true) myWindow = guiCreateStaticImage(9, 19, 435, 316, "123.png", false, painel) button1 = guiCreateButton(0, 229, 140, 49, "Skin VIP", false, myWindow) button2 = guiCreateButton(150, 229, 140, 49, "Carro VIP", false, myWindow) button3 = guiCreateButton(295, 229, 140, 49, "Habilidades", false, myWindow) button4 = guiCreateButton(347, 46, 78, 32, "Fechar", false, myWindow) guiSetAlpha(button1, 0.20) guiSetAlpha(button2, 0.20) guiSetAlpha(button3, 0.20) guiSetAlpha(button4, 0.20) All of the above code (taken from the Window function) should be put into a seperate function which is attached to an OnClientResourceStart event handler. Should be pretty easy to do. The Wiki is your best friend. Use it0 points
