Wysłany: 2019-01-16, 00:11
karat1
Wiek: 24 Na forum: 3759 dni Posty: 95
Nick w MP: Karatos
Piwa : 4
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) --
Wysłany: 2019-01-16, 15:04
Dawcio77
Wiek: 22 Na forum: 3312 dni Posty: 89
Nick w MP: cx_u
Piwa : 136
Zamie? funkcj? isPolicjant na to:
local isPolicjant =(
function( plr )
if getElementData ( plr , "player:duty" ) == "SAPD" then
return true
end
return false
end
)
Wysłany: 2019-01-17, 21:57
karat1
Wiek: 24 Na forum: 3759 dni Posty: 95
Nick w MP: Karatos
Piwa : 4
Jeszcze 1 sprawa do tego kodu bo np gui si? wy?wietla ale napis?w nie ma
Wysłany: 2019-01-17, 22:21
Wilq
Wiek: 24 Na forum: 4429 dni Posty: 3410
Piwa : 739
Poka? kod tego, z czym masz problem.
Wysłany: 2019-01-17, 22:44
karat1
Wiek: 24 Na forum: 3759 dni Posty: 95
Nick w MP: Karatos
Piwa : 4
"Wilq" napisał/a :Poka? kod tego, z czym masz problem.
Kod masz u g?ry
Wysłany: 2019-01-17, 23:24
Wilq
Wiek: 24 Na forum: 4429 dni Posty: 3410
Piwa : 739
W jaki spos?b ty tworzysz gui? Po stronie servera?
Wysłany: 2019-01-18, 09:47
karat1
Wiek: 24 Na forum: 3759 dni Posty: 95
Nick w MP: Karatos
Piwa : 4
"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
Wysłany: 2019-01-18, 12:27
Wilq
Wiek: 24 Na forum: 4429 dni Posty: 3410
Piwa : 739
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?.
Wysłany: 2019-01-18, 21:07
XnoryzPL
Skrypter LUA
Wiek: 25 Na forum: 3248 dni Posty: 44
Nick w MP: XnoryzPL
Piwa : 771
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 = 2 , x = sx , y = sy / 2 - 35 , txt = "Wpisz dbid osoby, kt?r? chcesz wyszuka?:" },
{ strona = 3 , x = sx , y = sy / 2 - 180 , txt = "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 = 4 , x = sx , y = sy / 2 - 180 , txt = "Razem wykrocze?: " .. ilosc_wykroczen },
{ strona = 6 , x = sx , y = sy / 2 - 180 , txt = "Razem aktualnych wykrocze?: " .. ilosc_wykroczen },
{ strona = 5 , x = sx , y = sy / 2 - 180 , txt = "DBID: " .. dbid .. "\nNick: " .. nick .. "\nData wystawienia: " .. data .. "\nDBID nadaj?cego: " .. id_nadajacego .. "\nNick nadaj?cego: " .. nick_nadajacego },
{ strona = 7 , x = sx , y = sy / 2 - 180 , txt = "Data zg?oszenia:" },
{ strona = 7 , x = sx , y = sy / 2 - 130 , txt = "Godzina zg?oszenia:" },
{ strona = 7 , x = sx , y = sy / 2 - 80 , txt = "Godzina przyjazdu:" },
{ strona = 7 , x = sx , y = sy / 2 - 30 , txt = "Miasto/miejscowo??:" },
{ strona = 7 , x = sx , y = sy / 2 + 20 , txt = "Dzielnica:" },
{ strona = 8 , x = sx , y = sy / 2 - 180 , txt = "Geometria drogi, np. odcinek prosty, zakr?t, ?uk, spadek, wzniesienie:" },
{ strona = 8 , x = sx , y = sy / 2 - 130 , txt = "Charakterystyka miejsca zdarzenia:" },
{ strona = 9 , x = sx , y = sy / 2 - 180 , txt = "Rodzaj drogi:" },
{ strona = 9 , x = sx , y = sy / 2 - 95 , txt = "Nawierzchnia:" },
{ strona = 9 , x = sx , y = sy / 2 - 45 , txt = "Oznakowanie:" },
{ strona = 9 , x = sx , y = sy / 2 + 5 , txt = "O?wietlenie:" },
{ strona = 9 , x = sx , y = sy / 2 + 90 , txt = "Obecno?? pasa?era:" },
{ strona = 10 , x = sx , y = sy / 2 - 180 , txt = "Warunki atmosferyczne:" },
{ strona = 10 , x = sx , y = sy / 2 - 95 , txt = "Zderzenie si? pojazd?w w ruchu:" },
{ strona = 10 , x = sx , y = sy / 2 - 10 , txt = "Najechanie na:" },
{ strona = 10 , x = sx , y = sy / 2 + 75 , txt = "Wywr?cenie pojazdu:" },
{ strona = 11 , x = sx , y = sy / 2 - 180 , txt = "Pojazdy uczestnicz?ce:" },
{ strona = 11 , x = sx , y = sy / 2 - 5 , txt = "Dopuszczalna pr?dko?? w miejscu zdarzenia:" },
{ strona = 11 , x = sx , y = sy / 2 + 45 , txt = "Rodzaj zdarzenia:" },
{ strona = 12 , x = sx , y = sy / 2 - 180 , txt = "Okoliczno?ci zdarzenia:" },
{ strona = 13 , x = sx , y = sy / 2 - 180 , txt = "Nicki uczestnik?w (po przecinku):" },
{ strona = 13 , x = sx , y = sy / 2 - 130 , txt = "Marki uczestnicz?cych pojazd?w (po przecinku):" },
{ strona = 13 , x = sx , y = sy / 2 - 80 , txt = "ID uczestnicz?cych pojazd?w (po przecinku):" },
{ strona = 13 , x = sx , y = sy / 2 - 30 , txt = "Rozstrzygni?cie:" },
{ strona = 13 , x = sx , y = sy / 2 + 55 , txt = "Dane funkcjonariusza wype?niaj?cego kart? zdarzenia:\nstopie? oraz nick:" },
{ strona = 15 , x = sx , y = sy / 2 - 180 , txt = "Dane autora wpisu:\nDBID: " .. dbid .. "\nNick: " .. nick .. "\n\nData wprowadzenia wpisu do systemu:\n" .. data },
{ strona = 16 , x = sx , y = sy / 2 - 35 , txt = "ID/nick osoby, kt?rej chcesz sprawdzi? deklaracj? wywozow?:" },
{ strona = 17 , x = sx , y = sy / 2 - 35 , txt = "Ta osoba " .. deklaracja .. "\n" .. pelna },
{ strona = 18 , x = sx , y = sy / 2 - 35 , txt = "DBID (ID) pojazdu, kt?ry chcesz sprawdzi?:" },
{ strona = 19 , x = sx , y = sy / 2 - 35 , txt = "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 = true , scrlX = 0 , clr ={ 0 , 0 , 0 }, clr_napis ={ 255 , 255 , 255 }, strona = 1 , x = sx / 2 - 275 , y = sy / 2 + 150 , w = 150 , h = 30 , png = "wyszukaj osob?" },
{ podswietlanie = true , scrlX = 0 , clr ={ 0 , 0 , 0 }, clr_napis ={ 255 , 255 , 255 }, strona = 1 , x = sx / 2 - 75 , y = sy / 2 + 150 , w = 150 , h = 30 , png = "SEWiK" },
{ podswietlanie = true , scrlX = 0 , clr ={ 0 , 0 , 0 }, clr_napis ={ 255 , 255 , 255 }, strona = 1 , x = sx / 2 + 125 , y = sy / 2 + 115 , w = 150 , h = 30 , png = "sprawd? pojazd" },
{ podswietlanie = true , scrlX = 0 , clr ={ 0 , 0 , 0 }, clr_napis ={ 255 , 255 , 255 }, strona = 1 , x = sx / 2 + 125 , y = sy / 2 + 150 , w = 150 , h = 30 , png = "zamknij" },
{ podswietlanie = true , scrlX = 0 , clr ={ 0 , 0 , 0 }, clr_napis ={ 255 , 255 , 255 }, strona = 1 , x = sx / 2 - 75 , y = sy / 2 + 115 , w = 150 , h = 30 , png = "historia SEWiK" },
{ podswietlanie = true , scrlX = 0 , clr ={ 0 , 0 , 0 }, clr_napis ={ 255 , 255 , 255 }, strona = 1 , x = sx / 2 - 275 , y = sy / 2 + 115 , w = 150 , h = 30 , png = "deklaracje tir?w" },
{ podswietlanie = true , scrlX = 0 , clr ={ 0 , 0 , 0 }, clr_napis ={ 255 , 255 , 255 }, strona = 2 , x = sx / 2 + 125 , y = sy / 2 + 150 , w = 150 , h = 30 , png = "anuluj" },
{ podswietlanie = true , scrlX = 0 , clr ={ 0 , 0 , 0 }, clr_napis ={ 255 , 255 , 255 }, strona = 2 , x = sx / 2 - 275 , y = sy / 2 + 150 , w = 150 , h = 30 , png = "wyszukaj" },
{ podswietlanie = true , scrlX = 0 , clr ={ 0 , 0 , 0 }, clr_napis ={ 255 , 255 , 255 }, strona = 3 , x = sx / 2 + 125 , y = sy / 2 + 150 , w = 150 , h = 30 , png = "wr??" },
{ podswietlanie = true , scrlX = 0 , clr ={ 0 , 0 , 0 }, clr_napis ={ 255 , 255 , 255 }, strona = 3 , x = sx / 2 - 275 , y = sy / 2 + 150 , w = 150 , h = 30 , png = "historia wykrocze?" },
{ podswietlanie = true , scrlX = 0 , clr ={ 0 , 0 , 0 }, clr_napis ={ 255 , 255 , 255 }, strona = 3 , x = sx / 2 - 90 , y = sy / 2 + 150 , w = 180 , h = 30 , png = "aktualne wykroczenia" },
{ podswietlanie = true , scrlX = 0 , clr ={ 0 , 0 , 0 }, clr_napis ={ 255 , 255 , 255 }, strona = 4 , x = sx / 2 + 125 , y = sy / 2 + 150 , w = 150 , h = 30 , png = "wr??" },
{ podswietlanie = true , scrlX = 0 , clr ={ 0 , 0 , 0 }, clr_napis ={ 255 , 255 , 255 }, strona = 4 , x = sx / 2 + 310 , y = sy / 2 - 35 , w = 30 , h = 30 , png = "↑" },
{ podswietlanie = true , scrlX = 0 , clr ={ 0 , 0 , 0 }, clr_napis ={ 255 , 255 , 255 }, strona = 4 , x = sx / 2 + 310 , y = sy / 2 + 5 , w = 30 , h = 30 , png = "↓" },
{ podswietlanie = true , scrlX = 0 , clr ={ 0 , 0 , 0 }, clr_napis ={ 255 , 255 , 255 }, strona = 5 , x = sx / 2 + 125 , y = sy / 2 + 150 , w = 150 , h = 30 , png = "wr??" },
{ podswietlanie = true , scrlX = 0 , clr ={ 0 , 0 , 0 }, clr_napis ={ 255 , 255 , 255 }, strona = 5 , x = sx / 2 - 275 , y = sy / 2 + 150 , w = 150 , h = 30 , png = "przenie? do historii" },
{ podswietlanie = true , scrlX = 0 , clr ={ 0 , 0 , 0 }, clr_napis ={ 255 , 255 , 255 }, strona = 6 , x = sx / 2 + 125 , y = sy / 2 + 150 , w = 150 , h = 30 , png = "wr??" },
{ podswietlanie = true , scrlX = 0 , clr ={ 0 , 0 , 0 }, clr_napis ={ 255 , 255 , 255 }, strona = 6 , x = sx / 2 + 310 , y = sy / 2 - 35 , w = 30 , h = 30 , png = "↑" },
{ podswietlanie = true , scrlX = 0 , clr ={ 0 , 0 , 0 }, clr_napis ={ 255 , 255 , 255 }, strona = 6 , x = sx / 2 + 310 , y = sy / 2 + 5 , w = 30 , h = 30 , png = "↓" },
{ podswietlanie = true , scrlX = 0 , clr ={ 0 , 0 , 0 }, clr_napis ={ 255 , 255 , 255 }, strona = 7 , x = sx / 2 + 10 , y = sy / 2 + 150 , w = 240 , h = 30 , png = "dalej" },
{ podswietlanie = true , scrlX = 0 , clr ={ 0 , 0 , 0 }, clr_napis ={ 255 , 255 , 255 }, strona = 7 , x = sx / 2 - 250 , y = sy / 2 + 150 , w = 240 , h = 30 , png = "wr??" },
{ podswietlanie = true , scrlX = 0 , clr ={ 24 , 161 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 7 , x = sx / 2 - 250 , y = sy / 2 + 90 , w = 240 , h = 30 , png = "obszar zabudowany" },
{ podswietlanie = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 7 , x = sx / 2 + 10 , y = sy / 2 + 90 , w = 240 , h = 30 , png = "obszar niezabudowany" },
{ podswietlanie = true , scrlX = 0 , clr ={ 0 , 0 , 0 }, clr_napis ={ 255 , 255 , 255 }, strona = 8 , x = sx / 2 + 10 , y = sy / 2 + 150 , w = 240 , h = 30 , png = "dalej" },
{ podswietlanie = true , scrlX = 0 , clr ={ 0 , 0 , 0 }, clr_napis ={ 255 , 255 , 255 }, strona = 8 , x = sx / 2 - 250 , y = sy / 2 + 150 , w = 240 , h = 30 , png = "wr??" },
{ podswietlanie = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 8 , x = sx / 2 - 250 , y = sy / 2 - 110 , w = 240 , h = 20 , png = "pobocze" , txt = "Charakterystyka miejsca zdarzenia" },
{ podswietlanie = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 8 , x = sx / 2 - 250 , y = sy / 2 - 85 , w = 240 , h = 20 , png = "pas dziel?cy jezdnie" },
{ podswietlanie = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 8 , x = sx / 2 - 250 , y = sy / 2 - 60 , w = 240 , h = 20 , png = "skarpa" },
{ podswietlanie = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 8 , x = sx / 2 - 250 , y = sy / 2 - 35 , w = 240 , h = 20 , png = "r?w" },
{ podswietlanie = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 8 , x = sx / 2 - 250 , y = sy / 2 - 10 , w = 240 , h = 20 , png = "przej?cie dla pieszych" },
{ podswietlanie = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 8 , x = sx / 2 - 250 , y = sy / 2 + 15 , w = 240 , h = 20 , png = "chodnik" },
{ podswietlanie = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 8 , x = sx / 2 - 250 , y = sy / 2 + 40 , w = 240 , h = 20 , png = "pas ruchu" },
{ podswietlanie = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 8 , x = sx / 2 - 250 , y = sy / 2 + 65 , w = 240 , h = 20 , png = "przejazd tramwajowy" },
{ podswietlanie = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 8 , x = sx / 2 - 250 , y = sy / 2 + 90 , w = 240 , h = 20 , png = "tory" },
{ podswietlanie = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 8 , x = sx / 2 - 250 , y = sy / 2 + 115 , w = 240 , h = 20 , png = "roboty drogowe" },
{ podswietlanie = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 8 , x = sx / 2 + 10 , y = sy / 2 + 115 , w = 240 , h = 20 , png = "inne" },
{ podswietlanie = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 8 , x = sx / 2 + 10 , y = sy / 2 - 110 , w = 240 , h = 20 , png = "jezdnia" },
{ podswietlanie = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 8 , x = sx / 2 + 10 , y = sy / 2 - 85 , w = 240 , h = 20 , png = "most" },
{ podswietlanie = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 8 , x = sx / 2 + 10 , y = sy / 2 - 60 , w = 240 , h = 20 , png = "wiadukt" },
{ podswietlanie = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 8 , x = sx / 2 + 10 , y = sy / 2 - 35 , w = 240 , h = 20 , png = "tunel" },
{ podswietlanie = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 8 , x = sx / 2 + 10 , y = sy / 2 - 10 , w = 240 , h = 20 , png = "parking" },
{ podswietlanie = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 8 , x = sx / 2 + 10 , y = sy / 2 + 15 , w = 240 , h = 20 , png = "plac" },
{ podswietlanie = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 8 , x = sx / 2 + 10 , y = sy / 2 + 40 , w = 240 , h = 20 , png = "wyjazd z posesji" },
{ podswietlanie = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 8 , x = sx / 2 + 10 , y = sy / 2 + 65 , w = 240 , h = 20 , png = "przejazd kolejowy strze?ony" },
{ podswietlanie = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 8 , x = sx / 2 + 10 , y = sy / 2 + 90 , w = 240 , h = 20 , png = "przejazd kolejowy niestrze?ony" },
{ podswietlanie = true , scrlX = 0 , clr ={ 0 , 0 , 0 }, clr_napis ={ 255 , 255 , 255 }, strona = 9 , x = sx / 2 + 10 , y = sy / 2 + 150 , w = 240 , h = 30 , png = "dalej" },
{ podswietlanie = true , scrlX = 0 , clr ={ 0 , 0 , 0 }, clr_napis ={ 255 , 255 , 255 }, strona = 9 , x = sx / 2 - 250 , y = sy / 2 + 150 , w = 240 , h = 30 , png = "wr??" },
{ podswietlanie = true , wybor = 1 , scrlX = 0 , clr ={ 24 , 161 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 9 , x = sx / 2 - 250 , y = sy / 2 - 160 , w = 240 , h = 30 , png = "autostrada" , txt = "Rodzaj drogi" },
{ podswietlanie = true , wybor = 1 , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 9 , x = sx / 2 + 10 , y = sy / 2 - 160 , w = 240 , h = 30 , png = "jednojezdniowa dwukierunkowa" },
{ podswietlanie = true , wybor = 1 , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 9 , x = sx / 2 - 250 , y = sy / 2 - 125 , w = 500 , h = 30 , png = "dwie jezdnie jednokierunkowe" },
{ podswietlanie = true , wybor = 2 , scrlX = 0 , clr ={ 24 , 161 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 9 , x = sx / 2 - 250 , y = sy / 2 - 75 , w = 240 , h = 30 , png = "twarda" , txt = "Nawierzchnia" },
{ podswietlanie = true , wybor = 2 , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 9 , x = sx / 2 + 10 , y = sy / 2 - 75 , w = 240 , h = 30 , png = "gruntowa" },
{ podswietlanie = true , wybor = 3 , scrlX = 0 , clr ={ 24 , 161 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 9 , x = sx / 2 - 250 , y = sy / 2 - 25 , w = 240 , h = 30 , png = "jest" , txt = "Oznakowanie" },
{ podswietlanie = true , wybor = 3 , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 9 , x = sx / 2 + 10 , y = sy / 2 - 25 , w = 240 , h = 30 , png = "nie ma" },
{ podswietlanie = true , wybor = 4 , scrlX = 0 , clr ={ 24 , 161 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 9 , x = sx / 2 - 250 , y = sy / 2 + 25 , w = 240 , h = 30 , png = "?wiat?o dzienne" , txt = "O?wietlenie" },
{ podswietlanie = true , wybor = 4 , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 9 , x = sx / 2 + 10 , y = sy / 2 + 25 , w = 240 , h = 30 , png = "?wit/zmrok" },
{ podswietlanie = true , wybor = 4 , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 9 , x = sx / 2 - 250 , y = sy / 2 + 60 , w = 240 , h = 30 , png = "noc, droga o?wietlona" },
{ podswietlanie = true , wybor = 4 , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 9 , x = sx / 2 + 10 , y = sy / 2 + 60 , w = 240 , h = 30 , png = "noc, droga nieo?wietlona" },
{ podswietlanie = true , wybor = 5 , scrlX = 0 , clr ={ 24 , 161 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 9 , x = sx / 2 - 250 , y = sy / 2 + 110 , w = 240 , h = 30 , png = "tak" , txt = "Obecno?? pasa?era" },
{ podswietlanie = true , wybor = 5 , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 9 , x = sx / 2 + 10 , y = sy / 2 + 110 , w = 240 , h = 30 , png = "nie" },
{ podswietlanie = true , wybor = 1 , scrlX = 0 , clr ={ 24 , 161 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 10 , x = sx / 2 - 250 , y = sy / 2 - 160 , w = 240 , h = 30 , png = "dobre warunki atmosferyczne" , txt = "Warunki atmosferyczne" },
{ podswietlanie = true , wybor = 1 , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 10 , x = sx / 2 + 10 , y = sy / 2 - 160 , w = 240 , h = 30 , png = "pochmurno" },
{ podswietlanie = true , wybor = 1 , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 10 , x = sx / 2 - 250 , y = sy / 2 - 125 , w = 240 , h = 30 , png = "opady deszczu/?niegu" },
{ podswietlanie = true , wybor = 1 , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 10 , x = sx / 2 + 10 , y = sy / 2 - 125 , w = 240 , h = 30 , png = "mg?a" },
{ podswietlanie = true , wybor = 2 , scrlX = 0 , clr ={ 24 , 161 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 10 , x = sx / 2 - 250 , y = sy / 2 - 75 , w = 240 , h = 30 , png = "czo?owe" , txt = "Zderzenie si? pojazd?w w ruchu" },
{ podswietlanie = true , wybor = 2 , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 10 , x = sx / 2 + 10 , y = sy / 2 - 75 , w = 240 , h = 30 , png = "boczne" },
{ podswietlanie = true , wybor = 2 , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 10 , x = sx / 2 - 250 , y = sy / 2 - 40 , w = 240 , h = 30 , png = "tylne" },
{ podswietlanie = true , wybor = 2 , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 10 , x = sx / 2 + 10 , y = sy / 2 - 40 , w = 240 , h = 30 , png = "nie wyst?pi?o" },
{ podswietlanie = true , wybor = 3 , scrlX = 0 , clr ={ 24 , 161 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 10 , x = sx / 2 - 250 , y = sy / 2 + 10 , w = 240 , h = 30 , png = "pojazd nieruchomy" , txt = "Najechanie na" },
{ podswietlanie = true , wybor = 3 , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 10 , x = sx / 2 + 10 , y = sy / 2 + 10 , w = 240 , h = 30 , png = "drzewo/s?up" },
{ podswietlanie = true , wybor = 3 , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 10 , x = sx / 2 - 250 , y = sy / 2 + 45 , w = 240 , h = 30 , png = "inne" },
{ podswietlanie = true , wybor = 3 , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 10 , x = sx / 2 + 10 , y = sy / 2 + 45 , w = 240 , h = 30 , png = "nie wyst?pi?o" },
{ podswietlanie = true , wybor = 4 , scrlX = 0 , clr ={ 24 , 161 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 10 , x = sx / 2 - 250 , y = sy / 2 + 95 , w = 240 , h = 30 , png = "tak" , txt = "Wywr?cenie pojazdu" },
{ podswietlanie = true , wybor = 4 , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 10 , x = sx / 2 + 10 , y = sy / 2 + 95 , w = 240 , h = 30 , png = "nie" },
{ podswietlanie = true , scrlX = 0 , clr ={ 0 , 0 , 0 }, clr_napis ={ 255 , 255 , 255 }, strona = 10 , x = sx / 2 + 10 , y = sy / 2 + 150 , w = 240 , h = 30 , png = "dalej" },
{ podswietlanie = true , scrlX = 0 , clr ={ 0 , 0 , 0 }, clr_napis ={ 255 , 255 , 255 }, strona = 10 , x = sx / 2 - 250 , y = sy / 2 + 150 , w = 240 , h = 30 , png = "wr??" },
{ podswietlanie = true , wielowybor = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 11 , x = sx / 2 - 250 , y = sy / 2 - 160 , w = 240 , h = 20 , png = "rower" , txt = "Pojazdy uczestnicz?ce" },
{ podswietlanie = true , wielowybor = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 11 , x = sx / 2 - 250 , y = sy / 2 - 135 , w = 240 , h = 20 , png = "motocykl" },
{ podswietlanie = true , wielowybor = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 11 , x = sx / 2 - 250 , y = sy / 2 - 110 , w = 240 , h = 20 , png = "samoch?d osobowy" },
{ podswietlanie = true , wielowybor = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 11 , x = sx / 2 - 250 , y = sy / 2 - 85 , w = 240 , h = 20 , png = "samoch?d ci??arowy" },
{ podswietlanie = true , wielowybor = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 11 , x = sx / 2 - 250 , y = sy / 2 - 60 , w = 240 , h = 20 , png = "autobus" },
{ podswietlanie = true , wielowybor = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 11 , x = sx / 2 - 250 , y = sy / 2 - 35 , w = 240 , h = 20 , png = "tramwaj" },
{ podswietlanie = true , wielowybor = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 11 , x = sx / 2 + 10 , y = sy / 2 - 160 , w = 240 , h = 20 , png = "poci?g" },
{ podswietlanie = true , wielowybor = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 11 , x = sx / 2 + 10 , y = sy / 2 - 135 , w = 240 , h = 20 , png = "statek powietrzny" },
{ podswietlanie = true , wielowybor = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 11 , x = sx / 2 + 10 , y = sy / 2 - 110 , w = 240 , h = 20 , png = "pojazd nieustalony" },
{ podswietlanie = true , wielowybor = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 11 , x = sx / 2 + 10 , y = sy / 2 - 85 , w = 240 , h = 20 , png = "pojazd uprzywilejowany Policji" },
{ podswietlanie = true , wielowybor = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 11 , x = sx / 2 + 10 , y = sy / 2 - 60 , w = 240 , h = 20 , png = "pojazd uprzywilejowany inny" },
{ podswietlanie = true , wielowybor = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 11 , x = sx / 2 + 10 , y = sy / 2 - 35 , w = 240 , h = 20 , png = "inny" },
{ podswietlanie = true , wybor = 1 , scrlX = 0 , clr ={ 24 , 161 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 11 , x = sx / 2 - 250 , y = sy / 2 + 65 , w = 240 , h = 30 , png = "wypadek" , txt = "Rodzaj zdarzenia" },
{ podswietlanie = true , wybor = 1 , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 11 , x = sx / 2 + 10 , y = sy / 2 + 65 , w = 240 , h = 30 , png = "kolizja" },
{ podswietlanie = true , scrlX = 0 , clr ={ 0 , 0 , 0 }, clr_napis ={ 255 , 255 , 255 }, strona = 11 , x = sx / 2 + 10 , y = sy / 2 + 150 , w = 240 , h = 30 , png = "dalej" },
{ podswietlanie = true , scrlX = 0 , clr ={ 0 , 0 , 0 }, clr_napis ={ 255 , 255 , 255 }, strona = 11 , x = sx / 2 - 250 , y = sy / 2 + 150 , w = 240 , h = 30 , png = "wr??" },
{ podswietlanie = true , wielowybor = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 12 , x = sx / 2 - 250 , y = sy / 2 - 160 , w = 500 , h = 20 , png = "niedostosowanie pr?dko?ci do warunk?w ruchu" , txt = "Okoliczno?ci zdarzenia" },
{ podswietlanie = true , wielowybor = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 12 , x = sx / 2 - 250 , y = sy / 2 - 135 , w = 500 , h = 20 , png = "nieust?pienie pierwsze?stwa przejazdu" },
{ podswietlanie = true , wielowybor = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 12 , x = sx / 2 - 250 , y = sy / 2 - 110 , w = 500 , h = 20 , png = "nieprawid?owe wyprzedzanie" },
{ podswietlanie = true , wielowybor = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 12 , x = sx / 2 - 250 , y = sy / 2 - 85 , w = 240 , h = 20 , png = "nieprawid?owe omijanie" },
{ podswietlanie = true , wielowybor = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 12 , x = sx / 2 + 10 , y = sy / 2 - 85 , w = 240 , h = 20 , png = "nieprawid?owe wymijanie" },
{ podswietlanie = true , wielowybor = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 12 , x = sx / 2 - 250 , y = sy / 2 - 60 , w = 240 , h = 20 , png = "nieprawid?owe skr?canie" },
{ podswietlanie = true , wielowybor = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 12 , x = sx / 2 + 10 , y = sy / 2 - 60 , w = 240 , h = 20 , png = "nieprawid?owe zawracanie" },
{ podswietlanie = true , wielowybor = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 12 , x = sx / 2 - 250 , y = sy / 2 - 35 , w = 240 , h = 20 , png = "nieprawid?owy post?j" },
{ podswietlanie = true , wielowybor = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 12 , x = sx / 2 + 10 , y = sy / 2 - 35 , w = 240 , h = 20 , png = "nieprawid?owe zatrzymanie" },
{ podswietlanie = true , wielowybor = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 12 , x = sx / 2 - 250 , y = sy / 2 - 10 , w = 240 , h = 20 , png = "nieprawid?owe cofanie" },
{ podswietlanie = true , wielowybor = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 12 , x = sx / 2 + 10 , y = sy / 2 - 10 , w = 240 , h = 20 , png = "po?ar pojazdu" },
{ podswietlanie = true , wielowybor = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 12 , x = sx / 2 - 250 , y = sy / 2 + 15 , w = 500 , h = 20 , png = "nieprawid?owa zmiana pasa ruchu" },
{ podswietlanie = true , wielowybor = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 12 , x = sx / 2 - 250 , y = sy / 2 + 40 , w = 500 , h = 20 , png = "nieprzestrzeganie znak?w i innych sygna??w" },
{ podswietlanie = true , wielowybor = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 12 , x = sx / 2 - 250 , y = sy / 2 + 65 , w = 500 , h = 20 , png = "niezachowanie bezpiecznej odleg?o?ci mi?dzy pojazdami" },
{ podswietlanie = true , wielowybor = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 12 , x = sx / 2 - 250 , y = sy / 2 + 90 , w = 240 , h = 20 , png = "gwa?towne hamowanie" },
{ podswietlanie = true , wielowybor = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 12 , x = sx / 2 + 10 , y = sy / 2 + 90 , w = 240 , h = 20 , png = "jazda bez wymaganych ?wiate?" },
{ podswietlanie = true , wielowybor = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 12 , x = sx / 2 - 250 , y = sy / 2 + 115 , w = 240 , h = 20 , png = "niesprawno?? techniczna pojazdu" },
{ podswietlanie = true , wielowybor = true , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 12 , x = sx / 2 + 10 , y = sy / 2 + 115 , w = 240 , h = 20 , png = "inne/nieustalone" },
{ podswietlanie = true , scrlX = 0 , clr ={ 0 , 0 , 0 }, clr_napis ={ 255 , 255 , 255 }, strona = 12 , x = sx / 2 + 10 , y = sy / 2 + 150 , w = 240 , h = 30 , png = "dalej" },
{ podswietlanie = true , scrlX = 0 , clr ={ 0 , 0 , 0 }, clr_napis ={ 255 , 255 , 255 }, strona = 12 , x = sx / 2 - 250 , y = sy / 2 + 150 , w = 240 , h = 30 , png = "wr??" },
{ podswietlanie = true , wybor = 1 , scrlX = 0 , clr ={ 24 , 161 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 13 , x = sx / 2 - 250 , y = sy / 2 - 10 , w = 240 , h = 30 , png = "mandat karny" , txt = "Rozstrzygni?cie" },
{ podswietlanie = true , wybor = 1 , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 13 , x = sx / 2 + 10 , y = sy / 2 - 10 , w = 240 , h = 30 , png = "pouczenie" },
{ podswietlanie = true , wybor = 1 , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 13 , x = sx / 2 - 250 , y = sy / 2 + 25 , w = 240 , h = 30 , png = "areszt" },
{ podswietlanie = true , wybor = 1 , scrlX = 0 , clr ={ 161 , 19 , 19 }, clr_napis ={ 255 , 255 , 255 }, strona = 13 , x = sx / 2 + 10 , y = sy / 2 + 25 , w = 240 , h = 30 , png = "inny spos?b" },
{ podswietlanie = true , scrlX = 0 , clr ={ 0 , 0 , 0 }, clr_napis ={ 255 , 255 , 255 }, strona = 13 , x = sx / 2 + 10 , y = sy / 2 + 150 , w = 240 , h = 30 , png = "zako?cz" },
{ podswietlanie = true , scrlX = 0 , clr ={ 0 , 0 , 0 }, clr_napis ={ 255 , 255 , 255 }, strona = 13 , x = sx / 2 - 250 , y = sy / 2 + 150 , w = 240 , h = 30 , png = "wr??" },
{ podswietlanie = true , scrlX = 0 , clr ={ 0 , 0 , 0 }, clr_napis ={ 255 , 255 , 255 }, strona = 14 , x = sx / 2 + 310 , y = sy / 2 - 35 , w = 30 , h = 30 , png = "↑" },
{ podswietlanie = true , scrlX = 0 , clr ={ 0 , 0 , 0 }, clr_napis ={ 255 , 255 , 255 }, strona = 14 , x = sx / 2 + 310 , y = sy / 2 + 5 , w = 30 , h = 30 , png = "↓" },
{ podswietlanie = true , scrlX = 0 , clr ={ 0 , 0 , 0 }, clr_napis ={ 255 , 255 , 255 }, strona = 14 , x = sx / 2 + 125 , y = sy / 2 + 150 , w = 150 , h = 30 , png = "wr??" },
{ podswietlanie = true , scrlX = 0 , clr ={ 0 , 0 , 0 }, clr_napis ={ 255 , 255 , 255 }, strona = 15 , x = sx / 2 + 125 , y = sy / 2 + 150 , w = 150 , h = 30 , png = "wr??" },
{ podswietlanie = true , scrlX = 0 , clr ={ 0 , 0 , 0 }, clr_napis ={ 255 , 255 , 255 }, strona = 16 , x = sx / 2 - 275 , y = sy / 2 + 150 , w = 150 , h = 30 , png = "wyszukaj" },
{ podswietlanie = true , scrlX = 0 , clr ={ 0 , 0 , 0 }, clr_napis ={ 255 , 255 , 255 }, strona = 16 , x = sx / 2 + 125 , y = sy / 2 + 150 , w = 150 , h = 30 , png = "anuluj" },
{ podswietlanie = true , scrlX = 0 , clr ={ 0 , 0 , 0 }, clr_napis ={ 255 , 255 , 255 }, strona = 17 , x = sx / 2 + 125 , y = sy / 2 + 150 , w = 150 , h = 30 , png = "wr??" },
{ podswietlanie = true , scrlX = 0 , clr ={ 0 , 0 , 0 }, clr_napis ={ 255 , 255 , 255 }, strona = 18 , x = sx / 2 - 275 , y = sy / 2 + 150 , w = 150 , h = 30 , png = "sprawd?" },
{ podswietlanie = true , scrlX = 0 , clr ={ 0 , 0 , 0 }, clr_napis ={ 255 , 255 , 255 }, strona = 18 , x = sx / 2 + 125 , y = sy / 2 + 150 , w = 150 , h = 30 , png = "anuluj" },
{ podswietlanie = true , scrlX = 0 , clr ={ 0 , 0 , 0 }, clr_napis ={ 255 , 255 , 255 }, strona = 19 , x = sx / 2 + 125 , y = sy / 2 + 150 , w = 150 , h = 30 , png = "wr??" },
}
--[ Dane funkcjonariusza wype ? niaj ? cego kart ? zdarzenia ]
-- Stopie ? oraz 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 kx , ky = getCursorPosition ()
kx = kx * sx
ky = ky * sy
-- dxDrawRectangle ( recX , recY , recX2 , recY2 , tocolor ( 155 , 155 , 155 , 255 )) -- stary kolor ? rodka
dxDrawRectangle ( recX , recY , recX2 , recY2 , tocolor ( 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 ( px , py , 1 , ( recY2 - 50 - pw )+( py2 - pw2 ), tocolor ( 10 , 10 , 10 , 255 ))
-- dxDrawRectangle ( px , py , 1 , ( recY2 - 50 - pw )+( py2 - pw2 ), tocolor ( 64 , 64 , 64 , 255 )) -- stary kolor
dxDrawRectangle ( px3 , py , 1 , ( recY2 - 50 - pw )+( py2 - pw2 ), tocolor ( 10 , 10 , 10 , 255 ))
-- dxDrawRectangle ( px3 , py , 1 , ( recY2 - 50 - pw )+( py2 - pw2 ), tocolor ( 64 , 64 , 64 , 255 )) -- stary kolor
end
if ( strona == 1 ) then
-- 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 . strona ) then
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 . h ) then
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 > recY ) then
-- dxDrawImage ( v . x , v . y , v . w , v . h , "i/" .. v . png .. ".png" , 0 , 0 , 0 , tocolor ( 255 , 255 , 255 , alpha ))
dxDrawRectangle ( v . x -( v . scrlX / 2 ), v . y + scroll , v . w + v . scrlX , v . h , tocolor ( v . clr [ 1 ] or 0 , v . clr [ 2 ] or 0 , v . clr [ 3 ] or 0 , v . alpha ))
dxDrawText ( v . png , v . x , v . y + scroll , v . x + v . w , v . y + v . h + scroll , tocolor ( v . clr_napis [ 1 ] or 255 , v . clr_napis [ 2 ] or 255 , v . clr_napis [ 3 ] or 255 , 255 ), 1 , czc , "center" , "center" )
end
else
-- dxDrawImage ( v . x , v . y , v . w , v . h , "i/" .. v . png .. ".png" , 0 , 0 , 0 , tocolor ( 255 , 255 , 255 , alpha ))
dxDrawRectangle ( v . x -( v . scrlX / 2 ), v . y , v . w + v . scrlX , v . h , tocolor ( v . clr [ 1 ] or 0 , v . clr [ 2 ] or 0 , v . clr [ 3 ] or 0 , v . alpha ))
dxDrawText ( v . png , v . x , v . y , v . x + v . w , v . y + v . h , tocolor ( v . clr_napis [ 1 ] or 255 , v . clr_napis [ 2 ] or 255 , v . clr_napis [ 3 ] or 255 , 255 ), 1 , czc , "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 . strona ) then
dxDrawText ( v . txt , v . x + 2 , v . y + 2 , 0 , 0 , tocolor ( 0 , 0 , 0 , 255 ), 1 , czc , "center" )
dxDrawText ( v . txt , v . x , v . y , 0 , 0 , tocolor ( 255 , 255 , 255 , 255 ), 1 , czc , "center" )
end
end
end
)
-- addEventHandler ( "onClientRender" , root , dxdraw )
-- 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" , root , dxdraw )
wlaczony = true
showCursor ( true )
setElementData ( localPlayer , "3dtext_status" , false )
guiSetInputMode ( "no_binds_when_editing" )
elseif not arg1 then
removeEventHandler ( "onClientRender" , root , dxdraw )
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 = true , scrlX = 0 , clr ={ 0 , 0 , 0 }, clr_napis ={ 255 , 255 , 255 }, strona = str , x = sx / 2 - 275 , y = sy / 2 - 165 +( i * 35 ), w = 550 , h = 30 , png =( 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 == str ) then
if ( v . y + v . h >= recY + recY2 ) then
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 = true , scrlX = 0 , clr ={ 0 , 0 , 0 }, clr_napis ={ 255 , 255 , 255 }, strona = 14 , x = sx / 2 - 275 , y = sy / 2 - 165 +( i * 35 ), w = 550 , h = 30 , png =( 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 == 14 ) then
if ( v . y + v . h >= recY + recY2 ) then
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
)
Wysłany: 2019-03-19, 18:11
CloakeR
Leniwiec
Wiek: 22 Na forum: 3092 dni Posty: 26
Nick w MP: CloakeR
Piwa : 3
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".
Tagi: ems-frakcja
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: