06.10.2011, 09:55
stock ETL(playerid, msg[])
{
{
new}name[MAX_PLAYER_NAME], // use MAX_PLAYER_NAME for names... 256 is unneeded...GetPlayerName(playerid, name, MAX_PLAYER_NAME);
ye,
mo,
da,
ho,
mi,
se
f1[128], // 128 is all you need...
File: Evo=fopen("evotunelog.txt", io_append);
gettime(ho, mi, se);
getdate(ye, mo, da);
format(f1, 128, "%s %s Date: %d / %d / %d Time: %d : %d : %d\n", name, msg, da, mo, ye, ho, mi, se);
fwrite(Evo, f1);
fclose(Evo);
return 1;