{"action":"closed","issue":{"url":"https://api.github.com/repos/SMVampire/VEMF/issues/26","labels_url":"https://api.github.com/repos/SMVampire/VEMF/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/SMVampire/VEMF/issues/26/comments","events_url":"https://api.github.com/repos/SMVampire/VEMF/issues/26/events","html_url":"https://github.com/SMVampire/VEMF/issues/26","id":56160544,"number":26,"title":"initServer.sqf","user":{"login":"nerdalertdk","id":3426495,"avatar_url":"https://avatars.githubusercontent.com/u/3426495?v=3","gravatar_id":"","url":"https://api.github.com/users/nerdalertdk","html_url":"https://github.com/nerdalertdk","followers_url":"https://api.github.com/users/nerdalertdk/followers","following_url":"https://api.github.com/users/nerdalertdk/following{/other_user}","gists_url":"https://api.github.com/users/nerdalertdk/gists{/gist_id}","starred_url":"https://api.github.com/users/nerdalertdk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nerdalertdk/subscriptions","organizations_url":"https://api.github.com/users/nerdalertdk/orgs","repos_url":"https://api.github.com/users/nerdalertdk/repos","events_url":"https://api.github.com/users/nerdalertdk/events{/privacy}","received_events_url":"https://api.github.com/users/nerdalertdk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-01T11:24:19Z","updated_at":"2015-02-01T12:33:37Z","closed_at":"2015-02-01T12:33:37Z","body":"add this to the config.cpp and you don't need the initServer.sqf in mission file\r\nyou might need to rename vinit.sqf to fn_init.sqf\r\n```\r\nclass CfgPatches \r\n{\r\n\tclass VEMF\r\n\t{\r\n\t\tunits[] = {\"C_man_1\"};\r\n\t\tweapons[] = {};\r\n\t\trequiredAddons[] = {\"A3_Data_F\",\"A3_Soft_F\",\"A3_Soft_F_Offroad_01\",\"A3_Characters_F\"};\r\n\t\tfileName = \"VEMF.pbo\";\r\n\t\tauthor[]= {\"Vampire\"}; \r\n\t};\r\n};\r\nclass CfgFunctions {\r\n\tclass Mission1 {\r\n\t\tclass main {\r\n\t\t\tfile = \"\\VEMF\";\r\n\t\t\tclass init {\r\n\t\t\t\tpostInit = 1;\r\n\t\t\t};\r\n\t\t};\r\n\t};\r\n};\r\n```"}}