Jump to content

Et-win

Members
  • Posts

    1,390
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Et-win

  1. It's my life (It's now or never, I ain't gonna live forever!) -- CTRL+F = Search = Typ: "setPedFrozen"
  2. If you read the wiki, and see how they are the same stuff, and it works, yes.
  3. Like I said: \n "lollollol\ntest Outputs: lollollol test
  4. Et-win

    Is it a bug?

    Like this maybe? https://bugs.multitheftauto.com/view.php?id=8425
  5. Remove this... addEvent "onPlayerHeadshot" And start with using /debugscript 3 ... https://wiki.multitheftauto.com/wiki/Debugging
  6. Search for 'wnd' then, because it's a table.
  7. local gSize = getFileSize(file) fileSetPos(file, gSize) This will be the last character of the file. You may want to use this to start drawing on a new line: \n
  8. Well... use something like: local x, y, z = getElementPosition(player) if ((x >= your-x-pos and x <= your-other-x-pos) and (etc...)) So hard isn't it to fill in some variables and check or the player is between the positions you want...
  9. What does not work? Is/Are there any debugscript 3 error(s)? Just by saying constantly "It doesn't work " is not going to help us too to help you.
  10. Et-win

    Level problem

    Did you use /debugscript 3 ?
  11. Just search for (Probably) 'onClient(GUI)Click'.. (Or maybe double-click)
  12. "function (attacker, weapon, bodypart, loss)" https://wiki.multitheftauto.com/wiki/Weapons
  13. Seeing great stuff and also a good topic.
  14. @Smart.: 1 day? And you scripted everything by your own? (Not copied anything, started by an empty file. And lets not say GUIEditor) I wonder how the hell you, and others, can script that fast? (And no, I don't use GUIEditor lol.)
  15. You gave some good points and maybe you are right, I'm sorry. But still, just upload some random pics (5~10 with the ...[/ img] tags) to make it look more trusted
  16. Try this: local mapcount = exports.mapmanager:getMaps() --[[usage for count (To draw it):]]tostring(#mapcount) If this doesn't work client-side, you have to do this server-side. (Exactly the same)
  17. ... You know 'getElementPosition' only has 1 argument, called the element? How could you ever, ever, ever throw those positions into it... If I was you, I should create a marker or a collshape. As soon as the player hits it (onPlayerMarkerHit/onClientMarkerHit/onElementColShapeHit/onClientElementColShapeHit) open or close it. (Could be done with onPlayerMarkerLeave/onClientMarkerLeave/onElementColShapeLeave/onClientElementColShapeLeave)
  18. I would just make 1 function with 1 event handler for all buttons, then you don't have to add/remove it constantly
  19. Et-win

    vehicles.ide

    https://bugs.multitheftauto.com/view_all_bug_page.php Then request it.
  20. It means that you have to tell us what is the problem. Tell us what /debugscript 3 is giving. Etc etc etc. I, and maybe/mostly others too, are not planning to download anything from a site to just test your script personally to tell you what's wrong. There could be a virus in the download, that's why I wouldn't download it. Debugscript 3: In-game in the chatbox typ: /debugscript 3 and press 'enter', or in the console in-game (F8): debugscript 3 Then the error's will appear on the screen. (Restart the script) If it shows the script has no access: Press 'P' Go to tab 'Resources' Press 'Manage ACL' Double-click on 'Admin' under 'Groups' Press 'Add object' Typ: resource.resourcenamehere Press 'OK'
  21. There you say it already. Selling other people their stuff.
  22. exports.mapmanager:getMapsCompatibleWithGamemode(getResourceFromName("race")) --Or: exports.mapmanager:getMaps() Because, why would you get all resources?
  23. So, you created 100+ scripts already in how many time? I doubt it lol.
  24. If you want to make a good system without bugs and etc, you take your time. I don't believe you can make a whole complete system in just 1~2 week(s) without any possible bugs that there could be.
×
×
  • Create New...