Cannot convert `float' expression to type `int'Fixed
EnhancedBanSystem - Failed to compile: EnhancedBanSystem.cs(636,55): error CS1503: Argument `#2' cannot convert `float' expression to type `int'
Add me to discord paulsimik#0506

Error while compiling: PlayerDatabase.cs(229,59): error CS1503: Argument `#2' cannot convert `float' expression to type `int'

Seems to be an ongoing issue since the holiday update, anyone have a fix to share for this?
TimeWarning was using float (seconds), now it is using int (milliseconds)

//OLD
using (TimeWarning.New("CanUserLogin", 0.01f))
using (TimeWarning.New("OnUserConnected", 0.01f))

//NEW
using (TimeWarning.New("CanUserLogin", 10))
using (TimeWarning.New("OnUserConnected", 10))​
I'm getting unknown command
tyvm for sharing this fix @chadomat, confirmed working.
Works tyvm, also chokitu all you do is change 0.01f to 10 and it should work.
Locked automatically