Hello!I need players who have the admin flag then the code below is not executed, my code does not work where is the error?
Code:
public void OnClientPutInServer(int client)
{
if (client && IsClientConnected(client))
{
if (!GetAdminFlag(GetUserAdmin(client), Admin_Root))
{
SetUserFlagBits(client, ADMFLAG_CUSTOM1);
}
}
}
I log in as admin and my flags are all erased except ADMFLAG_CUSTOM1