Server.cfg :
echo Executing Server Config...
lanmode 0
password
rcon_password password
maxplayers 36
port 77777
hostname [FLA] Cops and Robbers
gamemode0 SFCRRPG 1
filterscripts
plugins irc streamer sscanf
announce 0
query 1
weburl
www.flacnr.smfnew.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 1
Code :
(line 1460-1474)
public OnGameModeInit()
{
new string[128];
format(string,sizeof(string),"hostname [FLA] Cops and Robbers v%s",sversion);
SendRconCommand(string);
SetGameModeText("Cops and Robbers");
SetTeamCount(1);
AllowInteriorWeapons(1);
//UsePlayerPedAnims();
SetWorldTime(12);
SetWeather(10);
ManualVehicleEngineAndLights();
AllowAdminTeleport(1);
ConnectNPC("Billy","SFTram");
(line 15946 - 15995)
public GameModeText() // There is more Types of the normal message because we want this shown the most often.
{
new string[128];
new grand =random(9);
if(grand == 1)
{
format(string,sizeof(string),"hostname [FLA] Cops and Robbers v%s",sversion);
SendRconCommand(string);
}
if(grand == 2)
{
format(string,sizeof(string),"hostname [FLA] Cops and Robbers");
SendRconCommand(string);
}
if(grand == 3)
{
format(string,sizeof(string),"hostname [FLA] Cops and Robbers");
SendRconCommand(string);
}
if(grand == 4)
{
format(string,sizeof(string),"hostname [FLA] Cops and Robbers");
SendRconCommand(string);
}
if(grand == 5)
{
format(string,sizeof(string),"hostname [FLA] Cops and Robbers",sversion);
SendRconCommand(string);
}
if(grand == 6)
{
format(string,sizeof(string),"hostname [FLA] Cops and Robbers v%s",sversion);
SendRconCommand(string);
}
if(grand == 7)
{
format(string,sizeof(string),"hostname [FLA] Cops and Robbers v%s",sversion);
SendRconCommand(string);
}
if(grand ==

{
format(string,sizeof(string),"hostname [FLA] Cops and Robbers v%s",sversion);
SendRconCommand(string);
}
if(grand == 9)
{
format(string,sizeof(string),"hostname [FLA] Cops and Robbers v%s",sversion);
SendRconCommand(string);
}
}