25.05.2015, 16:06
hi
how i can change Decimal numbers to number
like 1.05 to 1 ?
this my code:
i do it for minute, Time[playerid] its a second ! now only Second (%02d) Remain.
i wanna do this ((Time[playerid]/60)x)-Time[playerid]. x will do something to Decimal numbers from Division become a number.
sorry for my bad english !
how i can change Decimal numbers to number
like 1.05 to 1 ?
this my code:
pawn Code:
format(string,sizeof(string),"For Chating You Must Wait %d:%02d",Time[playerid]/60,NeedCode);
i wanna do this ((Time[playerid]/60)x)-Time[playerid]. x will do something to Decimal numbers from Division become a number.
sorry for my bad english !