Black Models and No Jobs on DarkRP

Hey guys, i just edited the Shared.lua recently and i see n jobs and the players are pretty much black models, anyway heres my Shared.lua file, if you guys could try to find an error it’d help? :slight_smile:
[lua]
*--------------------------------------------------------

Default teams. If you make a team above the citizen team, people will spawn with that team!

--------------------------------------------------------*/

TEAM_CITIZEN = AddExtraTeam(“Citizen”, Color(20, 150, 20, 255), “models/player/group01/male_01.mdl”, [[The Citizen is the most basic level of society you can hold
besides being a hobo.
You have no specific role in city life.]], {}, “citizen”, 0, 45, 0, false, false)

TEAM_POLICE = AddExtraTeam(“Civil Protection”, Color(25, 25, 170, 255), “models/police.mdl”, [[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]], {“arrest_stick”, “unarrest_stick”, “weapon_glock2”, “stunstick”, “door_ram”, “weaponchecker”, “item_ammo_pistol”}, “cp”, 4, 65, 0, true, true)

TEAM_GANG = AddExtraTeam(“Gangster”, Color(75, 75, 75, 255), “models/player/group03/male_01.mdl”, [[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.]], {}, “gangster”, 6, 45, 0, false, false)

TEAM_MOB = AddExtraTeam(“Mob boss”, Color(25, 25, 25, 255), “models/player/gman_high.mdl”, [[The Mobboss is the boss of the criminals in the city.
With his power he coordinates the gangsters and forms an efficent crime
organization.
He has the ability to break into houses by using a lockpick.
The Mobboss also can unarrest you.]], {“lockpick”, “unarrest_stick”}, “mobboss”, 1, 60, 0, false, false)

TEAM_GUN = AddExtraTeam(“Gun Dealer”, Color(255, 140, 0, 255), “models/player/monk.mdl”, [[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]], {}, “gundealer”, 2, 45, 0, false, false)

TEAM_MEDIC = AddExtraTeam(“Medic”, Color(47, 79, 79, 255), “models/player/kleiner.mdl”, [[With your medical knowledge, you heal players to proper
health.
Without a medic, people can not be healed.
Left click with the Medical Kit to heal other players.
Right click with the Medical Kit to heal yourself.]], {“med_kit”}, “medic”, 3, 45, 0, false, false)

TEAM_COOK = AddExtraTeam(“Cook”, Color(238, 99, 99, 255), “models/player/mossman.mdl”, [[As a cook, it is your responsibility to feed the other members
of your city.
You can spawn a microwave and sell the food you make:
/Buymicrowave]], {}, “cook”, 2, 45, 0, 0, false)

TEAM_MAYOR = AddExtraTeam(“Mayor”, Color(150, 20, 20, 255), “models/player/breen.mdl”, [[The Mayor of the city creates laws to serve the greater good
of the people.
If you are the mayor you may create and accept warrants.
Type /wanted <name> to warrant a player
Type /jailpos to set the Jail Position
Type /lockdown initiate a lockdown of the city.
Everyone must be inside during a lockdown.
The cops patrol the area
/unlockdown to end a lockdown]], {“item_ammo_pistol”}, “mayor”, 1, 85, 0, true, false/, {TEAM_CHIEF, TEAM_POLICE}/)

/*

HOW TO MAKE AN EXTRA CLASS!!!


You can make extra classes here. Set everything up here and the rest will be done for you!
no more editing 100 files without knowing what you’re doing!!!

Ok here’s how:

To make an extra class do this:
AddExtraTeam( “<NAME OF THE CLASS>”, Color(<red>, <Green>, <blue>, 255), “<Player model>” , [[<the description(it can have enters)>]], { “<first extra weapon>”,"<second extra weapon>", etc…}, “<chat command to become it(WITHOUT THE /!)>”, <maximum amount of this team> <the salary he gets>, 0/1/2 = public /admin only / superadmin only, <1/0/true/false Do you have to vote to become it>, true/false DOES THIS TEAM HAVE A GUN LICENSE?, TEAM: Which team you need to be to become this team)

The real example is here: it’s the Hobo: */

–VAR without /!!! The name the color(what you see in tab) the player model The description

TEAM_HOBO = AddExtraTeam(“Hobo”, Color(80, 45, 0, 255), “models/player/corpse1.mdl”, [[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]], {“weapon_bugbait”}, “hobo”, 5, 0, 0, false)
//No extra weapons say /hobo to become hobo Maximum hobo’s = 5 his salary = 0 because hobo’s don’t earn money. 0 = everyone can become hobo , false = you don’t have to vote to become hobo
// MAKE SURE THAT THERE IS NO / IN THE TEAM NAME OR IN THE TEAM COMMAND:
// TEAM_/DUDE IS WROOOOOONG !!!
// HAVING “/dude” IN THE COMMAND FIELD IS WROOOOOOOONG!!!
//ADD TEAMS UNDER THIS LINE:
TEAM_HITMAN = AddExtraTeam(“Hitman”, Color(153,51,51,255), “models/player/t_leet.mdl”, [[Hitmen are people that kills for money.
But they cant do it for free or just kill them self.]], {“weapon_real_cs_glock18”}, “hitman”, 2, 45, 0, false, true)

TEAM_DRUG = AddExtraTeam(“Drug Dealer”, Color(255,102,0,255), “models/eli.mdl”, [[Drug Dealers sell drugs.
But dont get arrested by the cops!]], {}, “drugdealer”, 2, 35, 0, false, false)

TEAM_NINJA = AddExtraTeam(“Rebel”, Color(255,102,0,255), “models\Humans/group03m/male_01.mdl”, [[You are a rebel fighting against the cause of the Civil Protection. You are also at war with the mafia.]], {“weapon_real_cs_knife”}, “Rebel”, 6, 30, 0, false, false)
TEAM_MASTER = AddExtraTeam(“Rebel Leader”, Color(204,153,204,255), “models/barney.mdl”, [[You are the leader of the Rebels, tell them what to do.]], {“weapon_real_cs_knife”, “lockpick”, “weapon_kinfe”}, “Rebel Leader”, 1, 55, 0, false, false)
TEAM_SS = AddExtraTeam(“Civil Protection Elite”, Color(102,102,51,255), “models/Combine_Super_Soldier.mdl”, [[Combine elite have the same roles as Combines, but with a main objective of protecting the Mayor.]], {“weapon_real_cs_m4a1”, “weapon_real_cs_five-seven”, “weapon_real_cs_knife”}, “CP Elite”, 2, 70, 0, true, true)

TEAM_TERRORIST = AddExtraTeam(“Terrorist”, Color(204,153,153,255), “models/player/t_arctic.mdl”, [[Blow shit up. You may be arrested OR KILLED on sight.]], {}, “terrorist”, 1, 30, 0, false, false)
[/lua]

Thanks in advance

-Zeksta

Wrong section. Stupid DarkRP question. Go away.


(User was banned for this post ("Ass" - grea$emonkey))

Moderator is probably going to lock this.

Well your a helpful asswipe arn’t you…

Yes i may have posted accidentally in the wrong section, but i doubt this is going to be locked, only moved, considering i’m in need of support and no-one is helpful enough to comment like a bloody genuine human being! -_-

Does this classify as racism?

And what does that even have to do with the topic… honestly!

the best way to get your problem solved is to direct your question to the dark RP release thread

Well… can i still get some help please

You should ask your friends or some one to look at the models because I see no error in the code

Well I guess that’s why the call it dark.
:smug:

In all seriousness could you tell us exactly what lines you edited?

The player models for all of your custom classes were incorrect. The model path shown within Gmod is strangely incorrect.

Anyways, the jobs with the corrected model paths.
[lua]TEAM_HITMAN = AddExtraTeam(“Hitman”, Color(153,51,51,255), “models/player/leet.mdl”, [[Hitmen are people that kills for money.
But they cant do it for free or just kill them self.]], {“weapon_real_cs_glock18”}, “hitman”, 2, 45, 0, false, true)

TEAM_DRUG = AddExtraTeam(“Drug Dealer”, Color(255,102,0,255), “models/player/eli.mdl”, [[Drug Dealers sell drugs.
But dont get arrested by the cops!]], {}, “drugdealer”, 2, 35, 0, false, false)

TEAM_NINJA = AddExtraTeam(“Rebel”, Color(255,102,0,255), “models/player/group03/male_01.mdl”, [[You are a rebel fighting against the cause of the Civil Protection. You are also at war with the mafia.]], {“weapon_real_cs_knife”}, “Rebel”, 6, 30, 0, false, false)

TEAM_MASTER = AddExtraTeam(“Rebel Leader”, Color(204,153,204,255), “models/player/barney.mdl”, [[You are the leader of the Rebels, tell them what to do.]], {“weapon_real_cs_knife”, “lockpick”, “weapon_kinfe”}, “Rebel Leader”, 1, 55, 0, false, false)

TEAM_SS = AddExtraTeam(“Civil Protection Elite”, Color(102,102,51,255), “models/player/combine_super_soldier.mdl”, [[Combine elite have the same roles as Combines, but with a main objective of protecting the Mayor.]], {“weapon_real_cs_m4a1”, “weapon_real_cs_five-seven”, “weapon_real_cs_knife”}, “CP Elite”, 2, 70, 0, true, true)

TEAM_TERRORIST = AddExtraTeam(“Terrorist”, Color(204,153,153,255), “models/player/arctic.mdl”, [[Blow shit up. You may be arrested OR KILLED on sight.]], {}, “terrorist”, 1, 30, 0, false, false)[/lua]

[editline]03:16AM[/editline]

Oops, also, your Police model was incorrect.
[lua]TEAM_POLICE = AddExtraTeam(“Civil Protection”, Color(25, 25, 170, 255), “models/player/police.mdl”, [[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]], {“arrest_stick”, “unarrest_stick”, “weapon_glock2”, “stunstick”, “door_ram”, “weaponchecker”, “item_ammo_pistol”}, “cp”, 4, 65, 0, true, true)[/lua]

You probably forgot a comma somewhere. You’re gonna have to redo your shared.lua file again. I’ve had this happen plenty of times.

you dont have to, but it would be VERY usefull if you posted the console log

snip.

[editline]01:20PM[/editline]

Before the * on the very first line it appears you’re missing a /

Which makes the third line error…