- Initiateur de la discussion
Filou_YT
Têtard
- Messages
- 7
- Score réaction
- 0
- Points
- 10
bonsoir,
J'ai un serveur Garry's Mod et quand je veux rajouter un job ça me met: "Something is creating script errors"
Voilà le code:
TEAM_POLICE = DarkRP.createJob("Police", {
color = Color(14, 0, 255, 255),
model = {
"models/player/Agent_POLICE1",
"models/player/Agent_POLICE2",
"models/player/Agent_POLICE3",
"models/player/Agent_POLICE4",
"models/player/Agent_POLICE5",
"models/player/Agent_POLICE6"
},
description = [[Deviens Policier]],
weapons = {"badge_gendarmerie", "weapon_stungun", "m9k_colt1911", "weapon_fists", "weapon_r_handcuffs", "driving_license_checker", "weapon_physgun", "weapon_physcannon", "stunstick"},
command = "/Police",
max = ,
salary = ,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Policier",
ammo = {
["pistol"] = 200
},
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
ply:SetArmor(150)
ply:SetBodygroup(0, 0)
end,
customCheck = function(ply) return CLIENT or
table.HasValue({TEAM_POLICE}, ply:Team())
end,
CustomCheckFailMsg = "",
Puis, pour le problème de props j'ai des vieux ATM d'origine sur la map "rp_RockFordCityRP_v2b" et je ne peux pas les supp* avec le menu contextuel, ou même le supp* via le "tools gun_Destructeur" .
Cordialement
J'ai un serveur Garry's Mod et quand je veux rajouter un job ça me met: "Something is creating script errors"
Voilà le code:
TEAM_POLICE = DarkRP.createJob("Police", {
color = Color(14, 0, 255, 255),
model = {
"models/player/Agent_POLICE1",
"models/player/Agent_POLICE2",
"models/player/Agent_POLICE3",
"models/player/Agent_POLICE4",
"models/player/Agent_POLICE5",
"models/player/Agent_POLICE6"
},
description = [[Deviens Policier]],
weapons = {"badge_gendarmerie", "weapon_stungun", "m9k_colt1911", "weapon_fists", "weapon_r_handcuffs", "driving_license_checker", "weapon_physgun", "weapon_physcannon", "stunstick"},
command = "/Police",
max = ,
salary = ,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "Policier",
ammo = {
["pistol"] = 200
},
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
ply:SetArmor(150)
ply:SetBodygroup(0, 0)
end,
customCheck = function(ply) return CLIENT or
table.HasValue({TEAM_POLICE}, ply:Team())
end,
CustomCheckFailMsg = "",
Puis, pour le problème de props j'ai des vieux ATM d'origine sur la map "rp_RockFordCityRP_v2b" et je ne peux pas les supp* avec le menu contextuel, ou même le supp* via le "tools gun_Destructeur" .
Cordialement