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!

Resistance uniform not wearable

Discussion in 'Discussion' started by Alevaric, Jan 31, 2013.

  1. I changed the citizen faction and class to Refugee and then removed the Citizens. After this I set the new refugee to be the default.

    A few days later someone reported the problem to me that they cannot wear the resistance uniform and gave the user the message "You are not a citizen!". After looking at the items coding I couldn't find anything to do with this problem

    Can someone please tell me where I need to look to fix this problem and also what I have to do.

    Also can someone also tell me how to make custom ammo for weapons that I've added to the server, I'm struggling with this aswell.

    Many thanks.
     
  2. Hi!
    For a start open the file schema/items/sh_clothes_base.lua
    Replace your function ITEM:OnUse (player, itemEntity) with mine
    Profit!
     
  3. Thanks for the speedy reply! :)

    Now to wait for the help with creating ammo
     
  4. Datzy

    Datzy Guest

    What type of ammo? I might be able to code that for you.
     
  5. Well first off I want to be able to add weapons so they use an existing ammo type (Like a rifle that uses .357)

    I also want to be able to make a new ammo for rifles (Very much like 5.56mm) and add all the assult rifles items so they use that ammo
     

Previous Readers (Total: 0)