[Tutorial] [Revised] Defining your script version and showing it
#3

Quote:
Originally Posted by [DOG]irinel1996
Посмотреть сообщение
Macros (defines) don't store anything, they're like a "mask".

Best way to do that (I think):
pawn Код:
#define SERVER_VERSION            "v0.1"

public OnPlayerConnect(playerid) {
    SendClientMessage(playerid, -1, "Current version: "SERVER_VERSION"");
    return 1;
}
Thanks for sharing anyway.

Best regards.
This +1
Reply


Messages In This Thread
[Revised] Defining your script version and showing it - by thistooshallpass93 - 16.03.2013, 20:16
Respuesta: [Revised] Defining your script version and showing it - by [DOG]irinel1996 - 17.03.2013, 19:13
Re: Looking For a Free Hoster = You Win Administrator Rank.[RP Server] - by [GF]Logic - 17.03.2013, 19:49
Re: [Revised] Defining your script version and showing it - by thistooshallpass93 - 19.03.2013, 02:30

Forum Jump:


Users browsing this thread: 1 Guest(s)