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!

ITEM.protection

Discussion in 'Discussion' started by grafikerror, Feb 13, 2013.

  1. grafikerror

    grafikerror Clockwork Customer

    Is ITEM.protection working on clockwork , i tried it , it did'nt worked
    Can someone explain me how to fix this if this don't work anymore
    Thanks , and sorry for my bad english !
     
  2. Razor

    Razor Guest

    It does work.
     
  3. grafikerror

    grafikerror Clockwork Customer

    Are you sure about that ?
    I just want a confirmation.
    Thanks again !
     
  4. TJjokerR

    TJjokerR Formerly known as TJjokerR

    The framework Clockwork does not have this feature built in, it's a schema specific feature and does work in HL2RP.

    You can find where it works in the PlayerScaleDamageByHitGroup hook in cwHL2RP/schema/sv_hooks.lua. Around line 1758 if you haven't made too many adjustments.

    A reason for it being broken COULD be that you have another PlayerScaleDamageByHitGroup schema hook somewhere in the code that is overriding it. Make sure you do not declare hooks multiple times in the same environment to prevent them overriding eachother.
     

Previous Readers (Total: 0)