forked from 7Cav/cScripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.sqf
27 lines (21 loc) · 978 Bytes
/
init.sqf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#include "cScripts\script_component.hpp"
/*
* Author: CPL.Brostrom.A
* This is the mission init.sqf this is run witout exceptions on mission start.
* Some sections in this script only run when your on a multiplayer enviroment to avoid errors and issues.
* Read more about Initzialisation order here: https://community.bistudio.com/wiki/Initialization_Order
*/
if (!isMultiplayer) then {SHOW_CHAT_WARNING("", "Mission is running on singelplayer enviroment!");};
#ifdef DEBUG_MODE
SHOW_INFO("init", "Initializing...");
SHOW_CHAT_INFO_1("init", "cScripts Version %1 is running.", VERSION);
SHOW_CHAT_WARNING("init", "Debug mode is currently active.");
logEntities;
#endif
enableSaving [false, false];
// To Turns off or on ambient Wildelife, Ambient Sounds and wind sound strenght.
enableEnvironment [false, true, 1];
ACE_maxWeightCarry = 8000;
ACE_maxWeightDrag = 12000;
INFO("init", "Initialization completed.");
/* APPLY STUFF ONLY BELOW THIS LINE */