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: Server name (
/showthread.php?tid=168796)
Server name -
LZLo - 17.08.2010
![Wink](images/smilies/wink.png)
im not beginner, but i want to see how can i do that:
the server name is for example:
PHP код:
"0.3b RC3 StunTers Xtreme"
next seond the server name is changing to
![shocked](images/smilies/eek.png)
![Grin](images/smilies/biggrin.gif)
Re: Server name -
Zamaroht - 17.08.2010
First, you need a timer (that repeats itself, for example). The function that the timer executes, should have the following line:
pawn Код:
SendRconCommand("hostname new_server_name");
You can also have a global variable to keep track of the current server name, and change it accordingly.
Re: Server name -
LZLo - 17.08.2010
just with a timer?
ok
thanks