Hi guys, i have worked with GUI editor alittle bit and i dont know how to make the script work as soon as the local player spawn
and i what that after i picked a car model and click the butten ill be in the car and locked inside it ill do it my self but im pritty new the Lua Script and having hard time learning it, well tnx
GUIEditor = {
button = {},
window = {},
label = {},
combobox = {}
}
addEventHandler("onClientResourceStart", resourceRoot,
function()
GUIEditor.window[1] = guiCreateWindow(437, 135, 173, 127, "You're Cars", false)
guiWindowSetSizable(GUIEditor.window[1], false)
GUIEditor.label[1] = guiCreateLabel(8, 28, 109, 19, "Select You're Car", false, GUIEditor.window[1])
guiSetFont(GUIEditor.label[1], "clear-normal")
GUIEditor.combobox[1] = guiCreateComboBox(9, 57, 154, 21, "", false, GUIEditor.window[1])
guiComboBoxAddItem(GUIEditor.combobox[1], "Balista Compact")
guiComboBoxAddItem(GUIEditor.combobox[1], "Club")
GUIEditor.button[1] = guiCreateButton(18, 88, 135, 26, "Let's Go", false, GUIEditor.window[1])
end
)