Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Simple0x47 last won the day on January 12 2020

Simple0x47 had the most liked content!

Community Reputation

298 Superstar

About Simple0x47

  • Rank
  • Birthday 21/02/2001


  • Gang
    I'm not a gangster
  • Location
  • Occupation
  • Interests

Recent Profile Visitors

9,214 profile views
  1. I'd rather see Python or C# implemented, as alternative scripting, before JS.
  2. No, I've asked you if your building has a LOD texture.
  3. Does your building have any kind of LOD texture? Because if not, just forget about the LOD of the island too.
  4. MTA allows you to customize your chatbox from the settings, but if you want all your players to have certain setting you should proceed by creating your own chat system.
  5. This server still goes strong after all these years! @Einheit-101 epic server!
  6. Well... You've got a variable _nowY which holds: sy - 305 - (47 * 1) But, you use that value hardcoded into the assignment of the pos variable: pos = {interpolateBetween(20 - 80, sy - 305 - (47 * 1), 0, 20, sy - 305 - (47 * 1)... pos = {interpolateBetween(20, sy - 305 - (47 * 1), 0, 20, sy - 305 - (47 * 1)... That's not all! At the end you update the variable nowY, which is not being used anywhere. I'd say you get a grasp of the basics of variables. All that being said, what you must do is make usage of the variable nowY, which must be defined before the start of th
  7. About why it is faster, pairs tries to get all the keys of one table (which means it doesn't look only for numbers as index). Meanwhile, making usage of a limited number of possible index values leaves you with faster results. Try tables with at least 1000 values in order to see some difference.
  8. Well since your code uses the same logic, here's a more efficient way to do it: local playerElements = getElementsByType( "player" ) local players = {} for i = 1, #playerElements do local player = playerElements[ i ] players[ i ] = { name = getPlayerName(player), alive = getElementData(player,"state") == "alive", points = tonumber( getElementData(player,"ThePoints")) or 0 } end table.sort( players, function( a, b ) return a.points > b.points end )
  9. Interesting. Recently started and already on version 6.01 ... I suppose another fork of OWL but I hope you guys get your server to the top!
  10. a) Loops indexed by numbers, synchronize element's data as little as possible, think twice before creating a global variable. b) If your shader is correctly implemented it shouldn't suppose a problem for a PC which can run GTA San Andreas.
  11. Since you are talking about 'top value', I suppose you've got a table, whose indexes are numerical, which contains the players. If you draw the text within a loop, which goes through all the elements of the previously mentioned table, you can easily edit the order of the players by assigning them to a different index within the table. In the case you don't have a loop whose indexes are numerical, try to implement one to keep it easy.
  12. Well. You could try with this start: https://www.Lua.org/pil/contents.html
  13. Try looking harder because there are several full roleplay gamemodes released.
  14. @Fist better relax your tits off. @Liejam is one of my greatest customers. Seriousness: 100 && Payment timing: 100 && Work description: 100
  • Create New...