Change the server name
#1

How do I change the server name? I mean, what's the SendRconCommand thing? I can't find it on the wiki, it doesn't show it with the other commands.
Reply
#2

you mean like /rcon changename [name]? i dont think thats possible

but yet idk
Reply
#3

Yes, it is possible.
Reply
#4

tried wiki?
Reply
#5

SendRconCommand("changename ServerName");
Reply
#6

Yes, /servername is scriptable.
Reply
#7

pawn Код:
#define SERVER_NAME "This is the server name"

new SendCommand[128];
format(SendCommand, sizeof(SendCommand), "hostname %s", SERVER_NAME);
SendRconCommand(SendCommand);
Enjoy. Edit it for your need.
Reply
#8

I wasn't asking for a command but whatever, thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)