-
Posts
4,961 -
Joined
-
Last visited
Everything posted by Jaysds1
-
oh, wow, ok, but he should try putting the ip address that's in the mtaserver.conf file
-
127.0.0.1 doesn't necessarily means localhost, put in your ip address that you put in the mtaserver.conf file .
-
do you want to start another resource on the start of this resource or do you want something to trigger it to start?
-
lol, nice one Benxamix2
-
wait, is your ip really 127.0.0.1 ? and try both udp and tcp
-
lol, what about the map editor side?
-
Hi all, I just saw this resource today and had some questions about it: How do you put bots in vehicles and make them go in a path you want them to go in? (ex. They drive/fly around the "Eight racing Track Stadium") plus I need help with the map editor slothbot, I don't know how to make connections.
-
Can you explain to me how you did it pls?
-
It's either give it up or when people go on to the server, put "This server needs a UNITED GTA Mod, to get this mod please visit: SITE NAME.com to download this Mod, thanks for visiting YOUR SERVERNAME.".
-
I'm working on making a scoreboard for the web, so far, I've developed a table with names and IP's, I just need it to update either onPlayerJoin or every second.
-
Why didn't you like it???
-
what is Animation.createAndPlay(car, Animation.presets.guiMove(269, 425, 2000)) suppose to do???
-
you could use setElementRotation
-
well, he did... people have option to help or give, Ben said that "Nobody Will" because really no one would give out a code/script for free, but people like me and him would help.
-
try this: function createLoginWindow() local X = 0.375 local Y = 0.375 local Width = 0.25 local Height = 0.25 wdwLogin = guiCreateWindow(X, Y, Width, Height, "Porfavor ingrese", true) X = 0.0825 Y = 0.2 Width = 0.25 Height = 0.25 guiCreateLabel(X, Y, Width, Height, "Usuario", true, wdwLogin) Y = 0.5 guiCreateLabel(X, Y, Width, Height, "Contraseña", true, wdwLogin) X = 0.415 Y = 0.2 Width = 0.5 Height = 0.15 edtUser = guiCreateEdit(X, Y, Width, Height, "", true, wdwLogin) Y = 0.5 edtPass = guiCreateEdit(X, Y, Width, Height, "", true, wdwLogin) guiEditSetMaxLength(edtUser, 50) guiEditSetMaxLength(edtPass, 50) X = 0.415 Y = 0.7 Width = 0.25 Height = 0.2 btnLogin = guiCreateButton(X, Y, Width, Height, "Ingresar", true, wdwLogin) guiSetVisible(wdwLogin, false) end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), function () createLoginWindow() outputChatBox("Welcome to My new Server, please be patient and log in/register.") -- if the GUI was successfully created, then show the GUI to the player if (wdwLogin ~= nil) then guiSetVisible(wdwLogin, true) else outputChatBox("An unexpected error has occurred and the log in GUI has not been created.") end showCursor(true) guiSetInputEnabled(true) addEventHandler("onClientGUIClick", btnLogin, clientSubmitLogin, false) end function clientSubmitLogin(button,state) if button == "left" and state == "up" then local username = guiGetText(edtUser) local password = guiGetText(edtPass) if username and password then triggerServerEvent("submitLogin", getRootElement(), username, password) guiSetInputEnabled(false) guiSetVisible(wdwLogin, false) showCursor(false) else outputChatBox("Please enter a username and password.") end end end end addEvent("submitLogin",true) addEventHandler("submitLogin",root,loginHandler) function loginHandler(username,password) if username == "user" and password == "apple" then if (client) then spawnPlayer(client, 1959.55, -1714.46, 10) fadeCamera(client, true) setCameraTarget(client, client) outputChatBox("Welcome to My Server.", client) end else outputChatBox("Invalid username and password. Please re-connect and try again.",client) end enda plus it's client-side your problem/error: You had to much function, 2 eventhandlers connecting to the same function.
-
I'VE VOTED!!!
-
I've updated the resource and now I've added CSS3 scripts in there, I'm planning to add more stuff that's unique... Hope you enjoy the newer version of the resource browser. Download V2: https://community.multitheftauto.com/index.php?p=resources&s=details&id=3786 Server Name Normal Server Name Extended
-
it's listed for Game Monitor? if it is then it should be listed in the Server Browser... Check your open ports
-
it's already solved, I helped him over teamviewer and the problem was that he was missing a stream.ini file(i think that's the file extension).
-
and dont forget to use addEventHandler("onClientRender",getRootElement(),lookAt)
-
just add addEventHandler("onClientVehicleStartEnter",getRootElement(),noRadio)