So I made a a bunch of new classes for DarkRp, and they ALL work. But for the ones using the CSS playermodels, the models stays in T-Pose for some reason. Mind telling me how I can fix it? Heres the shared.lua file:
[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/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/Female_07.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"},
[[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/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_mad_tmp", "stunstick", "door_ram"}, "cp", 4, 65, 0, true, true)
TEAM_GANG = AddExtraTeam("Gangster", Color(75, 75, 75, 255), {
"models/player/Group03/Female_01.mdl",
"models/player/Group03/Female_02.mdl",
"models/player/Group03/Female_03.mdl",
"models/player/Group03/Female_04.mdl",
"models/player/Group03/Female_06.mdl",
"models/player/Group03/Female_07.mdl",
"models/player/group03/male_01.mdl",
"models/player/Group03/Male_02.mdl",
"models/player/Group03/male_03.mdl",
"models/player/Group03/Male_04.mdl",
"models/player/Group03/Male_05.mdl",
"models/player/Group03/Male_06.mdl",
"models/player/Group03/Male_07.mdl",
"models/player/Group03/Male_08.mdl",
"models/player/Group03/Male_09.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]], {}, "mayor", 1, 85, 0, true, false)
TEAM_HAZMAT = AddExtraTeam("Hazmat", Color(25, 60, 170, 255), "models/player/combine_super_soldier.mdl", [[Kill zombies to protect the citizens.
NOTE: YOU ARE NOT A COP.]], {"weapon_mad_ump", "lockpick"}, "hazmat", 4, 65, 0, true, true)
TEAM_ZOMBIE = AddExtraTeam("Zombie", Color(160, 60, 25, 255), "models/player/classic.mdl", [[Eat brains.]], {"weapon_mad_knife"}, "zombie", 15, 65, 0, false, false)
TEAM_ADMIN = AddExtraTeam("Admin", Color(192, 192, 192, 255), "models/player/charple01.mdl", [[ <Admin Only>
You are an admin.
]], {"weapon_lcs_admin", "admin_keypad_cracker"}, "admin", 10, 100, 1, false, false)
TEAM_OVERLORD = AddExtraTeam("Zombie Overlord", Color(160, 60, 25, 255), "models/player/charple01.mdl", [[Command the zombies.]], {"weapon_mad_knife"}, "overlord", 1, 65, 1, false, false)
TEAM_HITMAN = AddExtraTeam("Hitman", Color(255, 0, 0, 255), "models/player/t_phoenix.mdl", [[Kill people for money.
Your client MUST /write you a note stating WHO and WHY.
Minimum price for a hit is $300. ]], {}, "hitman", 3, 50, 0, true, false)
TEAM_THIEF = AddExtraTeam("Thief", Color(25, 25, 25, 255), "models/player/t_arctic.mdl", [[Break into peoples' homes and steal their stuff,
or raid a store with your teammates.]], {"lockpick", "keypad_cracker"}, "thief", 6, 60, 0, false, false)
TEAM_HEAVY = AddExtraTeam("Heavy Weapons Dealer", Color(255, 160, 20, 255), "models/player/t_guerilla.mdl", [[Sell heavy weapons.
DO NOT get caught selling!]], {}, "heavy", 2, 60, 0, false, false)
TEAM_SCAVENGER = AddExtraTeam("Scavenger", Color(184, 134, 11, 255), "models/player/Eli.mdl", [[Sell your special wares.]], {}, "scavenger", 3, 60, 0, false, false)
TEAM_GUARD = AddExtraTeam("Guard", Color(50, 153, 204, 255), "models/player/Barney.mdl", [[Guard people or places.]], {}, "guard", 5, 60, 0, false, false)
AddAgenda("Gangster's agenda", TEAM_MOB, {TEAM_GANG})
AddAgenda("Police agenda", TEAM_MAYOR, {TEAM_CHIEF, TEAM_POLICE})
AddDoorGroup("Admins Only.", TEAM_ADMIN)
AddDoorGroup("CPs and Mayor Only", TEAM_HAZMAT, TEAM_POLICE, TEAM_MAYOR)
[/lua]
Change
[lua]"models/player/t_arctic.mdl"
"models/player/t_phoenix.mdl"
"models/player/t_guerilla.mdl"[/lua]
To
[lua]"models/player/arctic.mdl"
"models/player/phoenix.mdl"
"models/player/guerilla.mdl"[/lua]
Thanks
Sorry, you need to Log In to post a reply to this thread.