-
Posts
4,961 -
Joined
-
Last visited
Everything posted by Jaysds1
-
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.
-
Did you got -the latest DirectX -the latest patch MTA:SA -the latest Graphic Driver
-
So you got -the latest DirectX -the latest patch of MTA:SA Whats your graphic Driver?
-
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.
-
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)
-
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
-
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)
-
He wants to know how to color the things above.
-
instead of the Player entering the username, the username is already in the gui Edited box.
-
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.
-
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.
-
How to save Players Usernames and Passwords?
-
Here: addEventHandler("onResourceStart",getRootElement(getThisResource()), function() setGameType("YOUR MAP NAME") setMapType("YOUR MAP NAME") end)
-
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.
-
Try downloading the MTA program again. It's suppose to be downloading the resources at least.
-
So you changed it already?
-
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.
-
Did you asked the people in the server if there invisible? What's the server name?
-
Did you went to the settings and edited the connection?
-
So you script something and it got saved to a .xml file that you can't find?
-
The image is not fading out after 13 seconds, the debugscript says Warning: Bad Argument @ 'removeEventHandler'
-
yes, it's just the removeEventHandler, When I remove it, the images are shown but doesn't fadeout after 13 seconds.
-
I've been looking in some other forums, from what I see, go in the acl.xml and the default c