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: unbindkey
1. unbindKey
Da si? jako? odbindowa? funkcje 'enter_exit' tylko i wylacznie z entera.. probowalem normalnym unbindKey(arg...), toggleControl ale nic nie pomaga :D
2. UnbindKey
Siemanko :) Zrobi mi kto? do tego unbind ? W sensie, ?e jak nie siedz? w tym aucie co jest wy?ej napisane to klawisz si? unbinduje. Pr?bowa?em sam na r??ne sposoby, ale nie da?em rady :( Za pomoc oczywi?cie :piwo:


auta 
= { [426] = true }

addEventHandler("onPlayerVehicleEnter"root, function(pojazd)
    if 
auta[getElementModel(pojazd)] then
    bindKey
(source"4""down"dzwieksource)
    
end
end
)


function 
dzwiek(gracz)
    
local veh getPedOccupiedVehicle(gracz)
    
triggerClientEvent("onPlaySound3D",root,veh)
end