Navigate to wos-renegadesquad-xxx/lua/wos/prs/role-sys/unlocks
.
Create a new file, or skip to the next step if you want to use a file that already exists in the folder.
Add the below block of code and fill in the fields with your own content.
wOS.RenegadeSquad.Roles:RegisterUnlock({
Name = "My Cool Appearance",
Description = "Got that Gucci on my body, now she tryna pipe me, woo.",
Type = WOS_PRS.UNLOCKS.APPEARANCE,
Cost = 100,
RequiredRoles = { "My Cool Role" },
RequiredCerts = false,
Model = "models/player/guccimane.mdl",
BodyGroups = {
[5] = 1,
},
PostModelLoaded = function( ply, model )
end,
})
Navigate to wos-renegadesquad-xxx/lua/wos/prs/role-sys/unlocks
.
Create a new file, or skip to the next step if you want to use a file that already exists in the folder.
Add the below block of code and fill in the fields with your own content.
wOS.RenegadeSquad.Roles:RegisterUnlock({
Name = "Boom Kit",
Description = "For an extra boom to your zoom",
Type = WOS_PRS.UNLOCKS.KIT,
Cost = 100,
RequiredRoles = { "Mingebag" },
RequiredCerts = false,
LoadoutKit = { "weapon_rpg", "weapon_flechettegun", "gmod_tool" }
})
Navigate to wos-renegadesquad-xxx/lua/wos/prs/role-sys/unlocks
.
Create a new file, or skip to the next step if you want to use a file that already exists in the folder.
Add the below block of code and fill in the fields with your own content.
wOS.RenegadeSquad.Roles:RegisterUnlock({
Name = "Armor Upgrade",
Description = "+10 Armor",
Type = WOS_PRS.UNLOCKS.OPERATOR,
Cost = 100,
RequiredRoles = { "Mingebag" },
RequiredCerts = false,
OnSpawn = function( ply )
ply:SetArmor( ply:Armor + 10 )
end
})