Facepunch / garrysmod-requests

Feature requests for Garry's Mod
85 stars 24 forks source link

Vehicle->GetPassengerRole( Player ) or Player->GetPassengerRole() #759

Closed Kefta closed 8 years ago

Kefta commented 8 years ago

There's currently no way to retrieve which passenger number a player holds.

Jvs34 commented 8 years ago

Does it matter? We don't have any c++ vehicles supporting more than 1 player at any time so I doubt these functions would be useful at all.

Kefta commented 8 years ago

Jalopy has a passenger: http://half-life.wikia.com/wiki/Muscle_Car

Jvs34 commented 8 years ago

Players can't make use of that, alyx is hardcoded to get in the seat.

Kefta commented 8 years ago

Oh, I was under the impression it was usable by all CombatCharacter entities. Well that really sucks, but I guess this isn't needed, then.