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

Method SetAdminId

core/PlayerManager.cpp:2391–2402  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2389}
2390
2391void CPlayer::SetAdminId(AdminId id, bool temporary)
2392{
2393 if (!m_IsConnected)
2394 {
2395 return;
2396 }
2397
2398 DumpAdmin(false);
2399
2400 m_Admin = id;
2401 m_TempAdmin = temporary;
2402}
2403
2404AdminId CPlayer::GetAdminId()
2405{

Callers 6

CheckSetAdminMethod · 0.80
CheckSetAdminNameMethod · 0.80
SetUserAdminFunction · 0.80
AddUserFlagsFunction · 0.80
SetUserFlagBitsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected