Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $On Ship Collision:
- [
- if hv.Player:isValid() then
- str_nameofship = tostring(hv.Ship)
- str_nameofself = tostring(hv.Self)
- str_nameofobject = tostring(hv.Object)
- str_objectbreed = hv.Object:getBreedName()
- str_shipbreed = hv.Ship:getBreedName()
- if (hv.Object == hv.Player and str_shipbreed == "Ship") or ( str_objectbreed == "Ship" and hv.Ship == hv.Player) then
- hv.Player:kill(hv.Ship)
- end
- end
- ]
Advertisement
Add Comment
Please, Sign In to add comment