-
Posts
4,961 -
Joined
-
Last visited
Everything posted by Jaysds1
-
Np
-
Sorry, but we don't know how this is being triggered or why it's sending this... Can you post the script please?
-
try this: addEventHandler ("onClientGUIClick",guiRoot,function (state) if state ~= "left" then return end if source ~= regbut then return end local p1,p2,day,month,year,mailt = guiGetText (pwf1,guiGetText (pwf2),guiGetText (T),guiGetText(M),guiGetText (J),guiGetText (email) local laenge,tlaenge,mlaenge,jlaenge,maillaenge = #p1,#day,#month,#year,#mailt if (p1 ~= p2) then outputChatBox ("Bitte gib zwei gleiche Passwörter ein!", 255,0,0) elseif (p1 == p2) and (laenge < -- s8) --> or (laenge > 19) then outputChatBox ("Dein Passwort muss zwischen 8 und 20 Zeichen lang sein!", 255,255,0) elseif (p1 == p2) and (laenge > 7) and (p1 == "12345678") and (laenge < 21) then outputChatBox ("Wähle ein anderes Passwort!", 255,255,0) end if (ifbdisvalid (tlaenge, mlaenge, jlaenge, day, month, year ) == false) and (ifmailisvalid (maillaenge, mailt ) == false ) and (p1 == p2) and (laenge > 7) and (p1 ~= "12345678") and (laenge < 21) then for i=0,11 do outputChatBox (" ") end outputChatBox ("Herzlich willkommmen auf "..ServerName..", wir wünschen dir viel Spaß!", 0,255,0) local m,w,pname = guiRadioButtonGetSelected(selectm),guiRadioButtonGetSelected(selectw),getPlayerName (localPlayer) if (m == true) then rgeschlecht = "Mann" else rgeschlecht = "Frau" end triggerServerEvent ("onRegisterButtonClick", localPlayer, localPlayer, p1, mailt, day, month, year, rgeschlecht ) guiSetVisible (Fenster, false) showCursor (false) guiSetInputEnabled (false) elseif (ifbdisvalid (tlaenge, mlaenge, jlaenge, day, month, year ) == false) and (ifmailisvalid (maillaenge, mailt ) == true ) and (p1 == p2) and (laenge > 7) and (p1 ~= "12345678") and (laenge < 21) then outputChatBox ("Bitte gib eine ordentliche E-Mail Adresse ein!", 255,0,0) elseif (ifbdisvalid (tlaenge, mlaenge, jlaenge, day, month, year ) == true) and (ifmailisvalid (maillaenge, mailt ) == true ) and (p1 == p2) and (laenge > 7) and (p1 ~= "12345678") and (laenge < 21) then outputChatBox ("Bitte gib eine ordentliche E-Mail Adresse ein!", 255,0,0) elseif (ifbdisvalid (tlaenge, mlaenge, jlaenge, day, month, year ) == true) and (ifmailisvalid (maillaenge, mailt ) == false ) and (p1 == p2) and (laenge > 7) and (p1 ~= "12345678") and (laenge < 21) then outputChatBox ("Bitte gib ein ordentliches Geburtsdatum ein!", 255,0,0) end end)
-
ok, either way the event handler would be destroyed, because for one, the element wouldn't exist anymore thus the event handler would be no use and wouldn't be triggered, and even if you remove the event handler, I think it would save some ram, but either way the event handler would be destroyed.
-
For the Master Server Part, can you try this please: https://nightly.multitheftauto.com/ports/ and for the gate script, please post it in this forum: https://forum.multitheftauto.com/viewforum.php?f=91&
-
My friends MTA lags a lot now, might be the drivers?
Jaysds1 replied to blurryshadow1's question in Client
Can you download and run this MTADiag and paste the generated URL/PasteBin URL here please. -
Try re-configuring everything again This might help you: https://forum.multitheftauto.com/viewtopic.php?f ... t+Problems
-
I'm guessing that the account was damaged or you shut your server down while someone was still logged in, not sure though
-
try this: https://nightly.multitheftauto.com/ports/
-
What does it say after typing in 'openports'? If it says it's not open try then try this: https://forum.multitheftauto.com/viewto ... 6b81a50479
-
MTAQA Twitter: https://twitter.com/MTAQA
-
When did this started happening?
-
Remember, the text is being redraw meaning, the same thing would be showed every frame. The only way to change it, is to store the text into a variable. Example: local text = "Hey" addEventHandler("onClientRender",root,function() dxDrawText(text,0,10) text = "Bye" --changes after the first frame end)
-
I think I remember seeing that somewhere too, but don't remember where, I'll try finding it
-
Np (not sure if you're being sarcastic)
-
For an example, is your server is hosted on your computer, type in "localhost:22005".
-
What do you want in the script??? I added if you switch your weapon, then it will set the players current weapon to melee.
-
The best way to compile your files and make it unable to be decompiled is to create your own lua compiler...
-
Try this: local allow = { [24] = true, [25] = true, [33] = true, [34] = true } function resourceStart () setGlitchEnabled ( "quickreload", true ) setGlitchEnabled ( "fastmove", true ) setGlitchEnabled ( "fastfire", true ) setGlitchEnabled ( "crouchbug", true ) end addEventHandler ( "onResourceStart",resourceRoot, resourceStart ) function resourceStop () setGlitchEnabled ( "quickreload", false ) setGlitchEnabled ( "fastmove", false ) setGlitchEnabled ( "fastfire", false ) setGlitchEnabled ( "crouchbug", false ) end addEventHandler ( "onResourceStop",resourceRoot, resourceStop ) addEventHandler("onPlayerWeaponSwitch",root,function(pWep,nWep) if not allow[pWep] or not allow[nWep] then setPedWeaponSlot ( source, 1 ) end end)
-
That could only be loaded on your server. Your server should be up and running, if it is then type in serverip:port and then something will popup asking for your username and password, enter your server username and password then it would bring you to a page called: resource browsers.
-
try this: local menu1 = guiCreateStaticImage ( 0, 0, 1, 0.04, "images/pasek1.png", true ) guiSetVisible ( menu1, true ) local text = guiCreateLabel ( 0, 0, 0.15, 0.1, "Welcome ".. namec .. " !", true, menu1 ) guiSetFont ( text, "default-bold-small" ) guiSetVisible ( text, true ) guiMoveToBack(menu1)