urg, didn't see that bit, thought I saw something on a loop in there
also, may not work for passengers, forgot to test how to get what vehicle they're in
edit: use %p.getObjectMount();, it works for both driver and passengers (still returns 0 for not mounted, or can use %p.isMounted();)