1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Sign up for news, events and more!

    You're currently visiting the official DarkRP Forums as a guest. Sign up now to participate in our community and we'll let you know when we have news.

Player Job Trouble

Discussion in 'DarkRP Modding Questions & Help' started by Jackadaisical, Jan 26, 2019.

  1. Jackadaisical

    Jackadaisical New Member

    I seem to be having trouble with my player models. They're just walking error signs.
    I'm using the ECPD player models addon.

    Here's the script:

    TEAM_GOVERNMENT = DarkRP.createJob("Police", {
    color = Color(25, 25, 170, 255),
    model = {"models/player/ecpd/male_01.mdl", "models/player/ecpd/male_02.mdl", "models/player/ecpd/male_03.mdl", "models/player/ecpd/male_04.mdl", "models/player/ecpd/male_05.mdl", "models/player/ecpd/male_06.mdl", "models/player/ecpd/male_07.mdl", "models/player/ecpd/male_08.mdl", "models/player/ecpd/male_09.mdl"},
    description = [[Protect and Serve]],
    weapons = {"arrest_stick", "unarrest_stick", "m9k_glock17tac", "stunstick", "door_ram", "weaponchecker"},
    command = "cp",
    max = 10,
    salary = 30,
    admin = 0,
    vote = true,
    hasLicense = true,
    category = "Civil Protection",
    })

    I'm using Winstri hosting.
     
  2. Claims

    Claims New Member

    EDIT: Next time you ask for help, pleas add a link to the playermodels. There is alot of ECPD models...
    So this was my guess:
    If its this https://steamcommunity.com/sharedfiles/filedetails/?id=576517817&insideModal=0&requirelogin=1 ? then the playermodels are:

    Code (Text):
    AddPlayerModel( "Police Officer 1_1","models/taggart/police01/male_01.mdl")
    AddPlayerModel( "Police Officer 2_1","models/taggart/police01/male_02.mdl")
    AddPlayerModel( "Police Officer 3_1","models/taggart/police01/male_03.mdl")
    AddPlayerModel( "Police Officer 4_1","models/taggart/police01/male_04.mdl")
    AddPlayerModel( "Police Officer 5_1","models/taggart/police01/male_05.mdl")
    AddPlayerModel( "Police Officer 6_1","models/taggart/police01/male_06.mdl")
    AddPlayerModel( "Police Officer 7_1","models/taggart/police01/male_07.mdl")
    AddPlayerModel( "Police Officer 8_1","models/taggart/police01/male_08.mdl")
    AddPlayerModel( "Police Officer 9_1","models/taggart/police01/male_09.mdl")
    If it this: https://steamcommunity.com/sharedfiles/filedetails/?id=295069403
    Then the playermodels are:
    Code (Text):
    AddPlayerModel( "ECPD 1","models/ECPD/male_01.mdl")
    AddPlayerModel( "ECPD 2","models/ECPD/male_02.mdl")
    AddPlayerModel( "ECPD 3","models/ECPD/male_03.mdl")
    AddPlayerModel( "ECPD 4","models/ECPD/male_04.mdl")
    AddPlayerModel( "ECPD 5","models/ECPD/male_05.mdl")
    AddPlayerModel( "ECPD 6","models/ECPD/male_06.mdl")
    AddPlayerModel( "ECPD 7","models/ECPD/male_07.mdl")
    AddPlayerModel( "ECPD 8","models/ECPD/male_08.mdl")
    AddPlayerModel( "ECPD 9","models/ECPD/male_09.mdl")
     
  3. Jackadaisical

    Jackadaisical New Member

    The second one is correct, I apologize for not handing out a link. I'm also going to apologize for asking a question that I should already know the answer to. Do I type the script after the model = or do I type it in a completely different folder?
     
  4. Claims

    Claims New Member

    This should work.
    Code (Text):
    TEAM_GOVERNMENT = DarkRP.createJob("Police", {
    color = Color(25, 25, 170, 255),
    model = {
        "models/ECPD/male_01.mdl",
        "models/ECPD/male_02.mdl",
        "models/ECPD/male_03.mdl",
        "models/ECPD/male_04.mdl",
        "models/ECPD/male_05.mdl",
        "models/ECPD/male_06.mdl",
        "models/ECPD/male_07.mdl",
        "models/ECPD/male_08.mdl",
        "models/ECPD/male_09.mdl"
    },
    description = [[Protect and Serve]],
    weapons = {"arrest_stick", "unarrest_stick", "m9k_glock17tac", "stunstick", "door_ram", "weaponchecker"},
    command = "cp",
    max = 10,
    salary = 30,
    admin = 0,
    vote = true,
    hasLicense = true,
    category = "Civil Protection",
    })
    Here is were I founded the playermodels.

    upload_2019-1-26_20-40-58.png
     

Share This Page