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!

RCS Problem

Discussion in 'Programming' started by Rainbow Banana, Jul 24, 2013.

  1. Whenever I try to equip a pistol and assault rifle, it says I cannot have another secondary weapon. Also, when I use an assault rifle without a pistol, it comes up on my hip, in an awkward place. Any way to fix this?
     
  2. Kezter

    Kezter Certified Old Fag

    The weapons item file determines if its a Primary or Secondary. The ITEM.weight value is what it depends on. Normaly If I want to set a weapon as a primary I set the ITEM.weight to around 5-6 for e.g:

    Code:
    ITEM.weight = 5;
    For a secondary weapon I normaly set it around 1-3 for e.g:

    Code:
    ITEM.weight = 2;
     
  3. Thanks for the help, I will try this.
     
  4. Whenever I try to edit that, it doesn't work, and keeps the original weight. I set the weight in the Plugin for it, and didn't program the weapons myself. But the weight keeps in the file, but not in game.
     
  5. Faoeoa

    Faoeoa Bored as shit, will do simple devving.

    Still having this issue?
    Send the file or upload it here.
     

Previous Readers (Total: 0)