Garry's Mod Wiki

Revision Difference

GM:PlayerEnteredVehicle#511109

<function name="PlayerEnteredVehicle" parent="GM" type="hook">⤶ <ishook>yes</ishook>⤶ <description>⤶ Called when a player enters a vehicle.⤶ ⤶ Called just after <page>GM:CanPlayerEnterVehicle</page>.⤶ ⤶ See also <page>GM:PlayerLeaveVehicle</page>.⤶ </description>⤶ <realm>Server</realm>⤶ <predicted>No</predicted>⤶ <args>⤶ <arg name="ply" type="Player">Player who entered vehicle</arg>⤶ <arg name="veh" type="Vehicle">Vehicle the player entered</arg>⤶ <arg name="role" type="number"></arg>⤶ </args>⤶ </function>⤶ ⤶