• Jobs I Made Are Broke
    6 replies, posted
Hi, I decided to add some jobs to my DarkRP server by using the shared.lua file in the gamemode and when I made some jobs their arms are spread out to their sides, this is what the shared.lua looks like for the jobs: TEAM_ADMIN = AddExtraTeam("Admin On Duty", { color = Color(200, 55, 25, 212), model = "models/Combine_Super_Soldier.mdl", description = [[To manage the minges.]], weapons = {"weapon_fists", "weapon_crossbow", "arrest_stick", "unarrest_stick", "weapon_deagle2", "stunstick", "door_ram", "weaponchecker"}, command = "admin", max = 0, salary = 0, admin = 1, vote = false, hasLicense = false, candemote = false }) The arms of the model is spread completely out in the F4>jobs menu and when you go look at a player with that job. Please help.
Did you spell the model wrong?
No, I copied it straight from in-game.
You're using the wrong model, the ragdoll model I believe, you need to use the player model. [code]"models/player/combine_super_soldier.mdl"[/code]
Oh, thanks, that's probably my problem.. do you know where I can get a whole list of models like that? [editline]3rd July 2013[/editline] That fixed the issue for that job but I put in player for my other jobs now they are errors.
You can use GCFScape to browse the garrysmod content file, the .gcf file found in SteamApps (although I think this might've changed if you install after SteamPipe). There you will be able to browse all the materials, models and lua files.
Here are some player models [CODE]Half Life: 2 Alyx - models/player/alyx.mdl Barney - models/player/barney.mdl Breen - models/player/breen.mdl Burnt Corpse - models/player/charple01.mdl Zombie - models/player/classic.mdl Combine Soldier - models/player/combine_soldier.mdl Prison Guard - models/player/combine_soldier_prisonguard.mdl Combine Super - models/player/combine_super_soldier.mdl Corpse - models/player/corpse1.mdl Eli - models/player/eli.mdl Gman - models/player/gman_high.mdl Kleiner - models/player/Kleiner.mdl Magnusson - models/player/magnusson.mdl Father Grigori - models/player/monk.mdl Mossman - models/player/mossman.mdl Odessa - models/player/odessa.mdl Stripped Soldier - models/player/soldier_stripped.mdl Zombie Soldier - models/player/zombie_soldier.mdl Fast Zombie - models/player/zombiefast.mdl Day of Defeat DoD American - models/player/dod_american.mdl DoD German - models/player/dod_german.mdl Counter Strike Artic - models/player/artic.mdl Gas Mask - models/player/gasmask.mdl Guerilla - models/player/guerilla.mdl Leet - models/player/leet.mdl Phoenix - models/player/Phoenix.mdl Police - models/player/police.mdl Riot - models/player/riot.mdl S.W.A.T. - models/player/swat.mdl Urban - models/player/urban.mdl Civilan Models Male 1 - models/player/group01/male_01.mdl Male 2 - models/player/group01/Male_02.mdl Male 3 - models/player/group01/male_03.mdl Male 4 - models/player/group01/Male_04.mdl Male 5 - models/player/group01/Male_05.mdl Male 6 - models/player/group01/Male_06.mdl Male 7 - models/player/group01/Male_07.mdl Male 8 - models/player/group01/Male_08.mdl Male 9 - models/player/group01/Male_09.mdl[/CODE]
Sorry, you need to Log In to post a reply to this thread.