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!

Uniforms

Discussion in 'Discussion' started by SyncxizT, Aug 7, 2013.

  1. How can i add uniforms like the rebel onces?
     
  2. sants1

    sants1 I'm an asshole. That's all.

    Code:
    local ITEM = Clockwork.item:New("clothes_base");
    	ITEM.cost = 300;
    	ITEM.name = "Bandit Armour";
    	ITEM.weight = 1;
    	ITEM.replacement = "models/avoxgaming/mrp/jake/bandit_light.mdl";
    	ITEM.description = "Clothing that includes a ski mask, and some combat boots";
    Clockwork.item:Register(ITEM);
    Replace the following with what you want, name the file: sh_whatever.lua and save it in your "ITEMS" folder.
     
  3. Okay, how do i add it to a flag?
     
  4. Datzy

    Datzy Guest

    Code:
    ITEM.access = "<flag>";
     
  5. sants1

    sants1 I'm an asshole. That's all.

    You don't need the <> I believe that will create script errors.
     
  6. Datzy

    Datzy Guest

    Code:
    [quote="Fayz_Golden"]
    You don't need the <> I believe that will create script errors.
    [/quote]
    
    <> is a common terminology, as in <yourtexthere>, <yournamehere>, etc.
    
    In reality it'd be something like
    [code = lua]ITEM.value = "v";
     
  7. How do i make it so the models looks like the one already useing, just with other clothes?
     
  8. Gearfiend

    Gearfiend Guest

    Care to reiterate?
     
  9. Dagger

    Dagger nice lanfing

    He COULD be meaning bodygroups, but to me it sounds like he's wanting to know how to set the Group. Like, Humans have Group_01 for citizen clothes, Group_03 for rebels and Group_03m for Medic rebels.
     
  10. The problem in the code is that group03m already exsists, and because of that does the player become one of the models that already exsisted (Rebel Models).. And it is not body groups i mean.

    EDIT: YES Dagger.. That is what i mean... When you are Citizen_01 You will become Rebel_01..
     
  11. Dagger

    Dagger nice lanfing

    ITEM.group = "group03";

    group03m is the medics. Under Q, go to browse, games, Garrysmod, Humans and under that you can see all of the groups you have for citizens.
     
  12. I know that but the problem is that the group i want to use also is named group03m..
     

Previous Readers (Total: 0)