Sory ?e tak d?ugo nie mai?em czasu ale dla wszystkich daje gotowy tego kod
--------------------------------------------------------------------------------------------------
helikoptery = { [552]=true,[487]=true } -- id helikopter?w
function blokada ( player,seat )
local id = getElementModel(source)
if ( helikoptery[getElementModel(source)] ) and seat == 0 then
if getElementData(player,"L.Pilota") == false then
setVehicleLocked ( source, true )
outputChatBox("Nie Posiadasz Licencji [Pilota]",player,198,0,0)
else
setVehicleLocked ( source, false )
end
end
end
addEventHandler("onVehicleStartEnter", getRootElement(), blokada)
Nie możesz pisać nowych tematów Nie możesz odpowiadać w tematach Nie możesz zmieniać swoich postów Nie możesz usuwać swoich postów Nie możesz głosować w ankietach