Quantcast
Channel: SA-MP Forums - Filterscripts
Viewing all articles
Browse latest Browse all 595

[FilterScript] Hostname Changer by TheAGENT [My First FS]

$
0
0
Hey Guys
this is my first FilterScript HostName Changer

--------------------------------

FilterScript:
PHP Code:

////===========================================///
////==     Hostname Changer by TheAGENT     ==///
////=========================================///
/*
   Exemple :
     case 0: SendRconCommand("hostname \t » HostName Changer By TheAGENT  «");
     case 1: SendRconCommand("hostname \t » HostName Changer By TheAGENT  «");
     case 3: SendRconCommand("hostname \t » HostName Changer By TheAGENT  «");
     case 4: SendRconCommand("hostname \t » HostName Changer By TheAGENT  «");
*/

----------------------------------------------------------------
#include <a_samp>


forward hostname();

public 
OnFilterScriptInit()
{
SetTimer("hostname",2000,1);
return 
1;
}


public 
hostname()
{
   new var = 
random(4); // You must to add 1 exemple if you make 4 hostname (cases) you set random(5) [(4+1)] 
   
switch (var)
   {
     case 
0SendRconCommand("hostname \t » HostName Changer By TheAGENT  « ");
     case 
1SendRconCommand("hostname \t » HostName Changer By TheAGENT  « ");
     case 
2SendRconCommand("hostname \t » HostName Changer By TheAGENT  « ");
     case 
3SendRconCommand("hostname \t » HostName Changer By TheAGENT  « ");
   }



Viewing all articles
Browse latest Browse all 595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>