Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

3 Neutral

About Deeze

  • Rank
  1. Thank you for the reply! We have played around with what you said, we disabled all our JSON usage, we upgraded from Debian 9.5 to Debian 10.6, we made sure to make a fresh install of the libc package however the crashs persist. We have tried using our same scripts on our old host and everything worked flawless, therefore we concluded that this is neither the fault of MTA, nor of us, but rather of the new host. Again, thank you for helping, we're gonna talk to our new provider and then, if they can't fix it, probably move back to our old host. This thread can be closed.
  2. We're currently working on a server using Debian v9.5.0 Minimal Our server has recently been crashing quite a lot (5 times within a week) and we are unsure why. We recently switched server-provider so we're thinking it might have to do with that, although the only thing that really did change was us going from Debian v9 to v9.5. Dump files: https://upload.mtasa.com/u/371729673/dumps_inside.zip_
  3. Sure thing! "then" in LUA is only used in conjuction with an if-statement. An if-statement works like this: local apples = 5 if (apples == 5) then outputChatBox("I have 5 apples!") outputChatBox("And i really love them!") end As you can see, we simply set a variable called 'apples' to the value of 5 and then, in our if statement, we simply check if the value of apples is equal to 5, and if it is, we execute the code between "then" and "end" (the two outputChatBox function calls). We do not need to write "then" between the two outputChatBox's because that is not how LUA s
  4. Remove the "then" on line 5
  5. Deeze

    Dx Grid

    --Gridlist Class local Gridlist = {} Gridlist.__index = Gridlist --Create a new Gridlist at screenPosition x, y with a given width and displaying visibleRows to the client function Gridlist.new(x, y, width, visibleRows) local self = setmetatable({}, Gridlist) self._startRow = 1 self._selectedRow = 1 self._visibleRows = visibleRows self._rowHeight = 20 self._position = {x = x, y = y} --VisibleRows + 1 because we will display a header self._size = {width = width, height = (1 + visibleRows) * self._rowHeight} self._columns = {} self._rows = {} self._listeners = {}
  6. Use this: https://wiki.multitheftauto.com/wiki/DxSetAspectRatioAdjustmentEnabled
  7. Example : I'm making a mp3 player script where you can select songs(stored server-side), as soon as you click on a song the mp3 player starts to download it and plays it as soon as its finish downloading. Now let's say all mp3 files are stored in a folder in our mp3 resource. Now, you would have to type in all the mp3 file names in the meta as files, and with about 100+ songs that would be hella work. Now what if i want to access all the mp3 files with a script, but i don't want to put them into the meta, meaning that my script can access them without the mp3 files beeing written in the m
  8. Hey guys, since i allways map my maps with different shades(8558,3458,8558,3458,...) i decided to search a bit for a tool that help's me doing that, since i found none i decided to make my own and release it public. Video: Controls: j+leftclick to add/remove object from group. /change objectmodelid to change the object models of each object in the group. This works with every object i tested so far. /ua to unselect all objects from the group There is no undo function at the moment, i will add one asap. Downloadlinks: Mediafire: http://www.mediafire.com/download/rl80di4535l5wvp/NGT.zi
  9. Moved this thread to resources. http://forum.mtasa.com/viewtopic.php?f=108&t=75285
  • Create New...