Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
2604
int CPlayer::GetUserId()
2605
{
2606
if (m_UserId == -1)
2607
{
2608
m_UserId = engine->GetPlayerUserId(GetEdict());
2609
}
2610
2611
return m_UserId;
2612
}
2613
2614
bool CPlayer::IsInKickQueue()
2615
{
Callers
8
OnClientConnect
Method · 0.80
OnClientSettingsChanged
Method · 0.80
ProcessDelayedKicks
Method · 0.80
BanClient
Function · 0.80
GetClientUserId
Function · 0.80
KickClient
Function · 0.80
UpdateClientRoot
Method · 0.80
SetAttacker
Method · 0.80
Calls
1
GetEdict
Function · 0.70
Tested by
no test coverage detected