format sec
#1

formatsec dont work it givs me wrong answer

only the "days" works
pawn Код:
stock formatsec(secounds, &days, &months, &years)
{
    days = secounds/3600/24;
    months = secounds/5200/30;
    years = secounds/360;
}
Reply


Messages In This Thread
format sec - by Unknown123 - 02.09.2011, 15:43
Re: format sec - by MadeMan - 02.09.2011, 15:48
Re: format sec - by Lorenc_ - 02.09.2011, 15:49
Re: format sec - by Unknown123 - 02.09.2011, 15:49
Re: format sec - by MadeMan - 02.09.2011, 15:51
Re: format sec - by Unknown123 - 02.09.2011, 15:56
Re: format sec - by Vince - 02.09.2011, 16:38
Re: format sec - by Unknown123 - 02.09.2011, 16:40
Re: format sec - by SloProKiller - 02.09.2011, 17:32
Re: format sec - by MadeMan - 02.09.2011, 19:51

Forum Jump:


Users browsing this thread: 1 Guest(s)