DarkRP Some jobs dont work? They print command in chat
1 replies, posted
For some reason all the jobs under SWAT CQB dont work. When you click the jobs it just prints the command in chat but nothing happens?
[code]TEAM_CITIZEN = AddExtraTeam("Citizen", {
color = Color(20, 150, 20, 255),
model = {
"models/player/Group01/Female_01.mdl",
"models/player/Group01/Female_02.mdl",
"models/player/Group01/Female_03.mdl",
"models/player/Group01/Female_04.mdl",
"models/player/Group01/Female_06.mdl",
"models/player/group01/male_01.mdl",
"models/player/Group01/Male_02.mdl",
"models/player/Group01/male_03.mdl",
"models/player/Group01/Male_04.mdl",
"models/player/Group01/Male_05.mdl",
"models/player/Group01/Male_06.mdl",
"models/player/Group01/Male_07.mdl",
"models/player/Group01/Male_08.mdl",
"models/player/Group01/Male_09.mdl"
},
description = [[The Citizen is the most basic level of society you can hold
besides being a hobo.
You have no specific role in city life.]],
weapons = {"weapon_arc_atmcard", "keys", "pocket", "weapon_hands","weapon_gphone", "itemstore_pickup"},
command = "citizen",
max = 0,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
mayorCanSetSalary = true
})
TEAM_POLICE = AddExtraTeam("Police", {
color = Color(25, 25, 170, 255),
model = {"models/humans/nypd1940/male_01.mdl", "models/humans/nypd1940/male_02.mdl", "models/humans/nypd1940/male_03.mdl", "models/humans/nypd1940/male_04.mdl", "models/humans/nypd1940/male_05.mdl", "models/humans/nypd1940/male_06.mdl", "models/humans/nypd1940/male_07.mdl", "models/humans/nypd1940/male_08.mdl", "models/humans/nypd1940/male_09.mdl"},
description = [[The protector of every citizen that lives in the city .
You have the power to arrest criminals and protect innocents.
Hit them with your arrest baton to put them in jail
Bash them with a stunstick and they might learn better than to disobey
the law.
The Battering Ram can break down the door of a criminal with a warrant
for his/her arrest.
The Battering Ram can also unfreeze frozen props(if enabled).
Type /wanted <name> to alert the public to this criminal
OR go to tab and warrant someone by clicking the warrant button]],
weapons = {"arrest_stick", "unarrest_stick", "fas2_mp5sd6", "stunstick","weapon_gphone", "door_ram", "weaponchecker", "fas2_m1911","weapon_arc_atmcard", "keys", "pocket", "weapon_hands", "itemstore_pickup"},
command = "police",
max = 5,
salary = 65,
admin = 0,
vote = true,
hasLicense = true,
help = {
"Please don't abuse your job",
"When you arrest someone they are auto transported to jail.",
"They are auto let out of jail after some time",
"Type /warrant [Nick|SteamID|Status ID] to set a search warrant for a player.",
"Type /wanted [Nick|SteamID|Status ID] to alert everyone to a wanted suspect",
"Type /unwanted [Nick|SteamID|Status ID] to clear the suspect",
"Type /jailpos to set the jail position"
}
})
TEAM_GANG = AddExtraTeam("Gangster", {
color = Color(75, 75, 75, 255),
model = {
"models/player/sunabouzu.mdl"
},
description = [[The lowest person of crime.
A gangster generally works for the Mobboss who runs the crime family.
The Mobboss sets your agenda and you follow it or you might be punished.]],
weapons = {"weapon_arc_atmcard", "keys", "pocket", "weapon_hands","lockpick", "itemstore_pickup","keypad_cracker"},
command = "gangster",
max = 5,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
mayorCanSetSalary = false
})
TEAM_MOB = AddExtraTeam("Mob boss", {
color = Color(25, 25, 25, 255),
model = "models/player/gman_high.mdl",
description = [[The Mobboss is the boss of the criminals in the city.
With his power he coordinates the gangsters and forms an efficient crime
organization.
He has the ability to break into houses by using a lockpick.
The Mobboss also can unarrest you.]],
weapons = { "unarrest_stick", "fas2_ak47","weapon_arc_atmcard","lockpick", "keys", "pocket", "weapon_hands", "itemstore_pickup","keypad_cracker"},
command = "mobboss",
max = 1,
salary = 60,
admin = 0,
vote = false,
hasLicense = false,
mayorCanSetSalary = false,
help = {
"As the mob boss, you decide what you want the other Gangsters to do.",
"You get an Unarrest Stick which you can use to break people out of jail.",
"/agenda <Message> Sets the Gangsters' agenda. Use // to go to the next line."
}
})
TEAM_GUN = AddExtraTeam("Gun Dealer", {
color = Color(255, 140, 0, 255),
model = "models/player/monk.mdl",
description = [[A gun dealer is the only person who can sell guns to other
people.
However, make sure you aren't caught selling guns that are illegal to
the public.
/Buyshipment <name> to Buy a weapon shipment
/Buygunlab to Buy a gunlab that spawns P228 pistols]],
weapons = {"weapon_arc_atmcard", "keys", "pocket", "weapon_hands","weapon_gphone", "itemstore_pickup"},
command = "gundealer",
max = 4,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
mayorCanSetSalary = true
})
TEAM_BLACKMARKETDEALER = AddExtraTeam("Black market dealer", {
color = Color(0, 0, 0, 255),
model = "models/player/eli.mdl",
description = [[As a Black market dealer you will sell weapons and
other illegal stuff and try not to get caught by
the police or you could be put in jail!
Raid = No ]],
weapons = {"weapon_arc_atmcard","weapon_gphone", "keys", "pocket", "weapon_hands", "itemstore_pickup"},
command = "blackmarketdealer",
max = 2,
salary = 85,
admin = 0,
vote = false,
hasLicense = false
})
TEAM_MEDIC = AddExtraTeam("Medic", {
color = Color(47, 79, 79, 255),
model = "models/player/kleiner.mdl",
description = [[With your medical knowledge,
you heal players to proper
health.
Without a medic, people cannot be healed.
Left click with the Medical Kit to heal other players.
Right click with the Medical Kit to heal yourself.]],
weapons = {"med_kit","weapon_arc_atmcard", "keys", "pocket","weapon_gphone", "weapon_hands", "itemstore_pickup"},
command = "medic",
max = 2,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
medic = true,
mayorCanSetSalary = true
})
TEAM_CHIEF = AddExtraTeam("Civil Protection Chief", {
color = Color(20, 20, 255, 255),
model = "models/player/combine_soldier_prisonguard.mdl",
description = [[The Chief is the leader of the Civil Protection unit.
Coordinate the police force to enforce law in the city.
Hit them with arrest baton to put them in jail.
Bash them with a stunstick and they might learn better than to
disobey the law.
The Battering Ram can break down the door of a criminal with a
warrant for his/her arrest.
Type /wanted <name> to alert the public to this criminal
Type /jailpos to set the Jail Position]],
weapons = {"arrest_stick", "unarrest_stick", "fas2_g36c","weapon_gphone", "stunstick", "door_ram", "weaponchecker", "fas2_ks23", "fas2_deagle","weapon_arc_atmcard", "keys", "pocket", "weapon_hands", "itemstore_pickup"},
command = "chief",
max = 1,
salary = 75,
admin = 0,
vote = false,
hasLicense = true,
chief = true,
NeedToChangeFrom = TEAM_POLICE,
help = {
"Please don't abuse your job",
"When you arrest someone they are auto transported to jail.",
"They are auto let out of jail after some time",
"Type /warrant [Nick|SteamID|Status ID] to set a search warrant for a player.",
"Type /wanted [Nick|SteamID|Status ID] to alert everyone to a wanted suspect",
"Type /unwanted [Nick|SteamID|Status ID] to clear the suspect",
"Type /jailpos to set the jail position"
}
})
TEAM_HOBO = AddExtraTeam("Hobo", {
color = Color(80, 45, 0, 255),
model = "models/player/corpse1.mdl",
description = [[The lowest member of society. All people see you laugh.
You have no home.
Beg for your food and money
Sing for everyone who passes to get money
Make your own wooden home somewhere in a corner or
outside someone else's door]],
weapons = {"weapon_arc_atmcard", "keys", "pocket","weapon_gphone",
Any console errors?
Also, does the actual SWAT job works?
Sorry, you need to Log In to post a reply to this thread.