Quote:
Originally Posted by iFarbod
pawn Код:
stock SetHostName(string[]) { new command[128]; format(command, sizeof command, "hostname %s", string); SendRconCommand(command); }
stock SetMapName(string[]) { new command[128]; format(command, sizeof command, "mapname %s", string); SendRconCommand(command); }
stock SetGMText(string[]) { new command[128]; format(command, sizeof command, "gamemodetext %s", string); SendRconCommand(command); }
|
Needless to say, Why should we do such a thing while the other one
SendRconCommand("hostname <hostname>");
SendRconCommand("gamemodetext <text>");
SendRconCommand("mapname <map name>");