Garry's Mod Wiki

Revision Difference

Vehicle:GetDriver#528139

<function name="GetDriver" parent="Vehicle" type="classfunc"> <description>Gets the driver of the vehicle, returns NULL if no driver is present.</description> <note>Shared in next update</note>⤶ <description>Gets the driver of the vehicle, returns `NULL` if no driver is present.</description> <realm>Shared</realm> <rets> <ret name="" type="Entity">The driver of the vehicle</ret>⤶ <ret name="" type="Entity">The driver of the vehicle.</ret>⤶ </rets> </function>