Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.
GTAONLINE.PL
Tematy otagowane jako: potocy
1. Potocy okno sie nie otwiera
witam tak jak w temacie o co chodzi ?
[lua]
GUIEditor = {
tab = {},
tabpanel = {},
label = {},
button = {},
window = {}
}
addEventHandler("onClientResourceStart", resourceRoot,
function()
GUIEditor.window[1] = guiCreateWindow(519, 290, 961, 209, "Panel Pojazdu", false)
guiWindowSetSizable(GUIEditor.window[1], false)

GUIEditor.button[1] = guiCreateButton(14, 37, 175, 45, "Silnik", false, GUIEditor.window[1])
GUIEditor.button[2] = guiCreateButton(199, 37, 175, 45, "?wiat?a", false, GUIEditor.window[1])
GUIEditor.button[3] = guiCreateButton(776, 154, 175, 45, "Zniszcz Pojazd", false, GUIEditor.window[1])
GUIEditor.tabpanel[1] = guiCreateTabPanel(727, 25, 214, 80, false, GUIEditor.window[1])

GUIEditor.tab[1] = guiCreateTab("Zniszcz Pojazd", GUIEditor.tabpanel[1])

GUIEditor.label[1] = guiCreateLabel(5, 5, 199, 40, "Zniszcz Pojazd (chwilowo nie dzia?a)", false, GUIEditor.tab[1])
guiLabelSetHorizontalAlign(GUIEditor.label[1], "left", true)


GUIEditor.window[2] = guiCreateWindow(519, 290, 961, 209, "Panel Pojazdu", false)
guiWindowSetSizable(GUIEditor.window[2], false)
end
)

function Lights ( player )
car = getPedOccupiedVehicle ( player )
if ( car ) then
if not vehicleLights[ car ] then
setVehicleOverrideLights ( car, 2 )
outputChat...