View Single Post
Shadows Adi
AlliedModders Donor
Join Date: Aug 2019
Location: Romania
Old 05-07-2021 , 15:23   Re: str_to_num question
Reply With Quote #2

%i is the same as %01, printing a one digit integer: 5
%02i will print a too digit integer: 05
%03i will print a three digit integer: 005
and so on...

PHP Code:
 server_print("%02i %02i %02i"iHoursTemp[id], iMinutesTemp[id], iSecondsTemp[id]) 
__________________


Accepting Paid Requests, contact PM.

MVP Of The Round View project on GITHUB / AlliedModders
CSGO REMAKE ~ CSGO MOD [STABLE + SOURCE CODE]
Shadows Adi is offline