Lua
GUIEditor_Window[1] = guiCreateWindow(312, 239, 846, 417, "Willkommen auf Los Angeles Gangwar-Training", false)
guiWindowSetSizable(GUIEditor_Window[1], false)
GUIEditor_Label[1] = guiCreateLabel(360, 185, 99, 18, "Benutzername:", false, GUIEditor_Window[1])
guiSetFont(GUIEditor_Label[1], "clear-normal")
GUIEditor_Label[1] = guiCreateLabel(129,36,68,18,"Username",false,GUIEditor_Window[1])
guiLabelSetColor(GUIEditor_Label[1], 0, 150, 255)
GUIEditor_Edit[1] = guiCreateEdit(300, 208, 223, 30, "", false, GUIEditor_Window[1])
GUIEditor_Edit[2] = guiCreateEdit(302, 279, 223, 30, "", false, GUIEditor_Window[1])
guiEditSetMasked(GUIEditor_Edit[2], true)
GUIEditor_Label[2] = guiCreateLabel(378, 256, 63, 18, "Passwort:", false, GUIEditor_Window[1])
guiSetFont(GUIEditor_Label[2], "clear-normal")
guiLabelSetColor(GUIEditor_Label[2], 0, 150, 255)
GUIEditor_Button[3] = guiCreateButton(302, 326, 110, 34, "Einloggen", false, GUIEditor_Window[1])
guiSetFont(GUIEditor_Button[3], "clear-normal")
guiSetProperty(GUIEditor_Button[3], "NormalTextColour", "FF00FF00")
GUIEditor_Button[4] = guiCreateButton(415, 327, 110, 34, "Registrieren", false, GUIEditor_Window[1])
guiSetFont(GUIEditor_Button[4], "clear-normal")
guiSetProperty(GUIEditor_Button[4], "NormalTextColour", "FFFFFF00")
GUIEditor_Button[5] = guiCreateButton(302, 360, 224, 33, "Als Gast einloggen", false, GUIEditor_Window[1])
guiSetFont(GUIEditor_Button[5], "clear-normal")
guiSetProperty(GUIEditor_Button[5], "NormalTextColour", "FF1569C7")
GUIEditor.staticimage[1] = guiCreateStaticImage(736, 22, 100, 97, ":gui/images/2pqnbth.png", false, GUIEditor_Window[1])
GUIEditor.label[3] = guiCreateLabel(116, 37, 600, 81, "Los Angeles Gangwar-Training", false, GUIEditor_Window[1])
guiSetFont(GUIEditor.label[3], "sa-header")
guiLabelSetHorizontalAlign(GUIEditor.label[3], "center", false)
GUIEditor.label[4] = guiCreateLabel(39, 152, 210, 20, "Regeln:", false, GUIEditor_Window[1])
guiLabelSetColor(GUIEditor.label[4], 255, 0, 0)
guiLabelSetHorizontalAlign(GUIEditor.label[4], "center", false)
GUIEditor.label[5] = guiCreateLabel(33, 201, 222, 21, "-Kein Spam", false, GUIEditor_Window[1])
guiLabelSetHorizontalAlign(GUIEditor.label[5], "center", false)
GUIEditor.label[6] = guiCreateLabel(31, 225, 227, 21, "-Kein Kirby Skin", false, GUIEditor_Window[1])
guiLabelSetHorizontalAlign(GUIEditor.label[6], "center", false)
GUIEditor.label[8] = guiCreateLabel(29, 248, 235, 22, "-Kein Hacken/Cheaten", false, GUIEditor_Window[1])
guiLabelSetHorizontalAlign(GUIEditor.label[8], "center", false)
GUIEditor.label[9] = guiCreateLabel(37, 273, 217, 22, "-Es gelten die Gangwar Regeln", false, GUIEditor_Window[1])
guiLabelSetHorizontalAlign(GUIEditor.label[9], "center", false)
GUIEditor.label[10] = guiCreateLabel(36, 296, 218, 20, "von Los Angeles Reallife", false, GUIEditor_Window[1])
guiLabelSetHorizontalAlign(GUIEditor.label[10], "center", false)
GUIEditor.label[11] = guiCreateLabel(69, 350, 154, 20, " Ich akzeptiere die Regeln!", false, GUIEditor_Window[1])
GUIEditor.checkbox[1] = guiCreateCheckBox(227, 350, 22, 22, "", true, false, GUIEditor_Window[1])
GUIEditor.label[12] = guiCreateLabel(576, 150, 201, 23, "Befehle:", false, GUIEditor_Window[1])
guiLabelSetColor(GUIEditor.label[12], 255, 0, 0)
guiLabelSetHorizontalAlign(GUIEditor.label[12], "center", false)
GUIEditor.label[13] = guiCreateLabel(33, 201, 222, 21, "-Kein Spam", false, GUIEditor_Window[1])
guiLabelSetHorizontalAlign(GUIEditor.label[13], "center", false)
GUIEditor.label[14] = guiCreateLabel(555, 198, 245, 18, "/votekick [Spieler] - um jemanden zu kicken", false, GUIEditor_Window[1])
GUIEditor.label[15] = guiCreateLabel(553, 221, 248, 18, "/votekill [Spieler] - um jemanden zu killen", false, GUIEditor_Window[1])
guiLabelSetHorizontalAlign(GUIEditor.label[15], "center", false)
GUIEditor.label[16] = guiCreateLabel(552, 243, 250, 17, "\"b\" um das Waffenmenue zu oeffnen.", false, GUIEditor_Window[1])
guiLabelSetHorizontalAlign(GUIEditor.label[16], "center", false)
GUIEditor.label[17] = guiCreateLabel(550, 266, 253, 18, "\"Num_4\" um Hilfe anzufordern.", false, GUIEditor_Window[1])
guiLabelSetHorizontalAlign(GUIEditor.label[17], "center", false)
GUIEditor.label[18] = guiCreateLabel(553, 289, 257, 18, "/report - Um Bugs/Hilfe zu melden/anzufordern.", false, GUIEditor_Window[1])
GUIEditor.label[20] = guiCreateLabel(542, 309, 287, 18, "/msg [Spieler] [Nachricht] - Um eine PM zu schicken", false, GUIEditor_Window[1])
GUIEditor.staticimage[2] = guiCreateStaticImage(10, 27, 20, 11, ":gui/images/de.png", false, GUIEditor_Window[1])
GUIEditor.label[21] = guiCreateLabel(34, 316, 221, 19, "-Die Admins werden respektiert", false, GUIEditor_Window[1])
guiLabelSetHorizontalAlign(GUIEditor.label[21], "center", false)
showCursor(true)
guiSetInputEnabled(true)
Alles anzeigen
So wie kann ich nun, wenn ich z.B. auf Einloggen klicke, das er mich einloggt?
Danke im Vorraus