addEventHandler ( "onClientGUIComboBoxAccepted", resourceRoot, function()
if source == wm.combo_rodzaj then
local item = guiComboBoxGetSelected(wm.combo_rodzaj)
local text = guiComboBoxGetItemText(wm.combo_rodzaj, item)
if guiComboBoxGetSelected(wm.combo_rodzaj) == 0 then
local id = getElementData(localPlayer,"przecho:id")
if not id then return end
triggerServerEvent("onParkingGetRekords5", root,id)
ID_PRZECHO_DO_JAKIEJ_WLAZLES = id
end
if guiComboBoxGetSelected(wm.combo_rodzaj) == 1 then
guiGridListClear(wm.gridlist)
end
if guiComboBoxGetSelected(wm.combo_rodzaj) == 2 then
guiGridListClear(wm.gridlist)
end
if guiComboBoxGetSelected(wm.combo_rodzaj) == 3 then
guiGridListClear(wm.gridlist)
end
end
end)