Crit Issue
Pretty simple question here, don't know about response. Ever since I added this to my server, I didn't attempt to fix the problem, because, well, I didn't know there was one. I set it up to where anyone with ADMFLAG_CUSTOM1 receives %100 critical strikes. This works fine, however this disabled all crits for anyone else without this flag. (Even when uber charge or an all crits weapon is being used)
Easy fix question mark :) PHP Code:
|
Re: Crit Issue
Try removing result = false; and changing the last line to return Plugin_Continue; instead.
As it currently stands, result = false; ensures that everyone without the ADMFLAG_CUSTOM1 do not get crits, then that change is set in stone by returning Plugin_Handled. Removing those two lines, and instead using return Plugin_Continue; would allow the normal calculations to continue, i.e. allowing other players to sometimes get crits. |
Re: Crit Issue
And that did it, thanks man. :)
|
All times are GMT -4. The time now is 02:48. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.