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

Function UTIL_GetLocalPlayer

src/game/server/util.cpp:581–598  ·  view source on GitHub ↗

Return the local player. If this is a multiplayer game, return NULL.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

ShouldRemoveThisRagdollFunction · 0.85
UpdateMethod · 0.85
VScriptRunScriptFunction · 0.85
Event_EntityKilledMethod · 0.85
CalcPlayerAttacksFunction · 0.85
OnKillEventMethod · 0.85
LaunchByTargetMethod · 0.85
LaunchByDirectionMethod · 0.85
Event_EntityKilledMethod · 0.85
Event_EntityKilledMethod · 0.85
SaveThinkMethod · 0.85

Calls 4

AssertFunction · 0.85
WarningFunction · 0.85
UTIL_PlayerByIndexFunction · 0.70
GetBoolMethod · 0.45

Tested by 3

MoveToRandomSpotFunction · 0.68
TestPositionMethod · 0.68