[HELP] Auto change name of server. - 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)
+--- Thread: [HELP] Auto change name of server. (
/showthread.php?tid=134896)
[HELP] Auto change name of server. -
hab2ever - 18.03.2010
Hello, guys
How to change my server name again and again like few servers do their names get changed after few seconds or minutes i wanna do it with mine server please help about it.
Re: [HELP] Auto change name of server. -
ScottCFR - 18.03.2010
Just send it to edit the config.
Re: [HELP] Auto change name of server. -
ScottCFR - 18.03.2010
Ok
Код:
(Set a timer)
SendRconCommand("hostname (What ever you want)");
Re: [HELP] Auto change name of server. -
Deat_Itself - 18.03.2010
pawn Код:
//Under ongamemodeinit
SetTimer("changehost", 3000,1); // it will change the server name after every 3 seconds
pawn Код:
forward changehost();
public changehost()
{
switch(hn)
{
case 0:
{
SendRconCommand("hostname the name u want");
hn++;
}
case 1:
{
SendRconCommand("hostname the name u want");
hn++;
}
case 2:
{
SendRconCommand("hostname the name u want");
hn = 0;
}
}
return 1;
}
You can do it how much names you want
Re: [HELP] Auto change name of server. -
hab2ever - 19.03.2010
Thank's, guys
Re: [HELP] Auto change name of server. -
manishmulchandani11 - 24.09.2012
Not Working
tell me where i have to Add? i am telling you lines..
Really Help me i want that and Get REP+
Re: [HELP] Auto change name of server. -
manishmulchandani11 - 24.09.2012
its Working Yes i fixed it and rep+
thanks for Help