Garry's Mod Wiki

Revision Difference

Vehicle:GetPassenger#526348

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