I want to get connectionTime of all activePlayerList. VisualStudio displays that it should be common DateTime and not showing any error. If I copy the plugin to the server then I get:
Error while compiling: cannot implicitly convert type 'double' to 'System.DateTime'
I tried to 'Puts' the real value of player.Connection.connectionTime (example below) and it really shows double (89911.0625)
Any idea?
foreach (BasePlayer player in BasePlayer.activePlayerList)
{
Puts(player.Connection.connectionTime.ToString());
} 