[FilterScript] [FS] Auto HostName,Map,GM
#1

Auto HostName,MAP,GM
pawn Code:
#include <a_samp>
public OnFilterScriptInit()
{
SetTimer("hostname",3000,1);
SetTimer("mapname",3000,1);
SetTimer("gamemode",3000,1);
return 1;
}
forward hostname();
public hostname()
{
   new var = random(5);
   switch (var)
   {
     case 0: SendRconCommand("hostname _______|-Clan Of Honourable Knights-|_______");
     case 1: SendRconCommand("hostname _______|-Professional Clan-|_______");
   }
}
forward mapname();
public mapname()
{
   new var = random(5);
   switch (var)
   {
     case 0: SendRconCommand("mapname China Town!");
     case 1: SendRconCommand("mapname India!");
     case 2: SendRconCommand("mapname New Verstroia!");
     case 3: SendRconCommand("mapname DigiWorld");
     case 4: SendRconCommand("mapname EgyPt");
   }
}
forward gamemode();
public gamemode()
{
   new var = random(2);
   switch (var)
   {
     case 0: SendRconCommand("gamemodetext MYGM");
     case 1: SendRconCommand("gamemodetext New GM");
   }
}

This is a simple hostname,map,gm name changing fs just try it for a cool
Reply
#2

Sounds pretty good. Good job.
Reply
#3

thanks :P
Reply
#4

Code:
#include <a_samp>
public OnFilterScriptInit()
{
    SetTimer("Randoms",3000, true);

    return 1;
}

forward Randoms();
public Randoms()
{
   switch (random(2))
   {
     case 0: SendRconCommand("hostname _______|-Clan Of Honourable Knights-|_______");
     case 1: SendRconCommand("hostname _______|-Professional Clan-|_______");
   }

   switch (random(5))
   {
     case 0: SendRconCommand("mapname China Town!");
     case 1: SendRconCommand("mapname India!");
     case 2: SendRconCommand("mapname New Verstroia!");
     case 3: SendRconCommand("mapname DigiWorld");
     case 4: SendRconCommand("mapname EgyPt");
   }

   switch (random(2))
   {
     case 0: SendRconCommand("gamemodetext MYGM");
     case 1: SendRconCommand("gamemodetext New GM");
   }

   return 1;
}
Reply
#5

pawn Code:
public ChangeHostName()
{
new var=random(7);
switch(var)
{
case 0: SendRconCommand("hostname [NBTDM]And Stunts Server");
case 1: SendRconCommand("hostname Total Deathmatch World[NBTDM]");
case 2: SendRconCommand("hostname The Adrenaline World Of [NBTDM]");
case 3: SendRconCommand("hostname http://www.nbcnr.tk/www.nbtdm.tk [NBTDM]");
case 4: SendRconCommand("hostname [*NEW*]CS Maps [NBTDM]Total StuntWar World");
case 5: SendRconCommand("hostname [http://www.nbcnr.tk][NBTDM]{.::G::}Stunt World");
case 6: SendRconCommand("hostname Stunt•Tdm•Dm•Race•Fun•Advanced StuntWorld");
     }
    }

public GameModeChanger()
{
new var=random(9);
switch (var)
{
case 0: SendRconCommand("gamemodetext Stunts•Team Deathmatch•Deathmatch•Race•Clans");
case 1: SendRconCommand("gamemodetext Made By Blacklisted_Bboy •[www.nbtdm.tk]•");
case 2: SendRconCommand("gamemodetext Events/Races/Fun/War/Stunt/TDM");
case 3: SendRconCommand("gamemodetext Join Clan now www.nobalance.tk");
case 4: SendRconCommand("gamemodetext http://www.nbcnr.tk http://www.nbtdm.tk www.nobalance.tk");
case 5: SendRconCommand("gamemodetext Total Deathmatch/TDM And Adrenaline Club");
case 6: SendRconCommand("gamemodetext •A•drenaline Stunt World Have Fun Now!!");
case 7: SendRconCommand("gamemodetext [•N•B•T•D•M•]•A•N•D•S•T•U•N•T•S•S•E•R•V•E•R");
case 8: SendRconCommand("gamemodetext [•NEW•]Counter Strike Maps ADDED Now Join Us");
}
}

public MapNameChanger()
{
new var=random(4);
switch (var)
{
case 0: SendRconCommand("mapname cs_italy,de_dust2,island,+10 dmzones");
case 1: SendRconCommand("mapname Made By Blacklisted®!");
case 2: SendRconCommand("mapname Stuntmania World Of No Balance®");
case 3: SendRconCommand("mapname ®Total Fun Of Adrenaline StuntWorld");
}
}
...from my gamemode..i can;t understand why its similar..
Reply
#6

I think no need to make 3 seperate timer.
Reply
#7

hm dude. U making useful fs's. Thanks.
Reply
#8

Thanks, veyr good
Reply
#9

Good
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)