Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class CfgFunctions
- {
- class MyFramework
- {
- class Common
- {
- class Config {
- file = "config.sqf";
- preInit = 1; // 1 to call the function upon mission start, before objects are initialized. Passed arguments are ["preInit"]
- recompile = 1;
- };
- class InitPlayer { //Init player local, setting localstuff like UI , actions, etc
- file = "local\initplayer.sqf";
- initPlayerLocal = 1;
- };
- class InitPlayerServer { //Register the player on the server (maybe in a array of players) and do some global stuff
- file = "server\initplayer.sqf";
- initPlayerServer = 1;
- };
- class InitHCLocal { //Starts the HC loop (creating AI and stuff)
- file = "hc\inithc.sqf";
- initHCLocal = 1;
- };
- class InitHCServer { //Register the HC, set some flags and disable AI creation on server
- file = "server\initHCServer.sqf";
- initHCServer = 1;
- };
- class playerDisconnectServer { //Unregistering the player, removing his stuff, changing some arrays, etc
- file = "server\pDisconnect.sqf";
- playerDisconnectServer = 1;
- };
- };
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement