WTF?!
#9

Quote:
Originally Posted by Mencent
Посмотреть сообщение
Hello!

Try this:
PHP код:
CMD:test(playerid,params[])
{
    new 
Hour2,Second2,Minute2,Day2,Month2,Year2,String[145];
    
gettime(Hour2,Second2,Minute2);
    
getdate(Day2,Month2,Year2);
    
format(String,sizeof String,"Time: %i:%i:%i | Date: %02d/%02d/%i",Hour2,Minute2,Second2,Day2,Month2,Year2);
    
MSG(playerid,C_RED,String);
    return 
1;

- Mencent
<3 thanks bro, It's working, but I already had the String defined in the top of the script
You got +Rep from me
Reply


Messages In This Thread
WTF?! - by Lirbo - 23.07.2015, 12:40
Re: WTF?! - by Gazzy - 23.07.2015, 12:45
Re: WTF?! - by liquor - 23.07.2015, 12:46
AW: WTF?! - by Mencent - 23.07.2015, 12:47
Re: WTF?! - by liquor - 23.07.2015, 12:49
Re: WTF?! - by Crystallize - 23.07.2015, 12:56
Re: WTF?! - by Gazzy - 23.07.2015, 12:58
Re: WTF?! - by Overhaul - 23.07.2015, 13:06
Re: AW: WTF?! - by Lirbo - 23.07.2015, 13:22
Re: WTF?! - by Crystallize - 23.07.2015, 13:38

Forum Jump:


Users browsing this thread: 1 Guest(s)