SA-MP Forums Archive
how to make like this - 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: how to make like this (/showthread.php?tid=638785)



how to make like this - SilverMapper - 06.08.2017

how can i script like this
i want to make this names how can i make 2 names of 1 server pls tell me


pls tell needed help

thnx
a.PNG
s.PNG


Re: how to make like this - Fratello - 06.08.2017

Код HTML:
forward UpdateHostName();

public GameModeInit()
{
   SetTimer("UpdateHostName",1000,1); // Update your timer as you wish.
   return 1;
}

public UpdateHostName()
{
   new hostname = random(3);
   switch (hostname)
   {
     case 0: SendRconCommand("hostname HOSTNAME #1");
     case 1: SendRconCommand("hostname HOSTNMAME #2");
     case 2: SendRconCommand("hostname HOSTNAME #3");
   }



Re: how to make like this - Matz - 06.08.2017

Files are in attachment


Re: how to make like this - SilverMapper - 06.08.2017

thnx