[FilterScript] Simple Host Name & Mapname Gamemode text changer
#4

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>");
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)