Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local prCrashIDs = {[432] = true, [512] = true}
- function _vehicleStartExit (pl)
- if prCrashIDs[getElementModel(source)] then
- -- no thx
- cancelEvent ()
- removePedFromVehicle (pl)
- local x, y, z = getElementPosition (pl)
- setElementPosition (pl, x, y, z + 3)
- end
- end
- addEventHandler ('onVehicleStartExit', root, _vehicleStartExit)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement