SA-MP Forums Archive
Can i get date of file gamemode edit? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Can i get date of file gamemode edit? (/showthread.php?tid=286520)



Can i get date of file gamemode edit? - ToFFiK - 29.09.2011

I have question, can i get edit date of gamemode file? Becouse i want to create text witch date of last update, but manual edit text in gamemode is boring,


Re: Can i get date of file gamemode edit? - Babul - 29.09.2011

can some mod put this into the suggestion / 0.3d-rc2 scripting please?
something like
Код:
native GetFileInfoString(const filename[], const type[]);
..returning a string, a "flags" type returns: "RWD"
and, as suggested already, the "date" type returns: "2011-09-29-17:33.50"
would be a.w.e.s.o.m.-o 4000