t0fox
Пользователь
TEAM_501st = DarkRP.createJob("Капрал 501-го", {
color = Color(8, 44, 173, 255),
model = {"models/aussiwozzi/phase1clones/501st/trooper.mdl"},
description = [[Капрал 501-го легиона. ]],
weapons = {"rw_sw_shield_imp_e11", "weapon_hands", "rw_sw_dc15a", "rw_sw_nade_thermal"},
command = "cpl501st",
max = 4,
salary = 10,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "501st",
sortOrder = 3,
ammo = {
["ar2"] = 2000
},
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(110)
ply:SetArmor(125)
ply:SetBodygroup(0, 0)
ply:SetBodygroup(1, 0)
ply:SetBodygroup(2, 0)
ply:SetBodygroup(3, 0)
ply:SetBodygroup(4, 0)
ply:SetBodygroup(5, 0)
ply:SetBodygroup(6, 5)
ply:SetBodygroup(7, 0)
ply:SetBodygroup(8, 0)
ply:SetBodygroup(9, 0)
ply:SetBodygroup(10, 2)
ply:SetBodygroup(11, 0)
ply:SetBodygroup(12, 0)
end,
customCheck = function(ply) return
table.HasValue({TEAM_501st}, ply:Team())
end,
CustomCheckFailMsg = "На сервере Whitelist система.",
не выдается хп и не изменяется бодигруппа
color = Color(8, 44, 173, 255),
model = {"models/aussiwozzi/phase1clones/501st/trooper.mdl"},
description = [[Капрал 501-го легиона. ]],
weapons = {"rw_sw_shield_imp_e11", "weapon_hands", "rw_sw_dc15a", "rw_sw_nade_thermal"},
command = "cpl501st",
max = 4,
salary = 10,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "501st",
sortOrder = 3,
ammo = {
["ar2"] = 2000
},
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(110)
ply:SetArmor(125)
ply:SetBodygroup(0, 0)
ply:SetBodygroup(1, 0)
ply:SetBodygroup(2, 0)
ply:SetBodygroup(3, 0)
ply:SetBodygroup(4, 0)
ply:SetBodygroup(5, 0)
ply:SetBodygroup(6, 5)
ply:SetBodygroup(7, 0)
ply:SetBodygroup(8, 0)
ply:SetBodygroup(9, 0)
ply:SetBodygroup(10, 2)
ply:SetBodygroup(11, 0)
ply:SetBodygroup(12, 0)
end,
customCheck = function(ply) return
table.HasValue({TEAM_501st}, ply:Team())
end,
CustomCheckFailMsg = "На сервере Whitelist система.",
не выдается хп и не изменяется бодигруппа