echo Executing Server Config... lanmode 0 hostname HS-gaming [Ultra-H.com] weburl www.sa-mp.com mapname HS language English password rcon_password rconpw maxplayers 20 bind 94.23.208.199 port 2525 maxnpc 0 rcon 0 announce 1 query 1 lagcompmode 1 messageholelimit 3000 messageslimit 500 ackslimit 1000 useartwork 1000 gamemode0 HS-RP filterscripts UltraHost plugins streamer.so whirlpool.so sscanf.so log-plugin.so nativechecker.so onfoot_rate 40 incar_rate 40 weapon_rate 40 stream_distance 300.0 stream_rate 1000
---------- Loaded log file: "server_log.txt". ---------- SA-MP Dedicated Server ---------------------- v0.3.7-R2, ©2005-2015 SA-MP Team [09:55:21] password = "" (string) [09:55:21] [09:55:21] Server Plugins [09:55:21] -------------- [09:55:21] Loading plugin: streamer.so [09:55:21] *** Streamer Plugin v2.9.3 by Incognito loaded *** [09:55:21] Loaded. [09:55:21] Loading plugin: whirlpool.so [09:55:21] [09:55:21] ================== [09:55:21] [09:55:21] Whirlpool loaded [09:55:21] [09:55:21] ================== [09:55:21] [09:55:21] Loaded. [09:55:21] Loading plugin: sscanf.so [09:55:21] [09:55:21] =============================== [09:55:21] sscanf plugin loaded. [09:55:21] Version: 2.8.1 [09:55:21] © 2012 Alex "******" Cole [09:55:21] =============================== [09:55:21] Loaded. [09:55:21] Loading plugin: log-plugin.so [09:55:21] >> plugin.log: v0.4 successfully loaded. [09:55:21] Loaded. [09:55:21] Loading plugin: nativechecker.so [09:55:21] Loaded. [09:55:21] Loaded 5 plugins. [09:55:21] [09:55:21] Filterscripts [09:55:21] --------------- [09:55:21] Loading filterscript 'UltraHost.amx'... [09:55:21] Loaded 1 filterscripts.
|
gamemode0 HS-RP |
|
gamemode0 HS-RP 1 |
public OnGameModeInit()
{
Streamer_VisibleItems(STREAMER_TYPE_OBJECT, VISIBLE_ITEMS);
djson_GameModeInit();
AntiDeAMX();
new hour, minute, second;
print("[system] Please wait whilst the script initiates...");
if(! fexist("Logs/AdminActions.log"))
{
dini_Create("Logs/AdminActions.log");
}
if(! fexist("Logs/ModeratorActions.log"))
{
dini_Create("Logs/ModeratorActions.log");
}
if(! fexist("Logs/Whitelist.log"))
{
dini_Create("Logs/AdminActions.log");
}
if(! fexist("Logs/PMchat.log"))
{
dini_Create("Logs/PMchat.log");
}
if(! fexist("Logs/OOCChat.log"))
{
dini_Create("Logs/OOCChat.log");
}
if(! fexist("Logs/ICChat.log"))
{
dini_Create("Logs/ICChat.log");
}
if(! fexist("Logs/Bans.log"))
{
dini_Create("Logs/Bans.log");
}
if(! fexist("Logs/Unbans.log"))
{
dini_Create("Logs/Unbans.log");
}
if(! fexist("Logs/Money.log"))
{
dini_Create("Logs/Money.log");
}
if(! fexist("Logs/Stat.log"))
{
dini_Create("Logs/Stat.log");
}
if(! fexist("Logs/Namechanges.log"))
{
dini_Create("Logs/Namechanges.log");
}
if(! fexist("Logs/GroupChat.log"))
{
dini_Create("Logs/GroupChat.log");
}
gettime(hour, minute, second);
#pragma unused minute
#pragma unused second
UsePlayerPedAnims();
ManualVehicleEngineAndLights();
EnableStuntBonusForAll(0);
DisableInteriorEnterExits();
LoadFilesIntoVars();
SetGameModeText(VERSION);
SetWorldTime(hour);
// TRAIN
AddStaticVehicle(538, -1946.0692, 183.2777, 26.7534, 355.7218, 24, 77);
// DMV Merits
DmvCar1 = AddStaticVehicleEx(551,1290.8246,-1876.9805,13.3474,0.0819,1,1,60);
DmvCar2 = AddStaticVehicleEx(551,1294.8663,-1876.9318,13.3515,0.5316,1,1,60);
DmvCar3 = AddStaticVehicleEx(551,1299.1188,-1876.8567,13.3530,0.1270,1,1,60);
DmvCar4 = AddStaticVehicleEx(551,1303.3761,-1876.9111,13.3530,0.8521,1,1,60);
//Pizzaboy Bike
PizzaBike1 = AddStaticVehicleEx(448,2106.5969,-1784.7167,12.9845,2.5816,3,6,60);
PizzaBike2 = AddStaticVehicleEx(448,2108.2314,-1784.7167,12.9866,359.2753,3,6,60);
PizzaBike3 = AddStaticVehicleEx(448,2110.1655,-1784.71672,12.9861,1.0882,3,6,60);
PizzaBike4 = AddStaticVehicleEx(448,2112.4841,-1784.7167,12.9860,355.1458,3,6,60);
PizzaBike5 = AddStaticVehicleEx(448,2114.9968,-1784.7167,12.9852,359.2919,3,6,60);
PizzaBike6 = AddStaticVehicleEx(448,2116.9883,-1784.7167,12.9865,359.1338,3,6,60);
PizzaBike7 = AddStaticVehicleEx(448,2118.9883,-1784.7167,12.9865,359.1338,3,6,60);
PizzaBike8 = AddStaticVehicleEx(448,2120.9883,-1784.7167,12.9865,359.1338,3,6,60);
Fuel[DmvCar1] = 150;
Fuel[DmvCar2] = 150;
Fuel[DmvCar3] = 150;
Fuel[DmvCar4] = 150;
Fuel[PizzaBike1] = 150;
Fuel[PizzaBike2] = 150;
Fuel[PizzaBike3] = 150;
Fuel[PizzaBike4] = 150;
Fuel[PizzaBike5] = 150;
Fuel[PizzaBike6] = 150;
Fuel[PizzaBike7] = 150;
Fuel[PizzaBike8] = 150;
// Removed, please feel free to re-add this whenever you have a web URL to set folks!
/*Textdraw1 = TextDrawCreate(1.000000,433.000000,"www.******.net");
TextDrawAlignment(Textdraw1, 0);
TextDrawBackgroundColor(Textdraw1, 0x000000ff);
TextDrawFont(Textdraw1, 2);
TextDrawLetterSize(Textdraw1, 0.499999,1.100000);
TextDrawColor(Textdraw1, 0xffffffff);
TextDrawSetOutline(Textdraw1, 1);
TextDrawSetProportional(Textdraw1, 1);
TextDrawSetShadow(Textdraw1, 1);*/
// Phone Answer (inside vehicle)
CellPhoneTextDrawInVehicle = TextDrawCreate(610.0, 400.0, "~r~ ~k~~VEHICLE_TURRETRIGHT~ ~w~to answer the call.");
TextDrawUseBox(CellPhoneTextDrawInVehicle, 0);
TextDrawFont(CellPhoneTextDrawInVehicle, 2);
TextDrawSetShadow(CellPhoneTextDrawInVehicle, 0);
TextDrawSetOutline(CellPhoneTextDrawInVehicle, 1);
TextDrawBackgroundColor(CellPhoneTextDrawInVehicle, 0x000000FF);
TextDrawColor(CellPhoneTextDrawInVehicle, 0xFFFFFFFF);
TextDrawAlignment(CellPhoneTextDrawInVehicle, 3);
// Phone Answer (out of vehicle)
CellPhoneTextDraw = TextDrawCreate(610.0, 400.0, "~r~~k~~PED_DUCK~ ~w~to answer the call.");
TextDrawUseBox(CellPhoneTextDraw, 0);
TextDrawFont(CellPhoneTextDraw, 2);
TextDrawSetShadow(CellPhoneTextDraw, 0);
TextDrawSetOutline(CellPhoneTextDraw, 1);
TextDrawBackgroundColor(CellPhoneTextDraw, 0x000000FF);
TextDrawColor(CellPhoneTextDraw, 0xFFFFFFFF);
TextDrawAlignment(CellPhoneTextDraw, 3);
// Animation
AnimationTextDraw = TextDrawCreate(610.0, 400.0, "~r~~k~~PED_JUMPING~ ~w~ to stop the animation.");
TextDrawUseBox(AnimationTextDraw, 0);
TextDrawFont(AnimationTextDraw, 2);
TextDrawSetShadow(AnimationTextDraw, 0);
TextDrawSetOutline(AnimationTextDraw, 1);
TextDrawBackgroundColor(AnimationTextDraw, 0x000000FF);
TextDrawColor(AnimationTextDraw, 0xFFFFFFFF);
TextDrawAlignment(AnimationTextDraw, 3);
// Sprunk
SprunkTextDraw = TextDrawCreate(610.0, 400.0, "~r~~k~~PED_FIREWEAPON~ ~w~ to drink the Sprunk ~r~~k~~VEHICLE_ENTER_EXIT~ ~w~ to drop the Sprunk.");
TextDrawUseBox(SprunkTextDraw, 0);
TextDrawFont(SprunkTextDraw, 2);
TextDrawSetShadow(SprunkTextDraw, 0);
TextDrawSetOutline(SprunkTextDraw, 1);
TextDrawBackgroundColor(SprunkTextDraw, 0x000000FF);
TextDrawColor(SprunkTextDraw, 0xFFFFFFFF);
TextDrawAlignment(SprunkTextDraw, 3);
// Exit
ExitTextdraw = TextDrawCreate(610.0, 400.0, "Go to the door and press ~r~ ~k~~PED_DUCK~ ~w~ to exit the building.");
TextDrawUseBox(ExitTextdraw, 0);
TextDrawFont(ExitTextdraw, 2);
TextDrawSetShadow(ExitTextdraw, 0);
TextDrawSetOutline(ExitTextdraw, 1);
TextDrawBackgroundColor(ExitTextdraw, 0x000000FF);
TextDrawColor(ExitTextdraw, 0xFFFFFFFF);
TextDrawAlignment(ExitTextdraw, 3);
InitVehicles();
InitHouses();
InitGates();
InitStations();
InitBusinesses();
InitJobs();
InitGroups();
ShowPlayerMarkers(0);
GeneralDataTimer = SetTimer("SaveGeneralData", 1800000, true);
PickupsTimer = SetTimer("PickupMessages", 1500, true);
AFKTimer = SetTimer("IdleKick", 1200000, 1);
AntiCheatTimer = SetTimer("AntiC", 1000, true);
WeatherTimer = SetTimer("DynamicWeather", 7200000, true);
OneSecondTimer = SetTimer("OneSecondPublic", 1000, true);
OneMinuteTimer = SetTimer("OneMinutePublic", 60000, true);
// SetTimer("DecreaseFuel",75000,true);
print("--------------------------------------------------------------------------");
print("[system] Script Initialized.");
print("--------------------------------------------------------------------------");
DynamicWeather();
return 1;
}