I zobacz jeszcze jak dodasz coś takiegoo [lua] function ustaw(b,s) if b ~= "left" then return outputChatBox("Tylko lewy myszy") end if s ~= "down" then return outputChatBox("Tylko jak naciskam") end if source ~= button then return -end print("step1") local veh = getPedOccupiedVehicle(localPlayer) if not veh then outputChatBox("Nie jesteś w pojeździe!") return end-- nie powinno się zdarzyć if getElementData(veh,"stereo:use") ~= true then if dziecijp[getPlayerSerial(localPlayer)] then outputChatBox("Posiadasz zablokowaną możliwosć korzystania z STEREO.",255,255,255) return end setElementData(veh,"stereo:link",DGS:dgsGetText(link)) setElementData(veh,"stereo:use", true) DGS:dgsSetText(button,"WYŁĄCZ RADIO") else if dziecijp[getPlayerSerial(localPlayer)] then outputChatBox("Posiadasz zablokowaną możliwosć korzystania z STEREO.",255,255,255) return end setElementData(veh,"stereo:use", false) DGS:dgsSetText(button,"WŁĄCZ RADIO (PODAJ LINK DO MP3/PLS/M3U)") end end addEventHandler ( "onDgsMouseClick", root, ustaw ) [/lua]