18.01.2015, 20:27
}
public OnGameModeInit()
{
SendRconCommand("mapname test");
new versionstr[20];
format(versionstr, sizeof(versionstr), "%s", ServerioVersija);
SetGameModeText(versionstr);
if(GetMaxPlayers() > MAX_PLAYERS)
{
print("GetMaxPlayers > MAX_PLAYERS, padidinkite MAX_PLAYERS skaiciu.");
SendRconCommand("exit");
return 1;
}
mysql_debug(true); // true - Debug'as ijungtas.
mysql_connect(MySQL_HOST, MySQL_USER, MySQL_DATA, MySQL_PASS);
if(mysql_ping() >= 1) print("Prisijungeme prie MySQL sekmingai!");
else SendRconCommand("exit");
for(new pick; pick < MAX_PICKUPS; pick++) DestroyPickup(pick);
EnableStuntBonusForAll(false);
SetNameTagDrawDistance(30);
LimitGlobalChatRadius(20);
AllignMaxPlayers();
DisableInteriorEnterExits();
ManualVehicleEngineAndLights();
ShowPlayerMarkers(0);
LoadSpawns();
EnableLobiai();
CreateMenues();
LoadVehicles();
LoadObject();
public OnGameModeInit()
{
SendRconCommand("mapname test");
new versionstr[20];
format(versionstr, sizeof(versionstr), "%s", ServerioVersija);
SetGameModeText(versionstr);
if(GetMaxPlayers() > MAX_PLAYERS)
{
print("GetMaxPlayers > MAX_PLAYERS, padidinkite MAX_PLAYERS skaiciu.");
SendRconCommand("exit");
return 1;
}
mysql_debug(true); // true - Debug'as ijungtas.
mysql_connect(MySQL_HOST, MySQL_USER, MySQL_DATA, MySQL_PASS);
if(mysql_ping() >= 1) print("Prisijungeme prie MySQL sekmingai!");
else SendRconCommand("exit");
for(new pick; pick < MAX_PICKUPS; pick++) DestroyPickup(pick);
EnableStuntBonusForAll(false);
SetNameTagDrawDistance(30);
LimitGlobalChatRadius(20);
AllignMaxPlayers();
DisableInteriorEnterExits();
ManualVehicleEngineAndLights();
ShowPlayerMarkers(0);
LoadSpawns();
EnableLobiai();
CreateMenues();
LoadVehicles();
LoadObject();

