example Epoch Event: Payday

Give all connected players 100 Crypto every 30 minutes
This commit is contained in:
vbawol 2017-03-04 10:57:14 -06:00
parent 4cd7fdd5c6
commit b695f29577
6 changed files with 13 additions and 2 deletions

View File

@ -13,6 +13,8 @@ lootMultiplier = 0.5; // 1 = max loot bias. This controls how much loot can payo
WeatherStaticForecast[] = {}; // Default: {75.5,0,{0,0,0},0,{1,1}}; // Clear day; {19,1,{1,1,40},1,{5,5}}; // Cold Foggy Rainy Overcast Windy; Format: {temp <scalar>,rain <scalar>,fog <array>,overcast <scalar>,wind <array>}
events[] = {
{ 3600, "CarnivalSpawner", 0 , 1}, // SECOND <scalar>, EVENT <string>, INIT <scalar> 1 = run script at startup, 0 normal delay, PREPOSTFIX <scalar> 1 = use pre/postfix path (inside epoch settings pbo) 0 = use full file path
// { 1800, "PaydayEvent", 0, 1},
// { 1200, "MessageServer", 0, 1},
{ 2700, "AirDrop", 0 , 1},
{ 2400, "EarthQuake", 0 , 1},
{ 1800, "ChangeWeather", 1 , 1},

View File

@ -0,0 +1,9 @@
/*
Give everyone on the server 100 Crypto.
by Aaron Clark - EpochMod.com
Improvements and or bugfixes and other contributions are welcome via the github:
https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_server_settings/EpochEvents/PaydayEvent.sqf
*/
{[_x,100] call EPOCH_server_effectCrypto;} forEach allPlayers;

View File

@ -1 +1 @@
build=691;
build=693;

View File

@ -1 +1 @@
691
693