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

Have these functions (by me).

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


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)