function tajmer7()
if not zdjecie6 then return end
if isPedInVehicle(uzytkownik) then
guiSetVisible(zdjecie6, true)
else
guiSetVisible(zdjecie6, false)
end
end
addEventHandler("onClientRender",root,tajmer7)
function tajmer8()
if not zdjecie7 then return end
if isPedInVehicle(uzytkownik) then
guiSetVisible(zdjecie7, true)
else
guiSetVisible(zdjecie7, false)
end
end
addEventHandler("onClientRender",root,tajmer8)
JAK MA WYGLADAC:
local xddd = {zdj1,zdj2} -- jak zrobi? liste kt?ra by sie wpasowywa?a ni?ej te warto?ci
function tajmer7()
if not xddd then return end
if isPedInVehicle(uzytkownik) then
guiSetVisible(xddd, true)
else
guiSetVisible(xddd, false)
end
end
addEventHandler("onClientRender",root,tajmer7)
[/code]