Garry's Mod Wiki

GM:PlayerEnteredVehicle

  GM:PlayerEnteredVehicle( Player ply, Vehicle veh, number role )

Description

Called when a player enters a vehicle.

Called just after GM:CanPlayerEnterVehicle.

See also GM:PlayerLeaveVehicle.

Arguments

1 Player ply
Player who entered vehicle.
2 Vehicle veh
Vehicle the player entered.
3 number role
The seat number.