
Unknown76
Members-
Posts
135 -
Joined
Everything posted by Unknown76
-
There's no way to stop SA-MP mappers from using MTA Map Editor because if you will make protection in future versions they will use the older ones to map. I thought at something else, what if we restrict SA-MP software so when somebody intalls MTA a pop-up window will open displaying a message like this: "I'm sorry, MTA cannot be installed because another SA multiplayer is already installed". Before yelling at me I have to say that it is a bad idea and is not FAIR even if I am a MTA fanboy ( also it isn't fair when they use our software to build their maps without giving credits to MTA) . In both cases they will use the older MTA clients to build their maps. In conclusion, NO, you can't stop SA-MP users from using MTA Map Editor.
-
You don't need xampp to run MTA:Paradise, just if you want to have weather-system which retrieves data from Google Weather. All you need is MySQL which can be downloaded from: http://dev.mysql.com/downloads/mysql/ and Navicat http://www.roportal.ro/download/navicat_lite_796.htm to navigate through database records. Much easier than XAMPP.
-
If this guy could upload RESEDIT on your server then it is a host related problem, but if he had access to your files why didn't he steal them directly without using a resource?! I mean he also cracked your server password + admin rights, so he changed something in ACL, this shows that he had total control over your host.
-
Change scrollbars and you have my vote.
-
Next time I will make better explained tutorials. If you have any questions feel free to ask.
-
You sir made my day. Great detail and I saw that you didn't use custom models which is also great.
-
MTASA are deja implementat un modul de inregistrare si autentificare (hardcoded), nu inteleg de ce mai ai nevoie de /log si /reg dar anyway ti-am scriptat ceva (apropo, mai verifica si wiki.multitheftauto.com, poti gasi foarte multe lucruri acolo): register: function registerPlayer ( source, commandName, password ) -- Check if the password field is blank or not (only blank if they didnt enter one) if ( password ~= "" and password ~= nil ) then --Attempt to add the account, and save its value in a var local accountAdded = addAccount( getPlayerName(source), password ) if ( accountAdded ) then -- Tell the user all is done outputChatBox ( "Salut " .. getPlayerName(source) .. ", acum esti inregistrat, te pot autentifica cu /log", source ) else -- There was an error making the account, tell the user outputChatBox ( "Eroare, contacteaza administratorul", source ) end else -- There was an error in the syntax, tell the user the correct syntax. outputChatBox ( "Eroare, sintaxa corecta: /reg ", source ) end end addCommandHandler ( "reg", registerPlayer ) -- add the command handler login: function loginPlayer ( thePlayer, command, username, password ) local account = getAccount ( username, password ) -- Return the account if ( account ~= false ) then -- If the account exists. logIn ( thePlayer, account, password ) -- Log them in. else outputChatBox ( "Datele introduse nu sunt corecte!", thePlayer, 255, 255, 0 ) -- Output they got the details wrong. end end addCommandHandler ( "log", loginPlayer ) -- Make it trigger for "/log", NOTE: /login is hardcored and cannot be used. O zi buna, QuantumZ
-
At line 8 near else delete the bracket.
-
No, you won't be charged, at least not in MTA but I can't say the same for other games. Sceencaps from movie trailers are totally free.
-
Muta kitul de instalare pe Desktop sau in alt folder. Mai multe informatii: http://blog.ov1d1u.net/2009/09/nsis-err ... r-sau.html
-
If you know nothing about lua just use the manual: http://www.lua.org/pil/index.html
-
Thanks for addition, script modified.
-
I this tutorial I will show you how to make Trivia system: -- TRIVIA SCRIPT -- by QuantumZ - MTASA.com --------------------------- -- intializing trivia questions and answers local timeBetweenQuestions = 30000 -- first we need a variable for time between questions local reward = 1000 -- reward in dollars if answer is correct local timeToAnswer = 15000 -- time to answer for players before server will post the answer local numans -- here we gonna generate the random number for a question local timeToAnswerTimer -- we need this global timer -- all questions will be stored in the next variable local questions = { "Who was the last president of the Soviet Union?", "Where was Jesus arrested?", "What does C stand for in IRC?", "What group of Pacific islands did Japan attack the day after Pearl Harbor?", "From Earth, where was the destination of the longest long-distance telephone call?", "Which company launched CDs in the early 1990s?", "What does the first W stand for in WWW?", "What does Q mean in FAQ?", "What is the opposite of downloading?", "In 1998 a new breed of mosquito was discovered on which underground system?", "From what country vampires and werewolves originate?", "What's the largest Scandinavian country?", "What is the capital of Venezuela?", "How many countries are still members of the British Commonwealth?", "In which ocean are the Canary Islands?", "Which country produces 70% of the world's olive oil?", "What is the state Capital of Colorado?", "What does MTA stand for?", "What is the state capital of Massachusetts?", "What is the capital of Finland?", "The Vatican City is within which other city?", "On which island was the Mafia founded?", "In which country is Transylvania?", "Which is Europes most mountainous country?", "Alphabetically, what is the first country in the world?", "Which is the most common first name in the world?", "In which country is the Amazon rainforest?", "What's the Capital of Malaysia?", "What is the largest island in the Indian Ocean?", "Which of the continents has the most countries?", "Where is Pamplona?", "Who played Indiana Jones in the films?", "What actor starred in the 1999 film The Green Mile?", "Other than Marlon Brando which other actor has played the part of Vito Corleone in the Godfather series?" } local numberOfQuestions = #questions -- we need to keep tracking the number of questions -- all answers will be stored in this variable (attention: question number and answer should be correspoding, be careful with the order) local answers = { "Mikail Gorbachev", "Garden of Gethsemane", "Chat", "The Philippines", "Moon", "Philips", "World", "Question", "Uploading", "London", "Romania", "Sweden", "Caracus", "53", "Atlantic", "Greece", "Denver", "Multi Theft Auto", "Boston", "Helsinki", "Rome", "Sicily", "Romania", "Switzerland", "Afghanistan", "Mohammed", "Brazil", "Kuala Lumpu", "Madagascar", "Africa", "Spain", "Harrison Ford", "Tom Hanks", "Robert De Niro" } -- lets start the question function initializeQuestion() numans = math.random(numberOfQuestions) -- generating a random numbers outputChatBox("[TRIVIA QUESTION]", getRootElement(), 238, 218, 0, true) -- marking the trivia start in chat outputChatBox(questions[numans], getRootElement(), 219, 219, 212, true) -- output the chosen question playSoundFrontEnd (getRootElement(), 5 ) -- play a fancy sound timeToAnswerTimer = setTimer(stopQuestion, timeToAnswer, 1) -- start the timer which tracks the time allowed for players to answer end setTimer(initializeQuestion, 5000, 1) -- this timer will be used only one time when resource starts -- when question stops function stopQuestion() outputChatBox("#EE7600[TRIVIA] Nobody knows. Answer: #DBDB70"..answers[numans]..".", getRootElement(), 219, 219, 212, true) -- outputs in chatbox the answer for the question numans = 0 -- we gonna reset the radom number playSoundFrontEnd (getRootElement(), 19 ) -- play again a fancy sound setTimer(initializeQuestion, timeBetweenQuestions, 1) -- lets initialize another question after some time (set in the variable timeBetweenQuestions above) end -- this function checks if an answer is correct function checkAnswers(messageclean, messageType) if numans ~= 0 then -- if trivia is running (we dont want annoying messages in console if trivia is not running) local message = string.lower(messageclean) -- lets lower all letters in the player's message local answer = string.lower(answers[numans]) -- lets lower all letters in the answer if message == answer then -- if player's message corresponds with the answer givePlayerMoney ( source, reward ) -- lets give him some money outputChatBox("#EE7600[TRIVIA] #DBDB70"..getPlayerName(source).."#EE7600 answers correctly, he is a genius. (+"..tostring(reward).."$)", getRootElement(), 9, 249, 7, true) -- lets announce that he is a 'genius' in chat setTimer(initializeQuestion, timeBetweenQuestions, 1) -- lets initialize another question after some time playSoundFrontEnd (getRootElement(), 8 ) -- play a fancy sound ... again numans = 0 -- reset the trivia random number (0 means trivia question is not running) killTimer(timeToAnswerTimer) -- lets kill the timer timeToAnswerTimer end end end addEventHandler( "onPlayerChat", getRootElement(), checkAnswers ) -- when a player adds a message appeal the function checkAnswers EDIT: I uploaded this resource here: https://community.multitheftauto.com/index.php?p= ... ls&id=3432 If you have questions please post them below... QuantumZ
-
You didn't get my point above, i was highlighting the word in bold, I understood what function does.
-
I remember when the crane was implemented for the first time back in GTA 2. I loved hijacking vehicles and driving them to trash dump to earn money. But my Playstation was always crashing because the game was pirated and the mod chip wasn't very good. In the end, I bought the original one and played it on Playstation 2 .
-
I guess you worked hard, the result shows your efforts. You achieved a new level in what we call MTA scripting and mapping. This will be good for future because other servers will try to elaborate some new ideas to attract players. +1
-
Merry Christmas, May you be surrounded by all the things that bring Christmas cheer... (including MTA hehe) May the good times and treasures of the present become the golden memories of tomorrow. Wish you lots of love, joy & happiness.
-
Dirty thinking, script should be better restructured and setTimer(restrictionEnd, 30000, 1, playerName) ?
-
Who won the competition?
-
A sub-forum for tutorials will be useful for newbies but we also need a 'Team Recruitment' one, since Hosting Solutions section is for commercial purposes. Proposed rules for Team Recruitment section: 1. Do [b]NOT[/b] ask for someone to host your server or another server to merge with. If you are not able to provide hosting for your own server then you should not be using this section. 2. Do [b]NOT[/b] post threads asking to become a staff member or offering your services to any willing server. Use the existing threads to find yourself a job. 3. Stay on-topic. Off-topic posts will be deleted and the posters will possibly face infractions. 4. Do [b]NOT[/b] bump threads you did not make; only the topic creator may bump his or her threads. Also, do not bump your thread more than once every 24 hours. 5. Threads with no reply for 2 weeks will be closed. If you would like it reopened, message a moderator. 6. Please post constructively. Flaming and spamming will not be tolerated and will result in getting infracted. 7. This is not a MTA server advertisement section.
-
Slothman, you can also alert zombies when someone in a vehicle is horning.
-
Screens: http://i298.photobucket.com/albums/mm27 ... ci/1-5.png http://i298.photobucket.com/albums/mm27 ... ci/2-3.png http://i298.photobucket.com/albums/mm27 ... ci/3-2.png (jingle bells effect) Download Link: http://www.mediafire.com/?y6qsa41g1fs8u3z Instructions: Unzip the archive in MTA San Andreas folder and overwrite the existing files.
-
Harta o gasesti in: C:\Program Files\MTA San Andreas\server\mods\deathmatch\resources\
-
Nice job, keep up the good work. (idea: make bonuses so you can shot with more projectiles, increase moving speed etc)