MCPcopy Create free account
hub / github.com/ValveSoftware/source-sdk-2013 / SetPassenger

Method SetPassenger

src/game/server/vehicle_baseserver.cpp:443–499  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: Get and set the current driver. Use PassengerRole_t enum in shareddefs.h for adding passengers -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

LeaveVehicleMethod · 0.80
GetInVehicleMethod · 0.80
LeaveVehicleMethod · 0.80

Calls 13

AssertFunction · 0.85
UTIL_RemoveFunction · 0.85
SetViewOffsetMethod · 0.80
ShowCrosshairMethod · 0.80
ToBasePlayerFunction · 0.70
IsPlayerMethod · 0.45
EnterVehicleMethod · 0.45
IsSprintingMethod · 0.45
StopSprintingMethod · 0.45
FlashlightIsOnMethod · 0.45
FlashlightTurnOffMethod · 0.45
ExitVehicleMethod · 0.45

Tested by

no test coverage detected