19.11.2011, 13:46
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