Change the server name - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Change the server name (
/showthread.php?tid=158638)
Change the server name -
Venturas - 10.07.2010
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.
Re: Change the server name -
Kar - 10.07.2010
you mean like /rcon changename [name]? i dont think thats possible
but yet idk
Re: Change the server name -
Venturas - 10.07.2010
Yes, it is possible.
Re: Change the server name -
Kar - 10.07.2010
tried wiki?
Re: Change the server name -
Carlton - 10.07.2010
SendRconCommand("changename ServerName");
Re: Change the server name -
Dennis - 10.07.2010
Yes, /servername is scriptable.
Re: Change the server name -
MikkelGutten - 10.07.2010
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.
Re: Change the server name -
Venturas - 12.07.2010
I wasn't asking for a command but whatever, thanks.