Jump to content

myonlake

Members
  • Posts

    2,312
  • Joined

  • Days Won

    41

Everything posted by myonlake

  1. No difference. He only just removed the 'local' there.
  2. There is no way to switch rails, unless you do some really hardcored script, but I doubt it.
  3. modules -folder, deathmatch -folder, server -folder. All those with MySQL module. And also make sure mtaserver.conf has it linked.
  4. <meta> <info author="Name" name="Infernus Mod" version="1.0" type="script" /> <script src="infernus.lua" type="client" /> <file src="infernus.txd" /> <file src="infernus.dff" /> </meta> addEventHandler("onClientResourceStart", resourceRoot, function() txd = engineLoadTXD("infernus.txd", 411) engineImportTXD(txd, 411) dff = engineLoadDFF("infernus.dff", 411) engineReplaceModel(dff, 411) end ) Make sure the resource is running.
  5. He doesn't want that. He wants the train to the other rail.
  6. That's probably part of the MTA train sync issues. Can't help.
  7. Just get Xampp, that's probably one of the easiest things of managing a server. No need to pay anything.
  8. myonlake

    MTA Launching error

    Buy the game instead of using a cracked version, that's the only way making it work the best.
  9. myonlake

    Moderator

    Check your acl.xml.
  10. I am also saying, that 20 euros for that script is ridiculous, you can buy Minecraft for that price. I'd pay 1 euro for that.
  11. myonlake

    MySQL Objects

    Objects are always objects. Yes, map download.
  12. He shouldn't, he must make it himself unless there's one in Community. You're just making yourself embarrassed - snake is probably laughing at you.
  13. myonlake

    MySQL problem?

    Exactly, I was just about to reply and tell you that you cannot use backslash alone, since backslash is in many languages marked to \n = new line and such.
  14. myonlake

    MySQL problem?

    Do not triple post then, edit your previous posts.
  15. That's a long and fine description, but no thanks.
  16. Not exactly. Function names aren't allowed when the function is made inside an event. local gate = createObject(975, 1438.1025390625, -2879.2116699219, 2.5887410640717, 0, 0, 180) local marker = createMarker(1438.1025390625, -2874.20654, 2.5887410640717, "cylinder", 11.5, 255, 255, 255, 0) local s2 = createBlip(1438.7745361328, -2938.0595703125, 2.8496370315552, 62) local moving = false addEventHandler("onMarkerHit", marker, function(hitElement, matchingDimension) if getElementType(hitElement) == "player" and matchingDimension then if hasObjectPermissionTo(hitElement, "function.kickPlayer") then if moving ~= true then moveObject(gate, 2200, 1429.4974365234, -2879.0065917969, 2.5750021934509) moving = true end end end end ) addEventHandler("onMarkerLeave", marker, function(leaveElement, matchingDimension) if moving ~= false then if matchingDimension then moveObject(gate, 2450, 1438.1025390625, -2879.2116699219, 2.5887410640717) moving = false end end end )
  17. It's a vG script, which no one will help you with. Seriously, get away from vG script if you can't handle it. I am not willing to help those who think we help people who use stolen scripts or leaked scripts. We help those who have serious issues and they can script.
  18. Nope, it is a number value, no need to put tonumber there, this has been said MANY times.
  19. Or then you can use this. local commandname = "pay" local note = "Here is $100" addCommandHandler(commandname, function(player, cmd) givePlayerMoney(player, 100) outputChatBox(note, player, 255, 255, 0, false) end ) By the way, I like your style, I suppose you read my tutorial?
  20. Exactly, and I prefer to use -90.
  21. Hold on, it's better to have it fully functioning without bugs, use this code. local gate = createObject(975, 1438.1025390625, -2879.2116699219, 2.5887410640717, 0, 0, 180) local marker = createMarker(1438.1025390625, -2874.20654, 2.5887410640717, "cylinder", 11.5, 255, 255, 255, 0) local s2 = createBlip(1438.7745361328, -2938.0595703125, 2.8496370315552, 62) local moving = false addEventHandler("onMarkerHit", marker, function moveGate(hitElement, matchingDimension) if getElementType(hitElement) == "player" and matchingDimension then if hasObjectPermissionTo(hitElement, "function.kickPlayer") then if moving ~= true then moveObject(gate, 2200, 1429.4974365234, -2879.0065917969, 2.5750021934509) moving = true end end end end ) addEventHandler("onMarkerLeave", marker, function moveBack(leaveElement, matchingDimension) if moving ~= false then if matchingDimension then moveObject(gate, 2450, 1438.1025390625, -2879.2116699219, 2.5887410640717) moving = false end end end )
  22. Exactly, HTTP server and MTA server without the same files gives the client invalid valued files. That's why you should check out for if you have HTTP server files set up correctly with the same files. The thing is, that code you made is only available client-side, so you can't make it server-side.
  23. Why can't you just make your own script, do not use vG code if you can't handle the pain in the ass.
  24. Wrong. addEventHandler("onResourceStart", resourceRoot, function() af = createPed(287, 236.89, 1970.69, 18.80) af1 = createPed(287, 237.89, 1970.69, 18.80) af2 = createPed(287, 238.89, 1970.69, 18.80) af3 = createPed(287, 239.89, 1970.69, 18.80) end )
  25. Learn maths, whoever started this thread. 0 degrees = no change 90 degrees = 3/4 of a full rotation 180 degrees = 2/4 of a full rotation -90 degrees = 1/4 of a full rotation 360 degrees = no change Find "circle 2d" on Google and you'll see the scale.
×
×
  • Create New...