Jump to content

ixjf

Members
  • Posts

    647
  • Joined

  • Last visited

Everything posted by ixjf

  1. Ok, let's see: engineLoadIFP: Look into the bug tracker and you will know why this hasn't been added yet. cancelAnimations: As for your example - toggle jump control off. loadCustom: Is it needed to repeat the same? getMTASettings: The name itself is ugly, dxGetStatus and getChatboxLayout should also do it. setMTASettings: No..? getServerIP: What's the purpose? getModSize: Once again, what's the purpose? setCursorIcon: setCursorAlpha + tracking mouse movement and drawing your own should do it. fxAddGraphics: ? guiCreateGIF: Maintaining lots of pictures for a single thing is not something I would like to do, an animated GIF (which is the only purpose of enabling GIF support here, I guess) is basically just a bunch of GIFs (they are lossy so I wouldn't use that image file type either) compacted into one - it is trivial and can be implemented easily in Lua. guiSetButtonColor: You could always render your picture as a button. guiSetTabColor: You could always create your own GUI library or implement customizable tabs using DirectX functions.
  2. Game-State.eu does not host your server, it simply keeps track of some of your server details such as name, player count, map name, etc. If you wish your server to be always online, you would need to get a server (virtual or dedicated server) or pay a company to host your server along with others (data is usually private, unless you ran into a scam).
  3. ixjf

    NameTags

    u must used loadstring Makes no sense.
  4. None of those functions should to be implemented except the first (and even then I'm not so sure it's worth it), they can all be scripted.
  5. I could create the core of a multi-gamemode system in very few time - it is not in any way that expensive. I totally agree with CapY though, thieving somebody else's idea is pure dumbness.
  6. It is possible using modules.
  7. Why would it be needed? You could code your own chat in Lua and let the players choose whatever font they want. About the 'reboot' command, I remember seeing something like this before - I'm not sure if I'm just confusing, it still exists or it was removed.
  8. What happened to Lua?
  9. I once had the idea to write a custom cursor script too, but eventually I realised it was useless. Still, good job there
  10. You can't blame the company for being attacked, plus you only mention it being once.
  11. You can always wait for MTA:Eir - it will use one single global Lua virtual machine for all resources.
  12. Lua itself is not a file format (although "lua" is commonly used as the file format for files written with it) - it is the name of the language and it is not an acronym. By the way, how on earth could it take years to master Lua? It is one of the easiest, if not the easiest, scripting language(s) out there. Remember: Learning a language's syntax isn't the same as learning to program.
  13. ixjf

    MTA Menu

    This is one of the worst, if not the worst, idea I have ever read.
  14. ixjf

    how i can ?

    Those servers, such as FFS and Twisted Gamers, do not use the default loader but rather their own, written in Lua.
  15. Having a couple of if/elseif-statements is pointless. local theModel = ( ( newModel == 132 ) and 10 ) or ( ( newModel == 118 ) and 45 ) or 0 setPedWalkingStyle( source, theModel )
  16. ixjf

    What's wrong??

    How about no?
  17. DFF (model files) and TXD (texture files) are RenderWare's binary streams, used by its rendering engine - they retain information about the model and their respective textures.
  18. bandi94: Your arguments are just so invalid.
  19. Waba: Converting a string which contains only numbers is not necessary to do arithmetic on it, refer to this example: local str, str2, str3 = "123", "2", 2 print( str + str2 ); -- "125" print( str + str3 ); -- "125"
  20. getElementsByType ( 'team' ) What's the difference..?
  21. ixjf

    table index is nil

    The error message is very obvious I guess. getPlayerFromName never ever returns a table but still you're using the return value as if it was one. In this case, getPlayerFromName shouldn't be finding a player with the specified name and so returning false.
  22. ixjf

    help

    Since when are element and number variables tables?
  23. ixjf

    ml_sdk

    Some C++ language knowledge is required to write modules.
  24. Relative positioning is not magic, I am not going to repeat what has been said previously.
×
×
  • Create New...