15.03.2019, 08:38
(
Последний раз редактировалось qRazor; 15.03.2019 в 09:32.
)
Quote:
There's a much better version in y_utils. The one in that post takes `(max, min)` as parameters, which makes no sense. The one in y_utils either takes `(max)` or `(min, max)`:
https://github.com/pawn-lang/YSI-Inc....inc#L421-L454 |
EDIT: I need a little help again.. how i can extract an integer from float? Floatround over 0.50 rounded to a value of 1, it's possible to make if i have a value of 0.99, the integer number to be 0?