Hi!
This is not script-request section, we can't send you done scripts.
But you can do it yourself.
Whats you need: onPlayerVehicleEnter, addCommandHandler, outputChatBox
You can detect if someone enter to a vehicle with onPlayerVehicleEnter event, and then save player's name to a table for example.
And you need a command, what loop trough your table and print player names out to the chat.