3 New Notifications

New Badge Earned
Get 1K upvotes on your post
Life choices of my cat
Earned 210

Drag Images here or Browse from your computer.

Trending Posts
Sorted by Newest First
s
sANYA2283321 04.10.22 11:09 pm

Help with the solution of the bug, PLEASE!

Hello, I started creating my server in the STAR WARS RP theme, and for professions I need to hang certain bodygroups, I do them, I made 1 pro, everything works, I add a second one, I go to it, the bodygroup appears for a second and then disappears again. Deleted the new profile - did not help.
I ask you to help, if that's the code of the profession, after which the errors went.

TEAM_RCT = mopp.util.addjob("Sergeant Keeli`s", {
Color = Color(250, 250, 250),
WorldModel = "models/keeli_nco/pm_keeli_nco.mdl",
weapons = {"weapon_hands"},
jobID = " keelSGT",
group_id = "Recruits",
spawn_group = "Recruit Corps",
PlayerSpawn = function(ply)
ply:SetArmor(50)
ply:

ply:SetBodygroup( 1, 0 )
ply:SetBodygroup( 2, 1 )
ply:SetBodygroup( 3, 0 )
ply:SetBodygroup( 4, 1 )
ply:SetBodygroup( 5, 0 )
ply:SetBodygroup( 6, 0 )
ply: SetBodygroup( 7, 1 )
ply:SetBodygroup( 8, 1 )
ply:SetBodygroup( 9, 0 )
ply:SetSkin(0)
end,
})
1 Comments
Sort by:
B
BDmitriy 04.10.22

sANYA2283321 wrote:
professional