Skip to content

OnUserGroupRemoved ​

Called when a user group is removed

Usage ​

  • No return behavior

Example Autogenerated ​

csharp
private void OnUserGroupRemoved( string playerId, string groupName )
{
    Puts( "OnUserGroupRemoved works!" );
}

Location ​

  • Permission::RemoveUserGroup(string playerId, string groupName)
csharp
	else
	{
		if (!userData.Groups.Remove(groupName))
		{
			return;
		}
		Interface.Call("OnUserGroupRemoved", new object[] { playerId, groupName });
		return;
	}
}

Released under the MIT License.