Really have no idea what's preventing this thing from working. It should at least teleport the remote player out of the car. As for now, maybe try changing remote_player to "#PLAYER2#" (for example: vehicle_exit_teleport("#PLAYER2#"), except the second line? This might be a blind shot* but my absolute lack of experience in coop doesn't pay offEDIT: Just spent some time testing this, and sadly it doesn't seem to work at all. I reset the keybinds several times, and the rest of the keybinds work, but nothing happened with this one and we didn't even get any of the sandboxplus messages. Then I tried removing all the IF conditions and testing some parts of the code manually, but I still couldn't make it to work as intended. For example, if both players are in a car (regardless of who's driving), the "Players swapped their seats - remote player is driving now" code only teleports the local player out of the car and produces the popup message.
It's hardcored. As for now, there's no way to affect cars that aren't driven by players or followers (to affect by Sandbox+, of course).Is there perhaps a function that can simply seat the player on the closest car's the passenger's seat regardless of the driver's seat's occupied/empty status? Or stuff like this is all hardcoded?
* - first I mistyped that as "blond shot" and now I can't get this song out of my head (sorry for such random OT).