Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.

Wysłany: 2019-01-16, 00:11


karat1







Wiek: 24
Na forum: 3758 dni
Posty: 95
Nick w MP: Karatos

Piwa: 4

Respekt: 50

Ostrzeżeń: 60%
Witam chcia?bym zrobi? komputer policji ?eby dzia?a? na duty sapd a o to kod
Kod:

local markery={
{m={1538.26,1645.85,10.85},int=4,dim=15},
{m={1534.42,1640.11,10.85},int=4,dim=15},
{m={1562.48,1620.49,10.85},int=4,dim=15},
{m={1519.32,1641.94,10.85},int=4,dim=15},
{m={1541.37,1646.86,15.74},int=4,dim=15},
{m={1566.96,1609.76,15.74},int=4,dim=15},
{m={1563.56,1629.50,10.85},int=4,dim=15},
--[[{m={-1994.86,79.03,27.91}},
{m={-1994.07,86.43,27.91}},
{m={1081.57,768.57,11.03}},
{m={1000.23,792.80,11.03}},
{m={-248.14,1220.31,19.83}},
{m={-222.23,2730.04,62.83}},
{m={-1574.99,443.19,7.33}},
{m={-201.34,-208.34,1.53}},
{m={-124.07,-345.25,1.53}},]]
{m={1151.41,1666.42,50.10},int=34,dim=1},
{m={1151.41,1664.34,50.10},int=34,dim=1},
{m={1130.76,1655.22,53.90},int=34,dim=1},
{m={1130.11,1661.72,53.90},int=34,dim=1},
{m={1155.83,1671.24,53.90},int=34,dim=1},
{m={1143.45,1670.50,53.90},int=34,dim=1},
{m={1149.87,1657.76,57.69},int=34,dim=1},
{m={1135.18,1661.81,57.69},int=34,dim=1},
{m={1149.72,1661.31,57.69},int=34,dim=1},
{m={1135.50,1654.95,57.69},int=34,dim=1},
{m={1149.52,1649.18,57.69},int=34,dim=1},
{m={311.30,1828.49,5.84}}, -- AT
{m={320.81,1845.07,5.81}},
{m={279.07,1855.29,8.76}},
{m={275.44,1873.08,8.76}},
{m={288.46,1832.86,8.03}},
{m={214.23,1827.20,6.41}},

--
{m={1064.38,1749.66,12.60},int=40,dim=40},
{m={1064.20,1772.10,12.60},int=40,dim=40},
{m={1098.38,1739.03,12.60},int=40,dim=40},
{m={1097.88,1741.63,12.60},int=40,dim=40},
{m={477.23,156.70,937.50},int=17,dim=1}, --at
{m={480.00,150.56,937.50},int=17,dim=1}, --at
{m={477.58,150.41,937.50},int=17,dim=1}, --at

}
for i,v in ipairs(markery) do
v.marker=createMarker(v.m[1],v.m[2],v.m[3]-1,'cylinder',1.1,255,0,0,40)
setElementInterior(v.marker,v.int or 0)
setElementDimension(v.marker,v.dim or 0)
v.t=createElement("text")
setElementData(v.t,"text","Komputer Policyjny")
setElementPosition(v.t,v.m[1],v.m[2],v.m[3]+0.5)
setElementDimension(v.t,v.dim or 0)
setElementInterior(v.t,v.int or 0)
end

local isPolicjant=(
function(plr)
if (getElementData(plr, "Policja:ranga") and getElementData(plr, "Policja:sluzba")) or (getElementData(plr, "ITD:ranga") and getElementData(plr, "ITD:sluzba")) then
return true
end
return false
end
)

local isPojazdPolicji=(
function(veh)
if (getElementType(getElementParent(veh)) == "pojazdy_Policja") or (getElementType(getElementParent(veh)) == "pojazdy_ITD") then
return true
end
return false
end
)

local szukajGracza=(
function(plr, cel)
local target=nil
if not cel then
return
end
if (tonumber(cel) ~= nil) then
target=getElementByID("p"..cel)
else -- podano fragment nicku
for _,thePlayer in ipairs(getElementsByType("player")) do
if string.find(string.gsub(getPlayerName(thePlayer):lower(),"#%x%x%x%x%x%x", ""), cel:lower(), 1, true) then
if (target) then
exports["es-komunikaty"]:komunikat("Znaleziono wiecej niz jednego gracza o pasujacym nicku, podaj wiecej liter.", plr)
return nil
end
target=thePlayer
end
end
end
return target
end
)

addCommandHandler("komp",
function(plr)
if not getElementData(plr,"dbid") then
exports["es-komunikaty"]:komunikat("Najpierw si? zaloguj.",plr)
return
end
if not isPolicjant(plr) then
return
end
local veh=getPedOccupiedVehicle(plr)
if not veh then
return
end
if not isPojazdPolicji(veh) then
return
end
if not getElementData(veh,"policja:kompnatyl") then
if (getPedOccupiedVehicleSeat(plr)~=0) and (getPedOccupiedVehicleSeat(plr)~=1) then
return
end
end
triggerClientEvent(plr,"evc",resourceRoot,"wlacz_okno",true)
end
)

addEventHandler("onMarkerHit",resourceRoot,
function(plr,dim)
if not dim then
return
end
if (getElementType(plr)=="player") then
if isPedInVehicle(plr) then
return
end
local z_m=nil
for i,v in ipairs(markery) do
if (v.marker==source) then
z_m=true
end
end
if not z_m then
return
end
if not isPolicjant(plr) then
exports["es-komunikaty"]:komunikat("Nie znasz has?a.",plr)
return
end
triggerClientEvent(plr,"evc",resourceRoot,"wlacz_okno",true)
end
end
)

addEvent("ev",true)
addEventHandler("ev",resourceRoot,
function(ev,arg1,arg2,arg3)
if (ev=="wyszukaj_osobe") then
local dbid=arg1
if not dbid then
return
end
local dane=exports.DB:pobierzWyniki("SELECT nick,zarejestrowany,plec,frakcja,poszukiwany,prawko_praktyka_II,prawko_praktyka_II_A,prawko_praktyka_II_CE,pozbawiony_prawka,mandaty,data_wystawienia_mandatu,punkty_karne FROM es_gracze WHERE id=? LIMIT 1", dbid)
if not dane then
exports["es-komunikaty"]:komunikat("Gracz o takim id nie istnieje.",client)
return
end
local plec=dane.plec
if (plec==1) then
plec="m??czyzna"
else
plec="kobieta"
end
local frakcja=dane.frakcja
if not frakcja then
frakcja="brak"
end
local poszukiwany=dane.poszukiwany
if not poszukiwany then
poszukiwany="NIE"
else
poszukiwany="TAK"
end
local prawkoB=dane.prawko_praktyka_II
if not prawkoB then
prawkoB="brak"
end
local prawkoA=dane.prawko_praktyka_II_A
if not prawkoA then
prawkoA="brak"
end
local prawkoCE=dane.prawko_praktyka_II_CE
if not prawkoCE then
prawkoCE="brak"
end
local pozbawiony_prawka=dane.pozbawiony_prawka
if not pozbawiony_prawka then
pozbawiony_prawka="NIE"
else
pozbawiony_prawka=("do "..pozbawiony_prawka)
end
local mandaty=string.format("%.2fPLN",dane.mandaty/100)
local data_wystawienia_mandatu=dane.data_wystawienia_mandatu
if not data_wystawienia_mandatu then
data_wystawienia_mandatu="brak"
end
local punkty_karne=dane.punkty_karne
triggerClientEvent(client,"evc",resourceRoot,"pobierz_dane",dane.nick,dane.zarejestrowany,plec,frakcja,poszukiwany,prawkoB,prawkoA,prawkoCE,pozbawiony_prawka,mandaty,data_wystawienia_mandatu,punkty_karne)
elseif (ev=="pobierz_historie_wykroczen") then
local dbid=arg1
local dane=exports.DB:pobierzTabeleWynikow("SELECT data,nick_nadajacego FROM es_policja_wykroczenia WHERE id=?",dbid)
if dane then
if (#dane==0) then
exports["es-komunikaty"]:komunikat("Ta osoba nie posiada wykrocze?.",client)
return
end
triggerClientEvent(client,"evc",resourceRoot,"zwroc_wykroczenia",dane,4)
end
dane=nil
elseif (ev=="pobierz_dane_wykroczenie") then
local dbid=arg1
local id=arg2
local strona=arg3
local dane=nil
if (strona==4) then
dane=exports.DB:pobierzTabeleWynikow("SELECT * FROM es_policja_wykroczenia WHERE id=?",dbid)
elseif (strona==6) then
dane=exports.DB:pobierzTabeleWynikow("SELECT * FROM es_policja_wykroczenia WHERE id=? AND aktualne=?",dbid,1)
end
if dane then
local z_d=nil
for i,v in ipairs(dane) do
if (i==id) then
z_d=v
end
end
if not z_d then
return
end
triggerClientEvent(client,"evc",resourceRoot,"wyswietl_konkretne_wykroczenie",z_d.wykroczenie,z_d.data,z_d.id_nadajacego,z_d.nick_nadajacego)
dane=nil
end
elseif (ev=="pobierz_historie_aktualnych") then
local dbid=arg1
local dane=exports.DB:pobierzTabeleWynikow("SELECT * FROM es_policja_wykroczenia WHERE id=? AND aktualne=?",dbid, 1)
if (#dane==0) then
exports["es-komunikaty"]:komunikat("Ta osoba nie ma aktualnych wykrocze?.",client)
return
end
if not arg2 then
triggerClientEvent(client,"evc",resourceRoot,"zwroc_wykroczenia",dane,6)
else
triggerClientEvent(client,"evc",resourceRoot,"zwroc_wykroczenia",dane)
end
elseif (ev=="dodaj_rekord_sewik") then
exports.DB:zapytanie("INSERT es_policja_sewik SET id=?,nick=?,dane=?",getElementData(client,"dbid"),getPlayerName(client),arg1)
exports["es-komunikaty"]:komunikat("Formularz wype?niony poprawnie. Dane zosta?y wprowadzone do bazy SEWiK.",client)
exports["es-policja"]:dodajMinutyPoli(client, 5)
triggerClientEvent(client,"evc",resourceRoot,"wlacz_okno",false)
triggerClientEvent(client,"evc",resourceRoot,"unlock")
elseif (ev=="pobierz_historie_sewik") then
local dane=exports.DB:pobierzTabeleWynikow("SELECT data,nick FROM es_policja_sewik ORDER BY data DESC")
if not dane or (#dane==0) then
exports["es-komunikaty"]:komunikat("W historii nie ma ?adnego wpisu.",client)
return
end
triggerClientEvent(client,"evc",resourceRoot,"zwroc_biblioteke_sewik",dane)
dane=nil
elseif (ev=="pobierz_dany_formularz_sewik") then
local id=arg1
local dane=exports.DB:pobierzTabeleWynikow("SELECT * FROM es_policja_sewik ORDER BY data DESC")
if dane and (#dane>0) then
local z_d=nil
for i,v in ipairs(dane) do
if (i==id) then
z_d=v
end
end
if not z_d then
return
end
triggerClientEvent(client,"evc",resourceRoot,"wyswietl_konkretny_formularz",z_d.id,z_d.nick,z_d.data,z_d.dane)
dane=nil
end
elseif (ev=="znajdz_osobe_deklaracja") then
local c=arg1
local plr=szukajGracza(client,c)
if not plr then
exports["es-komunikaty"]:komunikat("Nie znaleziono gracza o podanym id/nicku.",client)
return
end
local deklaracja=getElementData(plr,"magazyn:deklaracja")
local zapelniony=getElementData(plr,"magazyn:zadanie")
triggerClientEvent(client,"evc",resourceRoot,"zwroc_deklaracje",deklaracja,zapelniony)
elseif (ev=="sprawdz_pojazd") then
local id=arg1
local dane=exports.DB:pobierzWyniki("SELECT przeglad,wlasciciel,marka,zarejestrowany FROM es_pojazdy WHERE id=? LIMIT 1", id)
if not dane then
exports["es-komunikaty"]:komunikat("Taki pojazd nie istnieje.",client)
return
end
triggerClientEvent(client,"evc",resourceRoot,"zwroc_przeglad",id,dane.marka,dane.wlasciciel,dane.zarejestrowany,dane.przeglad)
end
end
)

addEvent("ev:his",true)
addEventHandler("ev:his",resourceRoot,
function(dbid, data, nick)
local dane=exports.DB:pobierzTabeleWynikow("SELECT * FROM es_policja_wykroczenia WHERE id=? AND data=?", dbid, data)
if dane[1].aktualne == 1 then
exports.DB:zapytanie("UPDATE es_policja_wykroczenia SET aktualne=? WHERE id=? AND data=?", nil, dbid, data)
exports["es-komunikaty"]:komunikat("Wykroczenie gracza "..nick.." przeniesiono do historii.",client)
else
exports["es-komunikaty"]:komunikat("Wykroczenie gracza "..nick.." ju? jest w historii.",client)
end
end)
--addCommandHandler("komp",
-- function(plr)
-- triggerClientEvent(plr,"evc",resourceRoot,"wlacz_okno",true)
-- end
--)
--
--addCommandHandler("usun",
-- function(plr)
-- exports.DB:zapytanie("DELETE FROM es_policja_sewik WHERE data<NOW() - INTERVAL 1 MONTH")
-- end
--)

setTimer(function()
-- zapis o polnocy i w poludnie
local t=getRealTime()
if (t.hour==0) and t.minute==0 then
exports.DB:zapytanie("DELETE FROM es_policja_sewik WHERE data<NOW() - INTERVAL 1 MONTH")
end
end, 60000, 0) --


Postaw piwo autorowi tego posta
 

 
Wysłany: 2019-01-16, 15:04


Dawcio77







Wiek: 22
Na forum: 3312 dni
Posty: 89
Nick w MP: cx_u

Piwa: 136

Respekt: 35,8

Zamie? funkcj? isPolicjant na to:


local isPolicjant=( 
function(plr) 
if getElementData(plr,"player:duty") == "SAPD" then 
return true 
end 
return false 
end 


Postaw piwo autorowi tego posta
 

 
Wysłany: 2019-01-17, 21:57


karat1







Wiek: 24
Na forum: 3758 dni
Posty: 95
Nick w MP: Karatos

Piwa: 4

Respekt: 50

Ostrzeżeń: 60%
Jeszcze 1 sprawa do tego kodu bo np gui si? wy?wietla ale napis?w nie ma

Postaw piwo autorowi tego posta
 

 
Wysłany: 2019-01-17, 22:21


Wilq







Wiek: 24
Na forum: 4429 dni
Posty: 3410

Piwa: 739

Respekt: 1225,8
Respekt: 1225,8

Poka? kod tego, z czym masz problem.

Postaw piwo autorowi tego posta
 

 
Wysłany: 2019-01-17, 22:44


karat1







Wiek: 24
Na forum: 3758 dni
Posty: 95
Nick w MP: Karatos

Piwa: 4

Respekt: 50

Ostrzeżeń: 60%
"Wilq" napisał/a:

Poka? kod tego, z czym masz problem.
Kod masz u g?ry

Postaw piwo autorowi tego posta
 

 
Wysłany: 2019-01-17, 23:24


Wilq







Wiek: 24
Na forum: 4429 dni
Posty: 3410

Piwa: 739

Respekt: 1225,8
Respekt: 1225,8

W jaki spos?b ty tworzysz gui? Po stronie servera?

Postaw piwo autorowi tego posta
 

 
Wysłany: 2019-01-18, 09:47


karat1







Wiek: 24
Na forum: 3758 dni
Posty: 95
Nick w MP: Karatos

Piwa: 4

Respekt: 50

Ostrzeżeń: 60%
"Wilq" napisał/a:

W jaki spos?b ty tworzysz gui? Po stronie servera?
Skrypt nie jest moje gui jest ze skryptu Emergency Stories.Gui si? wy?wietla tylko powinny by? tam jeszcze napisy tutaj daje link do zdj?cia na kt?rym jest gui z napisami a u mnie brakuje tych napis?w https://imgur.com/a/VcoTjgZ

Postaw piwo autorowi tego posta
 

 
Wysłany: 2019-01-18, 12:27


Wilq







Wiek: 24
Na forum: 4429 dni
Posty: 3410

Piwa: 739

Respekt: 1225,8
Respekt: 1225,8

Poka? jak to wygl?da u Ciebie, kt?rych napis?w dok?adnie nie ma.

Wy?lij kod ze strony klienta, w jaki? spos?b chyba musisz te GUI tworzy?.

Postaw piwo autorowi tego posta
 

 
Wysłany: 2019-01-18, 21:07


XnoryzPL

Skrypter LUA






Wiek: 25
Na forum: 3248 dni
Posty: 44
Nick w MP: XnoryzPL

Piwa: 771

Respekt: 50

Podaje kod Clienta z Emergecy Stories Client
--if (getPlayerName(localPlayer)~="Anonimowy"then
--    return
--end

local czc=exports.czcionka:CZ()
local sx,sy=guiGetScreenSize()
local wlaczony=false
local strona=1
local blokada=false

local scroll=0
local getmax=0

local var_refresh=(
    function()
        dbid=0
        nick=""
        zarejestrowany=""
        plec=""
        frakcja=""
        poszukiwany=""
        prawkoB=""
        prawkoA=""
        prawkoCE=""
        pozbawiony_prawka=""
        mandaty=""
        data_wystawienia_mandatu=""
        punkty_karne=""
        wykroczenie=""
        data=""
        dane=""
        id_nadajacego=""
        nick_nadajacego=""
        ilosc_wykroczen=0
        deklaracja=""
        pelna=""
        marka=""
        wlasciciel=""
        przeglad=""
    end
)
var_refresh()
local str=4

local sewik1={}
sewik1.data_zgloszenia=guiCreateEdit(sx/2-250,sy/2-160,500,30,"",false)
sewik1.godzina_zgloszenia=guiCreateEdit(sx/2-250,sy/2-110,500,30,"",false)
sewik1.godzina_przyjazdu=guiCreateEdit(sx/2-250,sy/2-60,500,30,"",false)
sewik1.miasto=guiCreateEdit(sx/2-250,sy/2-10,500,30,"",false)
sewik1.dzielnica=guiCreateEdit(sx/2-250,sy/2+40,500,30,"",false)

--guiSetInputMode("no_binds_when_editing")

for i,v in pairs(sewik1) do
    guiEditSetMaxLength(v,200)
    guiSetVisible(v,false)
end

local sewik2={}
sewik2.geometria_drogi=guiCreateEdit(sx/2-250,sy/2-160,500,30,"",false)

for i,v in pairs(sewik2) do
    guiEditSetMaxLength(v,200)
    guiSetVisible(v,false)
end

local sewik11={}
sewik11.dopuszczalna_predkosc=guiCreateEdit(sx/2-250,sy/2+15,500,30,"",false)
for i,v in pairs(sewik11) do
    guiEditSetMaxLength(v,50)
    guiSetVisible(v,false)
end

local sewik13={}
sewik13.nicki=guiCreateEdit(sx/2-250,sy/2-160,500,30,"",false)
sewik13.pojazdy=guiCreateEdit(sx/2-250,sy/2-110,500,30,"",false)
sewik13.id_pojazdow=guiCreateEdit(sx/2-250,sy/2-60,500,30,"",false)
sewik13.dane_funkcjonariusza=guiCreateEdit(sx/2-250,sy/2+100,500,30,"",false)
for i,v in pairs(sewik13) do
    guiEditSetMaxLength(v,300)
    guiSetVisible(v,false)
end

local napisy_refresh=(
    function()
        napisy={
            {strona=2x=sxy=sy/2-35txt="Wpisz dbid osoby, kt?r? chcesz wyszuka?:"},
            {strona=3x=sxy=sy/2-180txt="DBID: "..dbid.."\nNick: "..nick.."\nZarejestrowany od: "..zarejestrowany.."\nP?e?: "..plec.."\nZatrudnienie we frakcji: "..frakcja.."\nStatus poszukiwanego: "..poszukiwany.."\nPrawo jazdy kat. B: "..prawkoB.."\nPrawo jazdy kat. A: "..prawkoA.."\nPrawo jazdy kat. C+E: "..prawkoCE.."\nPozbawiony prawa do jazdy: "..pozbawiony_prawka.."\nNieop?acone mandaty: "..mandaty.."\nData wystawienia ostatniego mandatu: "..data_wystawienia_mandatu.."\nPunkty karne: "..punkty_karne},
            {strona=4x=sxy=sy/2-180txt="Razem wykrocze?: "..ilosc_wykroczen},
            {strona=6x=sxy=sy/2-180txt="Razem aktualnych wykrocze?: "..ilosc_wykroczen},
            {strona=5x=sxy=sy/2-180txt="DBID: "..dbid.."\nNick: "..nick.."\nData wystawienia: "..data.."\nDBID nadaj?cego: "..id_nadajacego.."\nNick nadaj?cego: "..nick_nadajacego},
            {strona=7x=sxy=sy/2-180txt="Data zg?oszenia:"},
            {strona=7x=sxy=sy/2-130txt="Godzina zg?oszenia:"},
            {strona=7x=sxy=sy/2-80txt="Godzina przyjazdu:"},
            {strona=7x=sxy=sy/2-30txt="Miasto/miejscowo??:"},
            {strona=7x=sxy=sy/2+20txt="Dzielnica:"},
            {strona=8x=sxy=sy/2-180txt="Geometria drogi, np. odcinek prosty, zakr?t, ?uk, spadek, wzniesienie:"},
            {strona=8x=sxy=sy/2-130txt="Charakterystyka miejsca zdarzenia:"},
            {strona=9x=sxy=sy/2-180txt="Rodzaj drogi:"},
            {strona=9x=sxy=sy/2-95txt="Nawierzchnia:"},
            {strona=9x=sxy=sy/2-45txt="Oznakowanie:"},
            {strona=9x=sxy=sy/2+5txt="O?wietlenie:"},
            {strona=9x=sxy=sy/2+90txt="Obecno?? pasa?era:"},
            {strona=10x=sxy=sy/2-180txt="Warunki atmosferyczne:"},
            {strona=10x=sxy=sy/2-95txt="Zderzenie si? pojazd?w w ruchu:"},
            {strona=10x=sxy=sy/2-10txt="Najechanie na:"},
            {strona=10x=sxy=sy/2+75txt="Wywr?cenie pojazdu:"},
            {strona=11x=sxy=sy/2-180txt="Pojazdy uczestnicz?ce:"},
            {strona=11x=sxy=sy/2-5txt="Dopuszczalna pr?dko?? w miejscu zdarzenia:"},
            {strona=11x=sxy=sy/2+45txt="Rodzaj zdarzenia:"},
            {strona=12x=sxy=sy/2-180txt="Okoliczno?ci zdarzenia:"},
            {strona=13x=sxy=sy/2-180txt="Nicki uczestnik?w (po przecinku):"},
            {strona=13x=sxy=sy/2-130txt="Marki uczestnicz?cych pojazd?w (po przecinku):"},
            {strona=13x=sxy=sy/2-80txt="ID uczestnicz?cych pojazd?w (po przecinku):"},
            {strona=13x=sxy=sy/2-30txt="Rozstrzygni?cie:"},
            {strona=13x=sxy=sy/2+55txt="Dane funkcjonariusza wype?niaj?cego kart? zdarzenia:\nstopie? oraz nick:"},
            {strona=15x=sxy=sy/2-180txt="Dane autora wpisu:\nDBID: "..dbid.."\nNick: "..nick.."\n\nData wprowadzenia wpisu do systemu:\n"..data},
            {strona=16x=sxy=sy/2-35txt="ID/nick osoby, kt?rej chcesz sprawdzi? deklaracj? wywozow?:"},
            {strona=17x=sxy=sy/2-35txt="Ta osoba "..deklaracja.."\n"..pelna},
            {strona=18x=sxy=sy/2-35txt="DBID (ID) pojazdu, kt?ry chcesz sprawdzi?:"},
            {strona=19x=sxy=sy/2-35txt="ID pojazdu: "..dbid.."\nMarka: "..marka.."\nDBID w?a?ciciela: "..wlasciciel.."\nZarejestrowany: "..zarejestrowany.."\nPrzegl?d wa?ny do: "..przeglad},
        }
    end
)
napisy_refresh()

local btn_refresh=(
    function()
        btn={
            {podswietlanie=truescrlX=0clr={0,0,0}, clr_napis={255,255,255}, strona=1x=sx/2-275y=sy/2+150w=150h=30png="wyszukaj osob?"},
            {podswietlanie=truescrlX=0clr={0,0,0}, clr_napis={255,255,255}, strona=1x=sx/2-75y=sy/2+150w=150h=30png="SEWiK"},
            {podswietlanie=truescrlX=0clr={0,0,0}, clr_napis={255,255,255}, strona=1x=sx/2+125y=sy/2+115w=150h=30png="sprawd? pojazd"},
            {podswietlanie=truescrlX=0clr={0,0,0}, clr_napis={255,255,255}, strona=1x=sx/2+125y=sy/2+150w=150h=30png="zamknij"},
            {podswietlanie=truescrlX=0clr={0,0,0}, clr_napis={255,255,255}, strona=1x=sx/2-75y=sy/2+115w=150h=30png="historia SEWiK"},
            {podswietlanie=truescrlX=0clr={0,0,0}, clr_napis={255,255,255}, strona=1x=sx/2-275y=sy/2+115w=150h=30png="deklaracje tir?w"},
            {podswietlanie=truescrlX=0clr={0,0,0}, clr_napis={255,255,255}, strona=2x=sx/2+125y=sy/2+150w=150h=30png="anuluj"},
            {podswietlanie=truescrlX=0clr={0,0,0}, clr_napis={255,255,255}, strona=2x=sx/2-275y=sy/2+150w=150h=30png="wyszukaj"},
            {podswietlanie=truescrlX=0clr={0,0,0}, clr_napis={255,255,255}, strona=3x=sx/2+125y=sy/2+150w=150h=30png="wr??"},
            {podswietlanie=truescrlX=0clr={0,0,0}, clr_napis={255,255,255}, strona=3x=sx/2-275y=sy/2+150w=150h=30png="historia wykrocze?"},
            {podswietlanie=truescrlX=0clr={0,0,0}, clr_napis={255,255,255}, strona=3x=sx/2-90y=sy/2+150w=180h=30png="aktualne wykroczenia"},
            {podswietlanie=truescrlX=0clr={0,0,0}, clr_napis={255,255,255}, strona=4x=sx/2+125y=sy/2+150w=150h=30png="wr??"},
            {podswietlanie=truescrlX=0clr={0,0,0}, clr_napis={255,255,255}, strona=4x=sx/2+310y=sy/2-35w=30h=30png="&#8593;"},
            {podswietlanie=truescrlX=0clr={0,0,0}, clr_napis={255,255,255}, strona=4x=sx/2+310y=sy/2+5w=30h=30png="&#8595;"},
            {podswietlanie=truescrlX=0clr={0,0,0}, clr_napis={255,255,255}, strona=5x=sx/2+125y=sy/2+150w=150h=30png="wr??"},
            {podswietlanie=truescrlX=0clr={0,0,0}, clr_napis={255,255,255}, strona=5x=sx/2-275y=sy/2+150w=150h=30png="przenie? do historii"},
            {podswietlanie=truescrlX=0clr={0,0,0}, clr_napis={255,255,255}, strona=6x=sx/2+125y=sy/2+150w=150h=30png="wr??"},
            {podswietlanie=truescrlX=0clr={0,0,0}, clr_napis={255,255,255}, strona=6x=sx/2+310y=sy/2-35w=30h=30png="&#8593;"},
            {podswietlanie=truescrlX=0clr={0,0,0}, clr_napis={255,255,255}, strona=6x=sx/2+310y=sy/2+5w=30h=30png="&#8595;"},
            {podswietlanie=truescrlX=0clr={0,0,0}, clr_napis={255,255,255}, strona=7x=sx/2+10y=sy/2+150w=240h=30png="dalej"},
            {podswietlanie=truescrlX=0clr={0,0,0}, clr_napis={255,255,255}, strona=7x=sx/2-250y=sy/2+150w=240h=30png="wr??"},
            {podswietlanie=truescrlX=0clr={24,161,19}, clr_napis={255,255,255}, strona=7x=sx/2-250y=sy/2+90w=240h=30png="obszar zabudowany"},
            {podswietlanie=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=7x=sx/2+10y=sy/2+90w=240h=30png="obszar niezabudowany"},
            {podswietlanie=truescrlX=0clr={0,0,0}, clr_napis={255,255,255}, strona=8x=sx/2+10y=sy/2+150w=240h=30png="dalej"},
            {podswietlanie=truescrlX=0clr={0,0,0}, clr_napis={255,255,255}, strona=8x=sx/2-250y=sy/2+150w=240h=30png="wr??"},
            {podswietlanie=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=8x=sx/2-250y=sy/2-110w=240h=20png="pobocze"txt="Charakterystyka miejsca zdarzenia"},
            {podswietlanie=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=8x=sx/2-250y=sy/2-85w=240h=20png="pas dziel?cy jezdnie"},
            {podswietlanie=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=8x=sx/2-250y=sy/2-60w=240h=20png="skarpa"},
            {podswietlanie=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=8x=sx/2-250y=sy/2-35w=240h=20png="r?w"},
            {podswietlanie=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=8x=sx/2-250y=sy/2-10w=240h=20png="przej?cie dla pieszych"},
            {podswietlanie=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=8x=sx/2-250y=sy/2+15w=240h=20png="chodnik"},
            {podswietlanie=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=8x=sx/2-250y=sy/2+40w=240h=20png="pas ruchu"},
            {podswietlanie=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=8x=sx/2-250y=sy/2+65w=240h=20png="przejazd tramwajowy"},
            {podswietlanie=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=8x=sx/2-250y=sy/2+90w=240h=20png="tory"},
            {podswietlanie=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=8x=sx/2-250y=sy/2+115w=240h=20png="roboty drogowe"},
            {podswietlanie=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=8x=sx/2+10y=sy/2+115w=240h=20png="inne"},
            {podswietlanie=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=8x=sx/2+10y=sy/2-110w=240h=20png="jezdnia"},
            {podswietlanie=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=8x=sx/2+10y=sy/2-85w=240h=20png="most"},
            {podswietlanie=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=8x=sx/2+10y=sy/2-60w=240h=20png="wiadukt"},
            {podswietlanie=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=8x=sx/2+10y=sy/2-35w=240h=20png="tunel"},
            {podswietlanie=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=8x=sx/2+10y=sy/2-10w=240h=20png="parking"},
            {podswietlanie=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=8x=sx/2+10y=sy/2+15w=240h=20png="plac"},
            {podswietlanie=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=8x=sx/2+10y=sy/2+40w=240h=20png="wyjazd z posesji"},
            {podswietlanie=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=8x=sx/2+10y=sy/2+65w=240h=20png="przejazd kolejowy strze?ony"},
            {podswietlanie=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=8x=sx/2+10y=sy/2+90w=240h=20png="przejazd kolejowy niestrze?ony"},
            {podswietlanie=truescrlX=0clr={0,0,0}, clr_napis={255,255,255}, strona=9x=sx/2+10y=sy/2+150w=240h=30png="dalej"},
            {podswietlanie=truescrlX=0clr={0,0,0}, clr_napis={255,255,255}, strona=9x=sx/2-250y=sy/2+150w=240h=30png="wr??"},
            {podswietlanie=truewybor=1scrlX=0clr={24,161,19}, clr_napis={255,255,255}, strona=9x=sx/2-250y=sy/2-160w=240h=30png="autostrada"txt="Rodzaj drogi"},
            {podswietlanie=truewybor=1scrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=9x=sx/2+10y=sy/2-160w=240h=30png="jednojezdniowa dwukierunkowa"},
            {podswietlanie=truewybor=1scrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=9x=sx/2-250y=sy/2-125w=500h=30png="dwie jezdnie jednokierunkowe"},
            {podswietlanie=truewybor=2scrlX=0clr={24,161,19}, clr_napis={255,255,255}, strona=9x=sx/2-250y=sy/2-75w=240h=30png="twarda"txt="Nawierzchnia"},
            {podswietlanie=truewybor=2scrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=9x=sx/2+10y=sy/2-75w=240h=30png="gruntowa"},
            {podswietlanie=truewybor=3scrlX=0clr={24,161,19}, clr_napis={255,255,255}, strona=9x=sx/2-250y=sy/2-25w=240h=30png="jest"txt="Oznakowanie"},
            {podswietlanie=truewybor=3scrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=9x=sx/2+10y=sy/2-25w=240h=30png="nie ma"},
            {podswietlanie=truewybor=4scrlX=0clr={24,161,19}, clr_napis={255,255,255}, strona=9x=sx/2-250y=sy/2+25w=240h=30png="?wiat?o dzienne"txt="O?wietlenie"},
            {podswietlanie=truewybor=4scrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=9x=sx/2+10y=sy/2+25w=240h=30png="?wit/zmrok"},
            {podswietlanie=truewybor=4scrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=9x=sx/2-250y=sy/2+60w=240h=30png="noc, droga o?wietlona"},
            {podswietlanie=truewybor=4scrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=9x=sx/2+10y=sy/2+60w=240h=30png="noc, droga nieo?wietlona"},
            {podswietlanie=truewybor=5scrlX=0clr={24,161,19}, clr_napis={255,255,255}, strona=9x=sx/2-250y=sy/2+110w=240h=30png="tak"txt="Obecno?? pasa?era"},
            {podswietlanie=truewybor=5scrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=9x=sx/2+10y=sy/2+110w=240h=30png="nie"},
            {podswietlanie=truewybor=1scrlX=0clr={24,161,19}, clr_napis={255,255,255}, strona=10x=sx/2-250y=sy/2-160w=240h=30png="dobre warunki atmosferyczne"txt="Warunki atmosferyczne"},
            {podswietlanie=truewybor=1scrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=10x=sx/2+10y=sy/2-160w=240h=30png="pochmurno"},
            {podswietlanie=truewybor=1scrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=10x=sx/2-250y=sy/2-125w=240h=30png="opady deszczu/?niegu"},
            {podswietlanie=truewybor=1scrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=10x=sx/2+10y=sy/2-125w=240h=30png="mg?a"},
            {podswietlanie=truewybor=2scrlX=0clr={24,161,19}, clr_napis={255,255,255}, strona=10x=sx/2-250y=sy/2-75w=240h=30png="czo?owe"txt="Zderzenie si? pojazd?w w ruchu"},
            {podswietlanie=truewybor=2scrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=10x=sx/2+10y=sy/2-75w=240h=30png="boczne"},
            {podswietlanie=truewybor=2scrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=10x=sx/2-250y=sy/2-40w=240h=30png="tylne"},
            {podswietlanie=truewybor=2scrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=10x=sx/2+10y=sy/2-40w=240h=30png="nie wyst?pi?o"},
            {podswietlanie=truewybor=3scrlX=0clr={24,161,19}, clr_napis={255,255,255}, strona=10x=sx/2-250y=sy/2+10w=240h=30png="pojazd nieruchomy"txt="Najechanie na"},
            {podswietlanie=truewybor=3scrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=10x=sx/2+10y=sy/2+10w=240h=30png="drzewo/s?up"},
            {podswietlanie=truewybor=3scrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=10x=sx/2-250y=sy/2+45w=240h=30png="inne"},
            {podswietlanie=truewybor=3scrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=10x=sx/2+10y=sy/2+45w=240h=30png="nie wyst?pi?o"},
            {podswietlanie=truewybor=4scrlX=0clr={24,161,19}, clr_napis={255,255,255}, strona=10x=sx/2-250y=sy/2+95w=240h=30png="tak"txt="Wywr?cenie pojazdu"},
            {podswietlanie=truewybor=4scrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=10x=sx/2+10y=sy/2+95w=240h=30png="nie"},
            {podswietlanie=truescrlX=0clr={0,0,0}, clr_napis={255,255,255}, strona=10x=sx/2+10y=sy/2+150w=240h=30png="dalej"},
            {podswietlanie=truescrlX=0clr={0,0,0}, clr_napis={255,255,255}, strona=10x=sx/2-250y=sy/2+150w=240h=30png="wr??"},
            {podswietlanie=truewielowybor=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=11x=sx/2-250y=sy/2-160w=240h=20png="rower"txt="Pojazdy uczestnicz?ce"},
            {podswietlanie=truewielowybor=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=11x=sx/2-250y=sy/2-135w=240h=20png="motocykl"},
            {podswietlanie=truewielowybor=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=11x=sx/2-250y=sy/2-110w=240h=20png="samoch?d osobowy"},
            {podswietlanie=truewielowybor=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=11x=sx/2-250y=sy/2-85w=240h=20png="samoch?d ci??arowy"},
            {podswietlanie=truewielowybor=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=11x=sx/2-250y=sy/2-60w=240h=20png="autobus"},
            {podswietlanie=truewielowybor=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=11x=sx/2-250y=sy/2-35w=240h=20png="tramwaj"},
            {podswietlanie=truewielowybor=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=11x=sx/2+10y=sy/2-160w=240h=20png="poci?g"},
            {podswietlanie=truewielowybor=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=11x=sx/2+10y=sy/2-135w=240h=20png="statek powietrzny"},
            {podswietlanie=truewielowybor=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=11x=sx/2+10y=sy/2-110w=240h=20png="pojazd nieustalony"},
            {podswietlanie=truewielowybor=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=11x=sx/2+10y=sy/2-85w=240h=20png="pojazd uprzywilejowany Policji"},
            {podswietlanie=truewielowybor=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=11x=sx/2+10y=sy/2-60w=240h=20png="pojazd uprzywilejowany inny"},
            {podswietlanie=truewielowybor=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=11x=sx/2+10y=sy/2-35w=240h=20png="inny"},
            {podswietlanie=truewybor=1scrlX=0clr={24,161,19}, clr_napis={255,255,255}, strona=11x=sx/2-250y=sy/2+65w=240h=30png="wypadek"txt="Rodzaj zdarzenia"},
            {podswietlanie=truewybor=1scrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=11x=sx/2+10y=sy/2+65w=240h=30png="kolizja"},
            {podswietlanie=truescrlX=0clr={0,0,0}, clr_napis={255,255,255}, strona=11x=sx/2+10y=sy/2+150w=240h=30png="dalej"},
            {podswietlanie=truescrlX=0clr={0,0,0}, clr_napis={255,255,255}, strona=11x=sx/2-250y=sy/2+150w=240h=30png="wr??"},
            {podswietlanie=truewielowybor=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=12x=sx/2-250y=sy/2-160w=500h=20png="niedostosowanie pr?dko?ci do warunk?w ruchu"txt="Okoliczno?ci zdarzenia"},
            {podswietlanie=truewielowybor=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=12x=sx/2-250y=sy/2-135w=500h=20png="nieust?pienie pierwsze?stwa przejazdu"},
            {podswietlanie=truewielowybor=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=12x=sx/2-250y=sy/2-110w=500h=20png="nieprawid?owe wyprzedzanie"},
            {podswietlanie=truewielowybor=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=12x=sx/2-250y=sy/2-85w=240h=20png="nieprawid?owe omijanie"},
            {podswietlanie=truewielowybor=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=12x=sx/2+10y=sy/2-85w=240h=20png="nieprawid?owe wymijanie"},
            {podswietlanie=truewielowybor=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=12x=sx/2-250y=sy/2-60w=240h=20png="nieprawid?owe skr?canie"},
            {podswietlanie=truewielowybor=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=12x=sx/2+10y=sy/2-60w=240h=20png="nieprawid?owe zawracanie"},
            {podswietlanie=truewielowybor=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=12x=sx/2-250y=sy/2-35w=240h=20png="nieprawid?owy post?j"},
            {podswietlanie=truewielowybor=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=12x=sx/2+10y=sy/2-35w=240h=20png="nieprawid?owe zatrzymanie"},
            {podswietlanie=truewielowybor=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=12x=sx/2-250y=sy/2-10w=240h=20png="nieprawid?owe cofanie"},
            {podswietlanie=truewielowybor=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=12x=sx/2+10y=sy/2-10w=240h=20png="po?ar pojazdu"},
            {podswietlanie=truewielowybor=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=12x=sx/2-250y=sy/2+15w=500h=20png="nieprawid?owa zmiana pasa ruchu"},
            {podswietlanie=truewielowybor=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=12x=sx/2-250y=sy/2+40w=500h=20png="nieprzestrzeganie znak?w i innych sygna??w"},
            {podswietlanie=truewielowybor=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=12x=sx/2-250y=sy/2+65w=500h=20png="niezachowanie bezpiecznej odleg?o?ci mi?dzy pojazdami"},
            {podswietlanie=truewielowybor=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=12x=sx/2-250y=sy/2+90w=240h=20png="gwa?towne hamowanie"},
            {podswietlanie=truewielowybor=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=12x=sx/2+10y=sy/2+90w=240h=20png="jazda bez wymaganych ?wiate?"},
            {podswietlanie=truewielowybor=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=12x=sx/2-250y=sy/2+115w=240h=20png="niesprawno?? techniczna pojazdu"},
            {podswietlanie=truewielowybor=truescrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=12x=sx/2+10y=sy/2+115w=240h=20png="inne/nieustalone"},
            {podswietlanie=truescrlX=0clr={0,0,0}, clr_napis={255,255,255}, strona=12x=sx/2+10y=sy/2+150w=240h=30png="dalej"},
            {podswietlanie=truescrlX=0clr={0,0,0}, clr_napis={255,255,255}, strona=12x=sx/2-250y=sy/2+150w=240h=30png="wr??"},
            {podswietlanie=truewybor=1scrlX=0clr={24,161,19}, clr_napis={255,255,255}, strona=13x=sx/2-250y=sy/2-10w=240h=30png="mandat karny"txt="Rozstrzygni?cie"},
            {podswietlanie=truewybor=1scrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=13x=sx/2+10y=sy/2-10w=240h=30png="pouczenie"},
            {podswietlanie=truewybor=1scrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=13x=sx/2-250y=sy/2+25w=240h=30png="areszt"},
            {podswietlanie=truewybor=1scrlX=0clr={161,19,19}, clr_napis={255,255,255}, strona=13x=sx/2+10y=sy/2+25w=240h=30png="inny spos?b"},
            {podswietlanie=truescrlX=0clr={0,0,0}, clr_napis={255,255,255}, strona=13x=sx/2+10y=sy/2+150w=240h=30png="zako?cz"},
            {podswietlanie=truescrlX=0clr={0,0,0}, clr_napis={255,255,255}, strona=13x=sx/2-250y=sy/2+150w=240h=30png="wr??"},
            {podswietlanie=truescrlX=0clr={0,0,0}, clr_napis={255,255,255}, strona=14x=sx/2+310y=sy/2-35w=30h=30png="&#8593;"},
            {podswietlanie=truescrlX=0clr={0,0,0}, clr_napis={255,255,255}, strona=14x=sx/2+310y=sy/2+5w=30h=30png="&#8595;"},
            {podswietlanie=truescrlX=0clr={0,0,0}, clr_napis={255,255,255}, strona=14x=sx/2+125y=sy/2+150w=150h=30png="wr??"},
            {podswietlanie=truescrlX=0clr={0,0,0}, clr_napis={255,255,255}, strona=15x=sx/2+125y=sy/2+150w=150h=30png="wr??"},
            {podswietlanie=truescrlX=0clr={0,0,0}, clr_napis={255,255,255}, strona=16x=sx/2-275y=sy/2+150w=150h=30png="wyszukaj"},
            {podswietlanie=truescrlX=0clr={0,0,0}, clr_napis={255,255,255}, strona=16x=sx/2+125y=sy/2+150w=150h=30png="anuluj"},
            {podswietlanie=truescrlX=0clr={0,0,0}, clr_napis={255,255,255}, strona=17x=sx/2+125y=sy/2+150w=150h=30png="wr??"},
            {podswietlanie=truescrlX=0clr={0,0,0}, clr_napis={255,255,255}, strona=18x=sx/2-275y=sy/2+150w=150h=30png="sprawd?"},
            {podswietlanie=truescrlX=0clr={0,0,0}, clr_napis={255,255,255}, strona=18x=sx/2+125y=sy/2+150w=150h=30png="anuluj"},
            {podswietlanie=truescrlX=0clr={0,0,0}, clr_napis={255,255,255}, strona=19x=sx/2+125y=sy/2+150w=150h=30png="wr??"},
        }
--[Dane funkcjonariusza wype?niaj?cego kartzdarzenia]
--Stopieoraz nick
        getmax=0
        scroll=0
    end
)
btn_refresh()


local osoba=guiCreateEdit(sx/2-100,sy/2-15,200,30,"",false)
guiSetVisible(osoba,false)
local memo=guiCreateMemo(sx/2-275,sy/2-50,550,145,"",false)
guiMemoSetReadOnly(memo,true)
guiSetVisible(memo,false)

local memosewik=guiCreateMemo(sx/2-275,sy/2-50,550,180,"",false)
guiMemoSetReadOnly(memosewik,true)
guiSetVisible(memosewik,false)

local recX,recY,recX2,recY2=sx/2-300,sy/2-200,600,400

--local scrlX=0

local dxdraw=(
    function()
        local kxky getCursorPosition()
    kx kx*sx
    ky ky*sy
        
        --dxDrawRectangle(recX,recY,recX2,recY2tocolor(155,155,155,255)) --stary kolor ?rodka
        dxDrawRectangle(recX,recY,recX2,recY2tocolor(20,20,20,255))
        
        for i=0,90 do
            rrz2=math.rad(i)
            px=recX+recX2 - (50 math.sin(-rrz2))
            py=recY+50 - (50 math.cos(-rrz2))
            pw=py-recY
            rrz3=math.rad(i+180)
            py2=recY+50+(recY2-100) - (50 math.cos(-rrz3))
            pw2=recY+50+(recY2-100)
            px3=recX - (-50 math.sin(-rrz2))
            dxDrawRectangle(pxpy1, (recY2-50-pw)+(py2-pw2), tocolor(10,10,10,255))
            --dxDrawRectangle(pxpy1, (recY2-50-pw)+(py2-pw2), tocolor(64,64,64,255)) --stary kolor
            dxDrawRectangle(px3py1, (recY2-50-pw)+(py2-pw2), tocolor(10,10,10,255))
            --dxDrawRectangle(px3py1, (recY2-50-pw)+(py2-pw2), tocolor(64,64,64,255)) --stary kolor
        end
        
        if (strona==1then
            --dxDrawImage(sx/2-217,sy/2-200,434,300,"logo.png") --stare logo
            dxDrawImage(sx/2-167,sy/2-150,334,200,"logo.png")
        end
        
        for i,v in ipairs(btn) do
            if (strona==v.stronathen
                if not v.alpha then
                    v.alpha=155
                end
                if v.id then
                    scr=scroll
                else
                    scr=0
                end
                if (kx >= v.x-(v.scrlX/2)) and (kx <= v.x+v.w+v.scrlX/2) and (ky >= v.y+scr) and (ky <= v.y+scr+v.hthen
                    if v.alpha<255 then
                        v.alpha=v.alpha+5
                    end
                    if v.scrlX<20 then
                        v.scrlX=v.scrlX+5
                    end
                else
                    if v.alpha>155 then
                        v.alpha=v.alpha-5
                    end
                    if v.scrlX>0 then
                        v.scrlX=v.scrlX-5
                    end
                end
                if v.id then
                    if (v.y+scroll+v.h+35<recY+recY2) and (v.y+scroll-35>recYthen
                        --dxDrawImage(v.xv.yv.wv.h"i/"..v.png..".png"000tocolor(255255255alpha))
                        dxDrawRectangle(v.x-(v.scrlX/2), v.y+scrollv.w+v.scrlXv.htocolor(v.clr[1] or 0v.clr[2] or 0v.clr[3] or 0v.alpha))
                        dxDrawText(v.pngv.xv.y+scrollv.x+v.wv.y+v.h+scrolltocolor(v.clr_napis[1] or 255,v.clr_napis[2] or 255,v.clr_napis[3] or 255,255), 1czc"center""center")
                    end
                else
                    --dxDrawImage(v.xv.yv.wv.h"i/"..v.png..".png"000tocolor(255255255alpha))
                    dxDrawRectangle(v.x-(v.scrlX/2), v.yv.w+v.scrlXv.htocolor(v.clr[1] or 0v.clr[2] or 0v.clr[3] or 0v.alpha))
                    dxDrawText(v.pngv.xv.yv.x+v.wv.y+v.htocolor(v.clr_napis[1] or 255,v.clr_napis[2] or 255,v.clr_napis[3] or 255,255), 1czc"center""center")
                end
            else
                if v.scrlX>0 then
                    v.scrlX=0
                    v.alpha=155
                end
            end
        end
            --if guiGetInputEnabled() then
        for i,v in ipairs(napisy) do
            if (strona==v.stronathen
                dxDrawText(v.txtv.x+2v.y+200tocolor(000255), 1czc"center")
                dxDrawText(v.txtv.xv.y00tocolor(255255255255), 1czc"center")
            end
        end
    end
)

--addEventHandler("onClientRender"rootdxdraw)
--wlaczony=true
--showCursor(true)

function table.invert(tbl)
    local rv = {}
    for key,val in pairs(tbl) do
        rv[val] = key
    end
    return rv
end

addEvent("evc"true)
addEventHandler("evc"resourceRoot,
    function(ev,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12)
        if (ev=="wlacz_okno"then
            if arg1 then
                if wlaczony then
                    return
                end
                addEventHandler("onClientRender"rootdxdraw)
                wlaczony=true
                showCursor(true)
                setElementData(localPlayer"3dtext_status"false)
                guiSetInputMode("no_binds_when_editing")
            elseif not arg1 then
                removeEventHandler("onClientRender"rootdxdraw)
                wlaczony=false
                showCursor(false)
                strona=1
                btn_refresh()
                var_refresh()
                napisy_refresh()
                setElementData(localPlayer"3dtext_status"true)
            end
        elseif (ev=="pobierz_dane"then
            nick=arg1
            zarejestrowany=arg2
            plec=arg3
            frakcja=arg4
            poszukiwany=arg5
            prawkoB=arg6
            prawkoA=arg7
            prawkoCE=arg8
            pozbawiony_prawka=arg9
            mandaty=arg10
            data_wystawienia_mandatu=arg11
            punkty_karne=arg12
            napisy_refresh()
            strona=3
        elseif (ev=="zwroc_wykroczenia"then
            local dane=arg1
            str=arg2
            for i,v in ipairs(dane) do
                table.insert(btn,{podswietlanie=truescrlX=0clr={0,0,0}, clr_napis={255,255,255}, strona=strx=sx/2-275y=sy/2-165+(i*35), w=550h=30png=(v.data.." nada?: "..v.nick_nadajacego), id=i})
            end
            --outputChatBox(#dane)
            ilosc_wykroczen=#dane
            napisy_refresh()
            for i,v in ipairs(btn) do
                if v.y>getmax then
                    if v.id then
                        if (v.strona==strthen
                            if (v.y+v.h>=recY+recY2then
                                getmax=getmax+35
                            end
                        end
                    end
                end
            end
            strona=str                
        elseif (ev=="wyswietl_konkretne_wykroczenie"then
            wykroczenie=arg1
            data=arg2
            id_nadajacego=arg3
            nick_nadajacego=arg4
            napisy_refresh()
            strona=5
            guiSetVisible(memo,true)
            guiSetText(memo,wykroczenie)
        elseif (ev=="zwroc_biblioteke_sewik"then
            dane=arg1
            --dane=table.invert(dane)
            for i,v in ipairs(dane) do
                table.insert(btn,{podswietlanie=truescrlX=0clr={0,0,0}, clr_napis={255,255,255}, strona=14x=sx/2-275y=sy/2-165+(i*35), w=550h=30png=(v.data.." stworzy?/a: "..v.nick), id=i})
            end
            for i,v in ipairs(btn) do
                if v.y>getmax then
                    if v.id then
                        if (v.strona==14then
                            if (v.y+v.h>=recY+recY2then
                                getmax=getmax+35
                            end
                        end
                    end
                end
            end
            strona=14
        elseif (ev=="wyswietl_konkretny_formularz"then
            dbid=arg1
            nick=arg2
            data=arg3
            dane=arg4
            napisy_refresh()
            guiSetText(memosewik,dane)
            guiSetVisible(memosewik,true)
            strona=15
        elseif (ev=="zwroc_deklaracje"then
            deklaracja=arg1
            if deklaracja then
                deklaracja="posiada deklaracj? wywozow?."
            else
                deklaracja="nie posiada deklaracji wywozowej."
            end
            pelna=arg2
            if pelna then
                pelna="Naczepa tej osoby jest zape?niona - wiezie towar."
            else
                pelna="Naczepa tej osoby jest pusta."
            end
            napisy_refresh()
            guiSetText(osoba,"")
            guiSetVisible(osoba,false)
            strona=17
            var_refresh()
        elseif (ev=="zwroc_przeglad"then
            dbid=arg1
            marka=arg2
            wlasciciel=arg3
            zarejestrowany=arg4
            przeglad=arg5
            napisy_refresh()
            strona=19
            guiSetText(osoba,"")
            guiSetVisible(osoba,false)
            var_refresh()
        elseif (ev=="unlock"then
            blokada=false
        end
    end
)


Postaw piwo autorowi tego posta
 

 
Wysłany: 2019-03-19, 18:11


CloakeR

Leniwiec






Wiek: 22
Na forum: 3092 dni
Posty: 26
Nick w MP: CloakeR

Piwa: 3

Respekt: 60,5

Kod:

local czc=exports.czcionka:CZ()

Wpierw to wgraj skrypt odpowiedzialny za font, b?d? u?yj funkcji dxCreateFont i stw?rz w?asny font kt?ry potem skrypt wykorzysta.
Jak i nast?pnym razem sprawdzaj b??dy w DS3, tam powiniene? dosta? informacje o nie w??czonym skrypcie "czcionka".

Postaw piwo autorowi tego posta
 

 
Tagi: ems-frakcja
Anonymous





Na forum: 245 dni
Posty: 1



Anonymous Koniecznie zajrzyj na:






Skocz do:  
Wyświetl posty z ostatnich:   
GTAONLINE.PL » JĘZYKI PROGRAMOWANIA » LUA Ten temat jest zablokowany bez możliwości zmiany postów lub pisania odpowiedzi

Nie możesz pisać nowych tematów
Nie możesz odpowiadać w tematach
Nie możesz zmieniać swoich postów
Nie możesz usuwać swoich postów
Nie możesz głosować w ankietach
Dodaj temat do Ulubionych
Wersja do druku