wikOS powered by wiltOS Technologies
lua/wos/prs/squad/allegiances/wOS.RenegadeSquad.Alleg:RegisterAllegiance({
Name = "Clone Trooper", -- The name of your allegiance.
Description = "For the chancellor", -- This will be the description that is displayed in the View Allegiances section of the Squad Menu.
UserGroups = false, -- Specify which usergroups are allowed to pledge their allegiance to this allegiance.
AdminGroups = { "superadmin", "founder" }, -- Specify which usergroups can manage members in squads that are pledged to this allegiance.
TeamColor = Color( 133, 133, 133 ), -- Set a color for the allegiance.
Logo = "wos/prs/renicon.png", -- The logo that will be displayed across the squad menu and in the View Allegiances section.
RequiredCertif = { -- [Optional] Specify which certifications are required to pledge allegiance.
[ "-Trained" ] = true,
},
DefaultRole = "Clone Trooper", -- The default role members will be switched to when joining a squad pledged to this allegiance. (This role must be a valid role)
OnSpawn = function( ply )
end,
})