Hallo,
ich habe mir ein GUI erstellt.
Lua
GUIEditor = {
button = {},
window = {},
staticimage = {},
edit = {}
}
addEventHandler("onClientResourceStart", resourceRoot,
function()
GUIEditor.window[1] = guiCreateWindow(620, 205, 683, 553, "VIP-Panel by [LoD]Mr.K3kZ", false)
guiWindowSetMovable(GUIEditor.window[1], false)
guiWindowSetSizable(GUIEditor.window[1], false)
guiSetAlpha(GUIEditor.window[1], 1.00)
GUIEditor.edit[1] = guiCreateEdit(0.05, 0.08, 0.61, 0.16, "You are a LoD-VIP. Gratz.", true, GUIEditor.window[1])
guiEditSetReadOnly(GUIEditor.edit[1], true)
GUIEditor.button[1] = guiCreateButton(0.05, 0.37, 0.47, 0.10, "VIP-Skin", true, GUIEditor.window[1])
guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA")
GUIEditor.button[2] = guiCreateButton(0.05, 0.54, 0.47, 0.10, "VIP-Equip", true, GUIEditor.window[1])
guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFAAAAAA")
GUIEditor.button[3] = guiCreateButton(0.05, 0.70, 0.47, 0.10, "13500 Blood", true, GUIEditor.window[1])
guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFAAAAAA")
GUIEditor.staticimage[1] = guiCreateStaticImage(0.76, 0.08, 0.17, 0.16, ":guipro/images/examples/mtalogo.png", true, GUIEditor.window[1])
guiSetAlpha(GUIEditor.staticimage[1], 0.65)
end
)
Alles anzeigen
Jetzt will ich, dass sich dieses Fenster bei dem Befehl "VIP" öffnet, ich schaffe es leider nicht.
Danke im vorraus!