Posts: 5
Threads: 3
Joined: Mar 2012
Reputation:
0
Hi, i have question how to define variable, i give example what i want
#define VER "getdate()"
Of course i have error and PAWNO crashes... I want make in define variable with date, it possible to do it?
Posts: 5
Threads: 3
Joined: Mar 2012
Reputation:
0
Iwant something in effect:
SetGameModeText("GM 2012:04:14");
But of course with variable
SetGameModeText(""VER"");
i have like i too write define
#define VER "GM getdate()"
Posts: 1,418
Threads: 63
Joined: Dec 2010
Reputation:
0
new string[64];
new d, m, y;
getdate(d, m, y);
format(string, 64, "%d.%d.%d gm name", d, m, y);
SetGameModeText(string);
Sorry, I'm using q cellphone for wriing this
Posts: 5
Threads: 3
Joined: Mar 2012
Reputation:
0
Thanks, is possibility to make this in define? Because i use def in other places too,