Jump to content

DiSaMe

Helpers
  • Posts

    1,461
  • Joined

  • Last visited

  • Days Won

    34

Everything posted by DiSaMe

  1. It's not possible to set .map dimension, but you can script that. And that "bug when far from SA" isn't a bug. It's something that is in original game and isn't reachable in normal gameplay
  2. When I start MTA, I press browse servers. Then I close that window and press browse servers again. All servers are show
  3. Yeah, I know this, but I didn't think about that. But when I saw the name separated, I remembered that quickly
  4. This was more one thing I forgot
  5. It's easy to make setObjectScale() in server side. Server: function setObjectScale(theObject,scale) triggetClientEvent("setObjectScale",theObject,scale) end Client: addEvent("setObjectScale") addEventHandler("setObjectScale",getRootElement(), function(scale) setObjectScale(source,scale) end ) Is this correct?
  6. Yeah, yeah, I forgot
  7. DiSaMe

    Cant damage players

    Yeah, this is how exactly I'm thinking.
  8. I don't think so. This is the content: > x="2229.63" y="-1721.63" z="12.6529" 2x="2229.13" 2y="-1722.13" 2z="12.6529" ang="497" int="0" />> Or maybe I'm blind a little bit edit: wait, it looks like node attributes starting with numbers are separated into numbers and letters. And not in notepad++. Maybe that's the reason? edit2: oh, yeah, it works! Thanks for making me post the content and see what's wrong
  9. No. It's in XML format. Only file type is .map. But does MTA know that? Answer: no. Every program doing this checks for the extension, before checking the contents. So although it is in XML format, MTA doesn't think so, and thus returns NIL. You may want to wait for an expert to come online to explain more and talk about a possible solution. I only tell my own experiences and things for as far as I know. What MIGHT help: http://development.mtasa.com/index.php?title=FileOpen Not for configuration files... .map is no configuration, right? But does MTA need to know that? Answer: no. xmlLoadFile doesn't check if file extension is XML. It only checks if that file content is XML format. It just needs to find the file independently of extension. Otherwise my server-side random car placer that I put into gamemode I'm working on wouldn't work.
  10. No. It's in XML format. Only file type is .map.
  11. For some reason I can't open clientside XML. This is part of meta.xml: src="enex.map" />="enex.lua" type="client" /> Both files enex.map and enex.lua are successfully downloaded. Part of enex.lua: local enex_file = xmlLoadFile("enex.map") if enex_file then setTimer(outputChatBox,2000,1,"opened file") else setTimer(outputChatBox,2000,1,"failed to open file") end When I join, it writes: "failed to open file". This means that enex.map file isn't loaded! There are no errors in it. It starts with and ends with . What's wrong?
  12. DiSaMe

    Installing

    You don't have to install LUA at all.
  13. DiSaMe

    Cant damage players

    MTA developers will not make them walk and drive around but there will be ped functions, so it will be possible to script.
  14. These are game limits that only make some markers invisible. If I'm not mistaken there is limit of total number of any kind elements. It's 65536. At least when I tested it, vehicles and objects shared the same limit.
  15. You can't open the gate, because it's map object and MTA can't move them. But I think it's possible for MTA developers to implement this because map objects can be moved like garage door opens and closes.
  16. It looks like that you don't know where to start, right? This little code makes player spawn in the map when he connects and lets you understand the main part that makes gamemode playable: addEventHandler("onPlayerJoin",getRootElement(),playerjoined)//executes function playerjoined when player connects function playerjoined() start of the function spawnPlayer(source,0,0,3) //spawns source element (in this case player who joined) at coordinates 0,0,3 fadeCamera(source,true) //fades screen in, so it won't be black end //end of the function This is very simple gamemode script. If you don't understand how to make something, ask
  17. Yes, you're right. From -3000 to 3000
  18. So IF players with modded map join one server for players with that map installed, they don't cause problems. And IF they join the server with players with original map, they cause problems and they are treated as cheaters. In this case causing problems is cheating
  19. Not yet. You are the first one who started talking about cheating here:
  20. This topic isn't about cheating. If people want to cheat, they're already able to do that.
  21. Yes it does cus you modify your "original San Andreas" and broadcast it what makes it ilegal Playing mta doesnt cus mta doesnt change anything in your "original San Andreas" it goes arround it No, you do NOT broadcast neither original nor modified San Andreas. Map doesn't even touch/isn't even touched by MTA somehow. It's completely separated from MTA. So you mean that playing GTA United is illegal? Like in all very well synced multiplayer games. Where that data is so useful that it doesn't need any alternatives.
  22. No, they don't. They uninstall mod and then go to other server. You're going offtopic, this is about LC and VC in MTA SA DM, not about cheathing.
  23. Oooh, and we can't remove San Andreas from the game, so we would have to put LC and VC outside the map and make SA unaccessible because map models would be replaced and SA would be messed up. So I see nothing bad in this: Somebody makes gamemode for this map and runs the server. Anybody could install the mod into GTA SA and play in that server, so everybody would have the same map, it wouldn't be cheating and everybody would be glad because they can play in LC and VC. What's wrong? I see nothing illegal.
  24. DiSaMe

    Big radar zones

    To avoid this bug, use negative zone X or Y size.
×
×
  • Create New...