PlayerDatabase - Failed to compile: PlayerDatabase.cs(229,59): error CS1503: Argument `#2' cannot convert `float' expression to type `int'
Cannot convert `float' expression to type `int'Fixed
Got the same error.
Merged post
Found fix on enhancedBanSystem's forum. They changed time from being a floating point number of seconds to an integer of milliseconds. The fix is changing
to
Merged post
Found fix on enhancedBanSystem's forum. They changed time from being a floating point number of seconds to an integer of milliseconds. The fix is changing
using (TimeWarning.New("Save PlayerDatabase", 0.01f))to
using (TimeWarning.New("Save PlayerDatabase", 10))If you do a search of the source file(PlayerDatabases.cs) to find TimeWarning it will be the only instance of the keyword and it is found on line 226.
Locked automatically