Garry's Mod Wiki

Revision Difference

Player:GetVehicle#563361

<function name="GetVehicle" parent="Player" type="classfunc"> <description>Gets the vehicle the player is driving, returns NULL ENTITY if the player is not driving.</description> <description>Returns the vehicle the player is driving.</description> <realm>Shared</realm> <rets> <ret name="" type="Vehicle">vehicle</ret>⤶ <ret name="" type="Vehicle">The vehicle the player is currently driving, if any.⤶ ⤶ Returns <page>NULL</page> entity if the player is not driving.⤶ </ret>⤶ </rets> </function>