Hello guys,
I tried to add the command "idles" minutes and seconds (while the player is idle), it works but not how I want.
And my problem is: InSim not put more than 1 minute
I tried to add the command "idles" minutes and seconds (while the player is idle), it works but not how I want.
And my problem is: InSim not put more than 1 minute
if (i.IsAFK == true)
{
string Minutes = "0";
string Seconds = "0";
Minutes = "" + (Conn.AFKTick / 60);
if ((Conn.AFKTick - ((Conn.AFKTick / 60) )) < 10)
{
Seconds = "0" + (Conn.AFKTick - ((Conn.AFKTick / 60) * 60));
}
else
{
Seconds = "" + (Conn.AFKTick - ((Conn.AFKTick / 60) * 60));
}
Found = true;
MsgPly("^7» Idle: " + i.PlayerName +" ^7(" + Minutes + ":" + Seconds + "^7)", MSO.UCID);