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

Method GetUserId

core/PlayerManager.cpp:2604–2612  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2602}
2603
2604int CPlayer::GetUserId()
2605{
2606 if (m_UserId == -1)
2607 {
2608 m_UserId = engine->GetPlayerUserId(GetEdict());
2609 }
2610
2611 return m_UserId;
2612}
2613
2614bool CPlayer::IsInKickQueue()
2615{

Callers 8

OnClientConnectMethod · 0.80
ProcessDelayedKicksMethod · 0.80
BanClientFunction · 0.80
GetClientUserIdFunction · 0.80
KickClientFunction · 0.80
UpdateClientRootMethod · 0.80
SetAttackerMethod · 0.80

Calls 1

GetEdictFunction · 0.70

Tested by

no test coverage detected