Does RCON commands allow formatting?
#1

pawn Код:
SendRconCommand("hostname %s", SERVER_NAME);
    SendRconCommand("gamemodetext %s", SERVER_MODE);
    SendRconCommand("mapname %s", SERVER_MAP);
pawn Код:
#define SERVER_NAME "San Andreas Online"
#define SERVER_MAP "San Andreas"
#define SERVER_MODE "SAOnline 1.0"
The first code is not compiling successfully. Does that mean that RCON commands do not allow formatting, as seen in the aforementioned code? If not, what's the way of doing this?
Reply


Messages In This Thread
Does RCON commands allow formatting? - by Twizted - 15.07.2014, 13:08
Re: Does RCON commands allow formatting? - by amirab - 15.07.2014, 13:33
Re: Does RCON commands allow formatting? - by Dragonsaurus - 15.07.2014, 13:36
Re: Does RCON commands allow formatting? - by Twizted - 15.07.2014, 14:46

Forum Jump:


Users browsing this thread: 1 Guest(s)