Linki görebilmek için
Kayıt olun yada Giriş yapın. Bunu kullan.Kaynak kodlarını atarsan daha yardımcı olabilirim.
Bunlar Düzenleyip Atarsan Cok Cok güzel Olur.
gui = {button = {}, checkbox = {}, scroll = {}, label = {}, image = {}}
screen = Vector2(guiGetScreenSize())
gui.window = GuiWindow(screen.x / 2 - 438 / 2, screen.y / 2 - 275 / 2, 300, 200, "Steering Assist", false)
guiSetProperty(gui.window, "CaptionColour", "FFFFFFFF")
guiWindowSetSizable(gui.window, false)
gui.window.visible = false
gui.button["CLOSE_WINDOW"] = GuiButton(70, 170, 150, 25, "Kapat", false, gui.window)
gui.button["CLOSE_WINDOW"]:setFont("default-bold-small")
gui.tabpanel = guiCreateTabPanel(9, 26, 285, 135, false, gui.window)
guiSetVisible(gui.window, false)
addEventHandler("onClientGUIClick", root, function()
if gui.window.visible == true then
if not localPlayer.vehicle then
return
end
if source == gui.button["CLOSE_WINDOW"] then
gui.window.visible = false
showCursor(false)
end
end
end)
function openVehicleSettings()
gui.window.visible = true
showCursor(true)
end
function closeVehicleSettings()
gui.window.visible = true
showCursor(true)
end
function playSound(name, ...)
if type(name) ~= "string" then
return false
end
return Sound("assets/sounds/" .. name .. ".wav", ...)
end
VEHICLE_SETTINGS = false
bindKey("F3","down",function()
if VEHICLE_SETTINGS == false then
openVehicleSettings()
VEHICLE_SETTINGS = true
else
closeVehicleSettings()
VEHICLE_SETTINGS = false
end
end)