Garry's Mod Wiki

Revision Difference

Vehicle:GetPassenger#512362

<function name="GetPassenger" parent="Vehicle" type="classfunc">⤶ <description>Gets the passenger of the vehicle, returns NULL if no drivers is present.</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>⤶ ⤶