-- Made with ðŸ–¤ By Bad
-- https://github.com/Bad57/ragP

AddEvent("OnPlayerStartExitVehicle", function(vehicle)
    if not GetVehiclePropertyValue(vehicle, "locked") then
        local currentspeed = GetVehicleForwardSpeed(vehicle)
        CallRemoteEvent("RagdollPlayer", currentspeed,vehicle)
     end
end)
