1. This forum is ARCHIVED! Visit the new Cloud Sixteen forums, codename Eden, at https://eden.cloudsixteen.com. These forums will remain archived for a few months before being closed down, so try to encourage plugin developers to begin moving their content across to the new forums.
Dismiss Notice
Hi Guest, you need a Steam account to register and post on these forums. Login with Steam at the top of the forums to get started!
Dismiss Notice
Hi Guest, do you want to buy HL2RP or another Clockwork schema? Visit the Cloud Sixteen Store to get started!

HL2RP How do I put new models in the character selection screen?

Discussion in 'Discussion' started by awsome301, Nov 25, 2015.

  1. I need help with this because I am using custom models but I don't know how to input them or anything. Any one know how to do it?
     
  2. vexus

    vexus ej rockwell's worst nightmare Staff Member Manager Legend Clockwork Customer

    Let's say you want to add extra models for MPF.

    Find garrysmod/gamemodes/cwhl2rp/schema/factions/sh_mpf.lua

    sh_mpf.lua - Go to line 11. It should look like this.
    Code:
    FACTION.models = {
       female = {"models/police.mdl"},
       male = {"models/police.mdl"},
    };
    
    Here's an edited version.

    sh_mpf.lua
    Code:
    FACTION.models = {
      female = {
       "models/police.mdl",
       "model/path/here.mdl",
       "model/path/here.mdl",
    
    }
    
      male = {
       "models/police.mdl",
       "model/path/here.mdl",
       "model/path/hewe.mdl",
    }
    };
    
     
  3. Thank you also do you. But I also need to do this for citizens but there layout is diffrent. do you know how to use /advertadd?
     
  4. vexus

    vexus ej rockwell's worst nightmare Staff Member Manager Legend Clockwork Customer

    Use it like this:

    /advert add "linktoimage.com/image.png" "width" "height"

    So for example:

    /advertadd "http://forums.cloudsixteen.com/logo.png" "500" "250"
     
  5. IS there a way to remove a advert out of game because I made 1 too big and wont allow me to join
     
  6. vexus

    vexus ej rockwell's worst nightmare Staff Member Manager Legend Clockwork Customer

    /advertremove is the command in-game. If you can't join at all, I don't know what to tell you.
     
  7. Sim2014ftw

    Sim2014ftw le professional leaker

    What do you mean by "Won't allow me to join"? Did your server crash or..?
     
  8. Yea I fixed it by wiping the server. I did make a backup so that was helpful. But I still need help on how to put citizen models in the create character screen.
     
  9. vexus

    vexus ej rockwell's worst nightmare Staff Member Manager Legend Clockwork Customer

    It's the same process for the Citizen faction, just go to sh_citizen.lua instead.
     

Previous Readers (Total: 0)