![]() |
|
[C] Better way to calculate percent for chicken settings? - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [C] Better way to calculate percent for chicken settings? (/showthread.php?tid=3433589) |
Better way to calculate percent for chicken settings? - RHurford89 - Apr 24, 2013 better way to calculate percent for my chicken settings? Struct Code BYTE CalcPercent(DWORD dwVal, DWORD dwMaxVal, BYTE iMin)Chicken.cpp Code BOOL TriggerTown()* - Krofnica - Apr 24, 2013 How the hell are we supposed to know why are you shifting those bits in TriggerTown()? And not to mention number of parameters doesn't match! Try this: Spoiler (Click to View) * - RHurford89 - Apr 24, 2013 sorry i was testing a few things and i forgot to switch that one back over. |