Jump to content

Et-win

Members
  • Posts

    1,390
  • Joined

  • Last visited

Everything posted by Et-win

  1. Thank for your reply. I wish more people react too to be really sure
  2. Hello, I have no idea where to post this question, was guessing under Resources or under Scripting. Anyway, if you want to compile a script on https://luac.multitheftauto.com/ , is it the safest to only compile it (with anti-decompile), or is it the safest compiling it with Encrypt ?
  3. Suddently it's working again. So this can be closed.
  4. I have no idea where to post this, thought here. Anyway: My chatbox suddently isn't smooth anymore. If you enter a message/If something gets into the debugscript then it doesn't 'drags' the chat up smoothly. As soon as something gets into the chat or debugscript, it is directly there. This is totally annoying for a scripter like me. If I'm working with 'onClientRender' (Like I'm doing now), I can't see or an error is spamming (Because of the render) into the debugscript, also if I want to test a function with 'outputChatBox'. It was smoothly before, but suddently it is not anymore. I hope my English wasn't too bad. EDIT: http://pastebin.mtasa.com/952424293
  5. Thanks for any answers on both things.
  6. createVehicle You can read how it works at https://wiki.multitheftauto.com/wiki/CreateVehicle
  7. You also can do this: Go to the Admin Panel by pressing P. Go to the tab 'Resources'. Go to 'Manage ACL'. Double-click on the "Admin" group. Click on 'Add object...'. Then type 'resource.resourcenamehere'
  8. I know, but I meant I never tried to start a function with 'addEventHandler' that is not in the same resource as this 'addEventHandler' is in. Anyway: setTimer(toggleGodMode,2000,1) Change the code to: setTimer(toggleGodMode,2000,1, getLocalPlayer()) Just because the timer won't send 'thePlayer' if you don't put the player in the timer as argument.
  9. Not sure or the: addEventHandler("onClientResourceStart",godresource,toggleGodMode) will work. I never tried to attatch it to another resource than the resource where the script is in. (godresource) It has also to check (for example) every 2 seconds or the transferbox is still active, because if the download is done you want to turn the god mode off.
  10. https://wiki.multitheftauto.com/wiki/Is ... rBoxActive Use this code to check or the transferbox (Download box) is active.
  11. Hello, I want to create a moving text with dxCreateText like this: http://www.ukauctionhelp.co.uk/marquee.php The text has so fit in an image, for example, lets say this one: http://www.q-lite.nl/wp-content/gallery ... roda_0.jpg Now I want to move (For example) the "GOAL GOAL" text from left to right but has to stay in the board. I already tested alot of things but without success. How? Thanks. EDIT: Can also someone explain me: If I create a text with dxDrawText with a size X = 100, on pX = 0, but then set the position to 100, why I have to add the position to the size X? Because if I make the position bigger, some of the text will be cut off.
  12. Next update, but did it with a reason. Because of noobs stealing it, decomplining it, etc, etc.
  13. Ladies and gentleman, (Sorry for my bad English ^.^) WARNING: To let the updater work propperly, you HAVE to UNZIP the resource!! Today I present a new script to you. But first (Disclaimer): Let me first say this: It's NOT guaranteed that the script will do it's job exactly. It's POSSIBLE that some scripts will be damaged after removing the 'outputChatBox' or/and 'playSound' code(s). Here is an example for when it goes good and wrong: Why I made this? I made this script because I, and other people, are getting absolutely crazy of that ridiculous spam in every RACE:DM map. And with that I mean all the empty rules that are getting spammed into the chat for no good reason. Because in the 3xC Clan Server (The clan where I am in) is no music allowed, I added a function that will remove all the music out of the map resources so you don't have to do this manually. How does it work? You and the server need atleast MTA 1.3.4. After using this resource, no server refresh/restart is needed! To open the Main Panel, you have to press the 'F7' key or to use the command '/rss'. On this moment this are the only 2 standards. First, the game mode has to be stopped. (As soon you start with the remove/restore function(s)) On this moment the only game mode that is available is 'race'. Main Panel Options About Warning, Info and Error Windows Status Window Auto-Updater The script has a build-in Auto-Updater! I added this to be able to keep this resource up-to-date, just in case of any bugs or idea's to make it all better. (In other words: Nice training to add this into my new script I'm going to make now. (But he does work good.)) Don't forget to use the command '/debugscript 3' to set your debug mode to 3 if you think the Updater doesn't work! Here will be all error and info messages about the Auto-Updater. Languages At this moment only English (My bad English ^.^) is available for this resource. Credits: (For your info: I have made this whole resource on my own. Only when I didn't understand a part of a code or if something didn't work and I couldn't found out what I asked for help.) I want to thank everyone who took the time to help me when I had problems with scripting! Also thanks to the Multi Theft Auto Team, for the multiplayer port and the possibility to add your own scripts into it! Download: https://community.multitheftauto.com/index.php?p=resources&s=details&id=8473 (Removed/Banned from the community because of the Updater, if I feel like it, I will remove it sometime.) Have fun! And again (Disclaimer): Bugs, suggestions, etc? Go ahead and leave a comment! SPREAD THE WORD! -- Changlog: Version 1.1 - Resource is now usable on version 1.3.0-9.04563 and up (Both Server and Client)
  14. (This is only an explain of Drift Rocket 2, but Drift Rocket 1 is included ) -------------------- This is my V2 from my shooter maps: [FUN]Et-win - Drift Rocket // (2)! I hope you will enjoy this map as much as I do! There are 3 settings in the 'meta.xml'. Settings called 'music', 'musicFilePath' and 'blowIfAlone'. You can change this values. 'music' = Do you want the music enabled (true) or disabled (false)? 'musicFilePath' = The file path where the music is located. (NEEDS TO BE A .MP3!) 'blowIfAlone' = A useless script that will blow someone if he or she is alone in the map. Enabled = true and disabled = false Here is (some) info: -------------------- Map Rules: Map fixes since [FUN]Et-win - Drift Rocket: Added Things since [FUN]Et-win - Drift Rocket: Binds: Credits: [FUN]Et-win - Drift Rocket // Panel: [FUN]Et-win - Drift Rocket // Status Panel: Jump: Teleport: Blow: Map View: And finally, the download links: [FUN]Et-win - Drift Rocket: https://community.multitheftauto.com/ind ... ls&id=6818 [FUN]Et-win - Drift Rocket // (2): https://community.multitheftauto.com/ind ... ls&id=6819 For without 'music' or 'blowIfAlone' in Drift Rocket 2: https://community.multitheftauto.com/ind ... ls&id=6822
  15. Nice! I want to play it already
  16. Very nice map. Keep up the good work! No downloadlink? :3
  17. Nice maps you got there! It looks like almost the same as in CoD! I hope you will do Black Ops 2 too
  18. Very nice, keep up the good work!
  19. Can you tell me what the problem is exactly, what's going wrong there? And did you already make sure you was in the middle of the road? Then I will look to it.
  20. This is my map which I maded some 1.5 / 2 years ago. Fixed some things, and ready to play! Video: Download: https://community.multitheftauto.com/ind ... ls&id=6298 *Please note this is the map without music because I can't upload with music because it's too large, please read the description to get the map with music* I hope it's still worth to play it After downloaded read the file 'README.txt' in the map!
  21. I heard, if I want to script it how I wanted to, that you need to start the Login Panel as a gamemode and after logging in join the Race, but you will need to rescript Race if you want to let it work. If you join TG (TwistedGamers) or FFS (For F*** Sake) you get first a Login Panel and then you can chose what you want to join. Something like that I wanted. But I can't script it so I think I will just only make a Login Panel after joining Race, like normally. But thanks for the help anyway!
  22. Yes ok, thanks for that. But now I don't know where I need to script it so players won't able to join/play/spawned the gamemode until they logged in.
  23. I don't mean the Login Panel by itself. I mean: Otherwise, I don't get what you mean. I shoudln't know how I need to find my answere there
  24. Hello, I wanted to create a Login Panel for if you join the server. But this I wanted to do: If you join the server, then BEFORE you joining the Game(mode) your camera will be set to a special target and then you need to login with a Login Panel, and after logging in, then you join the Game(mode) So my question is: Where I need to script that Login Panel so you can't join the game until you are logged in? (It's a Race Gamemode and I know how to script a Login Panel) Hope you guys understand it and sorry for my bad English
×
×
  • Create New...