View Single Post
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 03-15-2018 , 01:51   Re: Plugin doesnt work...
Reply With Quote #6

Quote:
Originally Posted by shanapu View Post
Also in your line 103, the formula seem wierd.
Code:
TCount = TCount - (TCount % 2);
e.g TCount == 3
Code:
3 - (3 % 2) = 2
but on e.g TCount == 6
Code:
6 - (6 % 2) = 6
Not really, it's code to round down to the next closest even number without converting the values to floats.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline