Jump to content

xXMADEXx

Members
  • Posts

    2,718
  • Joined

  • Last visited

Everything posted by xXMADEXx

  1. As far as I know, TXD workshop is the only program that will extract them.
  2. Unless your server was completely bug free and the only server on MTA, you will get no where near that...
  3. Does debugscript give you any errors for this script? If so, which ones?
  4. Being perfect at English isn't going to make your server much better... To make a successful server, you need to be a professional scripter that can constantly be adding stable updates to the server, so that it doesn't get boring, and you absolutely cannot use community scripts.
  5. No legit person is going to host it for free.. The only people who would host a server for free, are bound to steal your scripts. https://mtasa.com/hosters/
  6. Also, dxDrawText is a function that needs to be inside one of the rendering events. - onClientRender - onClientHUDRender - onClientPreRender ex: addEventHandler ( "onClientRender", root, function ( ) dxDrawText ( "My text!", 500, 500, 0, 0 ) end )
  7. But Tables are lost on script unload (It will be on every join to the server if client, or on every script restart if server) I think he was meaning just for the vehicles table...To save the vehicles you should use SQLite or MySQL.
  8. I couldn't help myself but to post this when I saw it lol.
  9. Here's a basic example you can go off: -- Client local edit = guiCreateEdit ( 0, 0, 500, 20, "", false ) local btn = guiCreateButton ( 0, 30, 70, 20, "Submit", false ) addEventHandler ( "onClientGUIClick", btn, function ( ) local num = tonumber ( guiGetText ( edit ) ) if not num then return outputChatBox ( "Invalid number." ) end triggerServerEvent ( "onNumberSubmitted", localPlayer, num ) end ) -- server addEvent ( "onNumberSubmitted", true ) addEventHandler ( "onNumberSubmitted", root, function ( num ) outputChatBox ( getPlayerName ( source ).." says "..num.."!", root ) end )
  10. use tonumber, guiGetText and triggerServerEvent.
  11. It's kind of pointless, because once the file is downloaded it will remain there until the resource is still started, so people could still steal it.
  12. It still takes more than to just use getRootElement, and root is a lot faster to write.
  13. That's un-efficient, use root or getRootElement().
  14. Nobody is going to give you a gamemode for free...
  15. I can't be 100% sure, but I think it has something to do with the .dff.
  16. xXMADEXx

    gamemode help

    viewtopic.php?f=91&t=26541
  17. xXMADEXx

    Tent

    you can try checking here.
  18. We're not going to do it for you, you can check the community.
  19. Umm.. I'm not really sure but have you tried dxDrawImageSection?
  20. If you mean like "fake players," no, you cannot make fake players.
  21. You can use thisor this as examples that i've made.
  22. Lua isn't like programming languages.. I think I figured out what you were trying to do, but i'm not sure... function separatingLine(text) local i = 0 while ( i < string.len ( text ) ) do -- your code i = i + 1 end end
  23. However, using .map files requires the client to download the maps everytime the resource is started. I'd recommand converting the .map to a .lua and then using the encryption tool @ https://luac.multitheftauto.com
×
×
  • Create New...