Quote:
Originally Posted by edon1337
03 to be in szHour string and 43 in szMinutes string, note that we have to get rid of the first zeros.
Ex: 03:09 - > 3:9
|
new szHours[3], szMinutes[3] // 3rd = string terminator
num_to_str(str_to_num(szTime), szHours, charsmax(szHours));
num_to_str(str_to_num(szTime[2]), szMinutes, charsmax(szMinutes));
__________________