Garry's Mod

DarkRP Bodygroup

Submitted by Lost_Evo, , Thread ID: 193788

Thread Closed
12-01-2021, 10:14 AM
This post was last modified: 12-01-2021, 10:14 AM by Lost_Evo
#1
On my Server, when I type setBodygroup (2, 5) than the skin wont change after a server restart. How can I fix that? Smile

RE: DarkRP Bodygroup

#2
PlayerSpawn = function(ply) ply:SetBodygroup(1, 16) ply:SetBodygroup(2, 6) ply:SetBodygroup(3, 0) ply:SetBodygroup(4, 3) end,

RE: DarkRP Bodygroup

OP
#3
Wont work, here is the Code:
TEAM_SDPVT = DarkRP.createJob("SandtrupplerPVT", { -- Name
color = Color(209, 200, 75, 255), -- Team color
model = "models/nate159/swbf2015/playermodels/sandtrooper.mdl", -- Player model
description = [[become a ShadowTrooperPVT]], -- Job description
weapons = {"tfa_dlt19_extended", "tfa_dh17","keys"}, -- Additional weapons
command = "sdpvt", -- Command to become the job
max = 8, -- Maximum amount of said job
salary = 45, -- Salary
admin = 0, -- Requires Admin? 1 for yes, 0 for no.
vote = false, -- Do they need to vote? true for yes, false for no.
sortOrder = 82;
category = "Sand Troopers",
PlayerSpawn = function(ply) ply:SetHealth(100) ply:SetGravity(1) ply:SetBodyGroup(2, 6) ply:SetSkin(1) return CLIENT end,
hasLicense = true, -- Has a license
customCheck = function(ply) return CLIENT or ply:IsUserGroup("SDPVT") or ply:IsAdmin() or ply:IsSuperAdmin() or ply:IsUserGroup("JUDGE") or ply:IsUserGroup("Event Manager") end,
CustomCheckFailMsg = "This job is not for your group!"
})

Users browsing this thread: 1 Guest(s)