Garry's Mod Wiki

Revision Difference

Vehicle:GetPassenger#524916

<function name="GetPassenger" parent="Vehicle" type="classfunc"> <description>Gets the passenger of the vehicle, returns NULL if no drivers is present.</description>⤶ <description>Gets the passenger of the vehicle, returns NULL if no drivers is present.<note>Shared in next update</note>⤶ ⤶ </description>⤶ <realm>Server</realm> <args> <arg name="passenger" type="number">The index of the passenger</arg> </args> <rets> <ret name="" type="Entity">The passenger</ret> </rets> </function>