function findVehicle(id)
for k,v in ipairs(getElementsByType(\"vehicle\")) do
   local vid = tonumber(getElementData(v, \"veh:id\")) or -1
   if vid == tonumber(id) then
      return true
   end
end
return false
end
 Én átírnám így a findVehicle-t ésa drawot pedig így:  
function drawPanel()
    local vehicle = getPedOccupiedVehicle(localPlayer)
    if SirenPanel then
        if isPedInVehicle(localPlayer) then
        local model = getElementModel(vehicle)
   local fin = findVehicle(id)
            if (model==598) or (többi modell, csak lerövidítettem, hogy ne legyen hosszú) or (findVehicle(993123)) then
                if isCursorShowing() then
                    cursorX, cursorY = getCursorPosition()
                    cursorX, cursorY = cursorX * scSz[1], cursorY * scSz[2]
 a \"local fin = findVehicle(id)\" felesleges oda
findVehicle(A kocsi ID-je) -- Ez 2 értéket adhat vissza. Ha megtalálja az adatbázisba , akkor \"true\" és megjeleníti neki a panel, az egyik pedig a \"false\" akkor nem fogja megjeleníteni neki a panelt.