I think like this
Hydra =
{
createVehicle ( 520, 1526.5999755859, 2877.1000976563, 13.89999961853, 0, 0, 90 )
createVehicle ( 520, x, y, z, 0, 0, 90 )
}
function hydralock(player, seat, jacked)
local level = tonumber ( getElementData ( player, "level" ) or 0 )
if (source == Hydra) then
if (seat == 0) then
if (level <= 7) then
cancelEvent()
outputChatBox ( "To enter this hydra you need to be level 7 and higher", player, 255, 0, 0, true )
end
end
end
end
addEventHandler ( "onVehicleStartEnter", Hydra, hydralock)
Just replace the x, y, z with the position.