MCPcopy Create free account
hub / github.com/alliedmodders/sourcemod / GetGamePlayer

Method GetGamePlayer

core/PlayerManager.cpp:1449–1453  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1447}
1448
1449IGamePlayer *PlayerManager::GetGamePlayer(edict_t *pEdict)
1450{
1451 int index = IndexOfEdict(pEdict);
1452 return GetGamePlayer(index);
1453}
1454
1455IGamePlayer *PlayerManager::GetGamePlayer(int client)
1456{

Callers 15

GetClientLanguageMethod · 0.80
IsClientInVotePoolFunction · 0.80
RedrawClientVoteMenuFunction · 0.80
InternalShowMenuFunction · 0.80
InvalidateAdminCacheMethod · 0.80
BanClientFunction · 0.80
sm_PrintToConsoleFunction · 0.80
sm_ClientCommandFunction · 0.80
FakeClientCommandFunction · 0.80
ReplyToCommandFunction · 0.80
ProcessCommandTargetMethod · 0.80

Calls 1

IndexOfEdictFunction · 0.85

Tested by

no test coverage detected