Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CLASS.name = "U.S. Army Private"
- CLASS.faction = FACTION_CP
- function CLASS:OnSet(client)
- client:SetModel("models/Barney.mdl")
- end
- CLASS_CP_RCT = CLASS.index
- if (SERVER) then
- nut.char.HookVar("charname", "recruitRanks", function(character)
- local client = character.player
- if (IsValid(client) and client:Team() == FACTION_USA and string.find(character:GetVar("charname"), "PVT.")) then
- client:SetCharClass(CLASS_US_PVT)
- end
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement