/time little bug
#1

Код:
CMD:time(playerid, params[])
{
	new hh, mm, ss, string[128];
    gettime( hh, mm, ss );
	format(string, sizeof(string), "~g~[~w~%d:%d~g~]", hh, mm);
	GameTextForAll( string, 8000, 1 );
	return 1;
}
It works fine, but say the time IRL is '17:26' it will display it as '17:2' And not the full minutes..?
Reply


Messages In This Thread
/time little bug - by izeatfishz - 16.04.2015, 15:15
Re: /time little bug - by Azula - 16.04.2015, 15:21
Re: /time little bug - by Alpay0098 - 16.04.2015, 15:37

Forum Jump:


Users browsing this thread: 1 Guest(s)