Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.
GTAONLINE.PL
Tematy otagowane jako: światla
1. Światla pojazdu
Witam co tutaj jest nie tak ? lampy nie swieca ale klikajac L jest ze zapalam i gasze jednoczesnie ....

addEvent("uruchomSwiatla"true)
addEventHandler("uruchomSwiatla"root, function(plr)
    
local pojazd getPedOccupiedVehicle(plr)
    if 
pojazd and getVehicleController(pojazd) == plr then
        
if getVehicleOverrideLights(pojazd) ~= 2 then
            setVehicleOverrideLights
(pojazd2)
            
outputChatBox("* Uruchomi?e?/a? ?wiat?a."plr)
        else
            
setVehicleOverrideLights(pojazd1)
            
outputChatBox("* Zgasi?e?/a? ?wiat?a."plr)
        
end
    end
end
)


C


bindKey
("l""down", function(keykeyState)
    
triggerServerEvent("uruchomSwiatla"resourceRootlocalPlayer)
end)