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