If you use the code I posted in post #8, then the deduction will be based on the accumulated active points prior to the infraction being issued. So, for example, suppose a user has 3 active points, and you then issue a warning...$userinfo['ipoints'] will be equal to 3.
But, if you use the hook location and variable I suggested in post #10, then $vbulletin->GPC['points'] will be equal to 0.
|