Jump to content

megaman54

Members
  • Posts

    245
  • Joined

  • Last visited

Everything posted by megaman54

  1. Ok, what is the /load command then? It crashes my game when i use it.
  2. What about the mini-map then? How i can enable it?
  3. Is there a way to load a client side script with a command like in the source games? And what is the /load command? And is it possible to force the mini-map enabled in a server that has it disabled?
  4. WOW! Thanks man. Now i know exactly what those things do! Thanks !
  5. I have a small question: what is the difference between these things: (these are just examples) local testVar = "helo" testVar = "helo" What i mean, is the "local" before the variable name, where is this needed/used ? Thanks!
  6. Well, if you have used the CCTV system there is a "Place" buton then you are making a camera or terminal. That button allows you to place the thing with your mouse. How to do this?
  7. I dint find anything useful in there
  8. How i can attach a object to my mouse and when i click somewhere the object stays there? I mean like the CCTV script by Aiboforcen has the "Place" button to place terminals and cameras with mouse.
  9. Where did you get the valhalla script?
  10. He means, to show this 'playerlist' in console, not in chatbox? So you must put outputConsole instead of outputChatBox Yea thats what i meant and big thanks to proracer for this script! EDIT: outputConsole is for ingame console... outputServerLog is for server console i think
  11. I know i must use those functions but HOW ?
  12. How to make a /players command that shows list of players with their IP and ping in the server console (not ingame F8 console)?
  13. It works! Thanks for this nice support and help!
  14. I create them in admin panel. Or should i create them in that script?
  15. Ok thx i will try it now. EDIT: The HIT thing appears but i still get teleported out of the area even if i'm in the team. Strange
  16. Its at the beginning of the LUA file. Not in a function.
  17. Ok, here is the colshape detector = createColCircle(219.2746887207, 1822.8521728516, 21)
  18. Hello! I made a admin area and script for it. It checks if the player who enter the area is in "Admins" team. So here is the problem: it kicks the player out of the area even if the player is in the Admins team, it doesnt give any errors or anything relating to errors. Code: function detectorDetect(thePlayer) if(getPlayerTeam" class="kw2">getPlayerTeam(thePlayer) == "Admins")then outputChatBox("Welcome!", thePlayer, 0, 255, 0) else setElementPosition(thePlayer, 247, 1833, 5) setElementRotation(thePlayer, 269) outputChatBox("You are not allowed to come here!", thePlayer, 255, 0, 0) end end addEventHandler("onColShapeHit", detector, detectorDetect) I hope someone can help me.
  19. Hello! When i try to use runcode through MTA HTTP server (through my web browser) the code wont execute. Whats wrong? Any help will be welcome.
  20. Just asking and thanks for the replys everybody!
  21. Ok.. Can i execute .exe or .bat files with lua?
  22. What does "split" do? Can i run os. lua functions then?
  23. So, is there a lua "emulator" where i could use those functions?
  24. Does these functions work in MTA scripts? > http://www.lua.org/manual/5.1/manual.html
×
×
  • Create New...