Jump to content


  • Posts

  • Joined

  • Last visited

About unknooooown

  • Birthday 05/03/1989


  • Occupation
  • Interests

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

unknooooown's Achievements

Red-Headed Stepchild

Red-Headed Stepchild (19/54)



  1. Good luck with that. If Callum can do it in a week, then surely you can do it in less time!
  2. Sane is good scripter you listen to him always to lern from god codeing. he make meaning to understanding and stuff in code and stuff
  3. Cool. Maybe your next goal is to optimize it and make it a little less shit.
  4. @Wadamde, the file he saved was "mta.txt" not "mta.xml", lol minor mistake, who cares.. HeArTBeaT, tell us if the situation is resolved please. Not that it really matters, but where do you see ".txt" ?
  5. In your script folder you have called the meta.xml file mta.xml - Thats whats causing the problem.
  6. We should prevent players from chatting as well.. I DONT LIKE THIS!
  7. 1. Place the entire zip in MTA\server\mods\deathmatch\resources. 2. Start your server and type: start neon 3. Get on the server and use command /neon Note: I havent tried the resource myself.. I just looked at the code for the command.
  8. unknooooown


    Place the eventHandler from line 49 inside the createRulesWindow func.
  9. Godmother? You need to show a lot more info before we (Or at least myself) can help you. I could show you an example already, but that would probably just confuse you. Before I help, do you know anything about scripting at all? I am asking because I need to know how to explain things to you.
  10. unknooooown

    Need help

    No really.. This is probably what you are looking for. function maximize() guiSetSize ( gui, 1, 1, true ) end addEventHandler("onClientGUIClick", button_maximize, maximize) Would you mind telling us why you were using math.random() ?
  11. Im sure there is a decent guide in the gamemode you have downloaded. A lot of people use it, so you should be able to do so as well. If you don't know what you are doing at this point, then it probably wont get any easier unless you learn Lua yourself.
  12. You dont need any args for it. local t = { "b", "c", "a", "d" } print( unpack(t) ) -->> b c a d table.sort( t ) print( unpack(t) ) -->> a b c d EDIT: But then again, you cant just sort getElementsByType("player") afaik as that returns elements. If you want it to sort by the player names, you could do: local players = getElementsByType( "player" ) -- Get all the players. local playerNames = {} -- Create a table to store the player names. for i=1,#players do -- Loop through all players. local playerName = getPlayerName( players[i] ) -- Get the players name. table.insert( playerNames, playerName ) -- Store the players name in the new table. end table.sort( playerNames ) -- Sort the new table. print( unpack( playerNames ) ) -->> aPlayer bPlayer cPlayer dPlayer
  • Create New...