A way to get curent time from the compiler? - 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: A way to get curent time from the compiler? (
/showthread.php?tid=605149)
A way to get curent time from the compiler? -
nGen.SoNNy - 15.04.2016
Is there a way to compile a script and using date from the compiler? I want to use something like this:
Mode: RPG Romania 15.04.16, 12:18:39
So when i hit the Compile the Pawno will get the date?!
( Just asking...don't be rude
)
Re: A way to get curent time from the compiler? -
Godey - 15.04.2016
You can't do that....
Why would you want to anyway?
Re: A way to get curent time from the compiler? -
yugecin - 15.04.2016
You could write a little program that would copy your pwn file and add a line in the beginning (like #define __DATETIME__ ....) and then let that program start the compiler on the copied pwn.