Jump to content

Jaysds1

Members
  • Posts

    4,961
  • Joined

  • Last visited

Everything posted by Jaysds1

  1. That's what I did when I first came, but I went and took my time making my server.... AND Now I have a Freeroam Server! Still testing stuff in it otherwise it's still Good. And thanks Castillo, you were the only friend on MTA Forum that helped me until others started being mean.
  2. Jaysds1

    MTA Crash

    Did you got -the latest DirectX -the latest patch MTA:SA -the latest Graphic Driver
  3. Jaysds1

    [SOLVED] MTA freezing

    So you got -the latest DirectX -the latest patch of MTA:SA Whats your graphic Driver?
  4. Jaysds1

    Login GUI

    I wasn't stealing i was already making a background for my server, but you wanted me to make a gui for you, and the picture look like the gui is gridlist, so I was trying to learn Gridlist. Sorry for the background image BTW.
  5. When your sending data to server or to client, add the thing you want to send at the end of triggerServerEvent or triggerClientEvent, and when it is triggered you have to add the thing you want in the (IN HERE) by the function. EXAMPLE: -- Server-side function pedVehicle() vehicle = getPedOccupiedVehicle(client) end triggerClientEvent(client, "theVehicle", getRootElement(), vehicle) --Client-side addEvent("theVehicle",true) addEventHandler("theVehicle", getRootElement(), function(vehicle) outputChatBox("THESE IS A"..vehicle.. ".") end)
  6. Jaysds1

    Weird thingy

    So the vehicle is suppose to be on fire when you die? if yes, then use local vehicle = getPedOccupiedVehicle(player) blowVehicle(vehicle, true) -- true means that it'll explode
  7. Jaysds1

    Problems

    I have this script, when I type in /save it's suppose to save the players Position. Client-side: addCommandHandler ( "save", function(player) local vehicle = getPedOccupiedVehicle(getLocalPlayer()) local player = getElementType(player) if (vehicle) then local x, y, z = getElementPosition(getLocalPlayer()) local model = getElementModel(vehicle) local code1 = x, y, z, model outputChatBox ("Saved ",source) triggerServerEvent("savevehicle",getLocalPlayer(),code1) elseif (player) then local x, y, z = getElementPosition(getLocalPlayer()) local code = x, y, z triggerServerEvent("saveplayer",getLocalPlayer(),code) end end) Server-side: addEvent("saveplayer",true) addEventHandler("saveplayer",root, function(text,valuetype) local file = fileOpen("positions.txt") if not file then file = fileCreate("positions.txt") outputDebugString("Creating positions.txt") end if file then local time = getRealTime() fileSetPos(file,fileGetSize(file)) local written = fileWrite(file,"\r\n",string.format("-- Created: %02s/%02s/%04s %02s:%02s\r\n", tostring(time.monthday), tostring(time.month + 1), tostring(time.year + 1900), tostring(time.hour), tostring(time.minute)), text,"\r\n--- --- --- --- ---\r\n") fileFlush(file) fileClose(file) if written then outputChatBox("Succesfully saved to positions.txt",source) outputChatBox(valuetype,source) end else outputDebugString("Save: Cannot find or create positions.txt") end end) addEvent("savevehicle",true) addEventHandler("savevehicle",root, function(text,valuetype) local file = fileOpen("positions.txt") if not file then file = fileCreate("positions.txt") outputDebugString("Creating positions.txt") end if file then local time = getRealTime() fileSetPos(file,fileGetSize(file)) local written = fileWrite(file,"\r\n",string.format("-- Created: %02s/%02s/%04s %02s:%02s\r\n", tostring(time.monthday), tostring(time.month + 1), tostring(time.year + 1900), tostring(time.hour), tostring(time.minute)), text,"\r\n--- --- --- --- ---\r\n") fileFlush(file) fileClose(file) if written then outputChatBox("Succesfully saved to positions.txt",source) outputChatBox(valuetype,source) end else outputDebugString("Save: Cannot find or create positions.txt") end end)
  8. Jaysds1

    colors

    He wants to know how to color the things above.
  9. Jaysds1

    Problems

    instead of the Player entering the username, the username is already in the gui Edited box.
  10. lol, You could use a Modem, DSL, or Cable. The server could be used with anything but if your connection is slow then people wouldn't want to go on your server.
  11. Jaysds1

    [SOLVED] MTA freezing

    Does it only freeze on one server or it freezes on all the servers? Sometimes the server has lots of resources and it makes people wait longer to join the game.
  12. Jaysds1

    Problems

    How to save Players Usernames and Passwords?
  13. Here: addEventHandler("onResourceStart",getRootElement(getThisResource()), function() setGameType("YOUR MAP NAME") setMapType("YOUR MAP NAME") end)
  14. He said that he used the marker instead of the cuboid (an invisible circle), when the player enters the cuboid then the gate opens and if the player leaves it the gate closes. Change the Marker to a cuboid.
  15. Jaysds1

    Internet lag!

    Try downloading the MTA program again. It's suppose to be downloading the resources at least.
  16. Jaysds1

    Internet lag!

    So you changed it already?
  17. Jaysds1

    Internet lag!

    When your on the MTA start menu go to the settings and in there is should show something about connections like DSL, Modem, or Broadband.
  18. Jaysds1

    Invisible Players

    Did you asked the people in the server if there invisible? What's the server name?
  19. Jaysds1

    Internet lag!

    Did you went to the settings and edited the connection?
  20. So you script something and it got saved to a .xml file that you can't find?
  21. Jaysds1

    Problems

    The image is not fading out after 13 seconds, the debugscript says Warning: Bad Argument @ 'removeEventHandler'
  22. Jaysds1

    Problems

    yes, it's just the removeEventHandler, When I remove it, the images are shown but doesn't fadeout after 13 seconds.
  23. I've been looking in some other forums, from what I see, go in the acl.xml and the default c
×
×
  • Create New...