Pringlez Posted February 17, 2015 Report Share Posted February 17, 2015 Trying to add my briefing.sqf to my server... In my init.sqf i added [] execVM "briefing.sqf"; then put the briefing.sqf file into the mission file... But when I join the server nothing is in the briefing tab. Any ideas? Thanks in advance Link to comment Share on other sites More sharing options...
0 itsatrap Posted February 17, 2015 Report Share Posted February 17, 2015 Post the code ? Link to comment Share on other sites More sharing options...
0 Pringlez Posted February 17, 2015 Author Report Share Posted February 17, 2015 briefing.sqf waitUntil {!isNull player && player == player}; if (player diarySubjectExists "rules") exitwith{}; player createDiarySubject ["teamoldskool", "Team Old Skool"]; player createDiarySubject ["serverrules", "Server Rules"]; player createDiarySubject ["controls", "Controls"]; // TOS player createDiaryRecord ["teamoldskool", [ "Teamspeak", " <br/> Team Old Skool Teamspeak can be found at:<br/><br/> ts3.teamoldskool.com " ] ]; player createDiaryRecord ["teamoldskool", [ "Website", " <br/> teamoldskool.com " ] ]; player createDiaryRecord ["teamoldskool", [ "Donations", " <br/> Your generous donation will help keep the server running.<br/> Donations can be paid straight into our server fund on our website. " ] ]; // Server Rules player createDiaryRecord ["serverrules", [ "Serverrules", " <br/> :: Please read the server rules on our website:<br/> <br/> teamoldskool.com<br/> " ] ]; Link to comment Share on other sites More sharing options...
0 Pringlez Posted February 18, 2015 Author Report Share Posted February 18, 2015 #bump anyone got any ideas? Added the files to the server and 30 seconds after joining I get kicked. Removed it and no more kicks... If anyone knows a work around as I would like to have this on my server! Link to comment Share on other sites More sharing options...
0 fr1nk Posted February 18, 2015 Report Share Posted February 18, 2015 This is what I use and it works fine: if (!hasInterface) exitWith {}; waitUntil {!isNuLL(uiNameSpace getVariable ["EPOCH_loadingScreen",displayNull])}; waitUntil {isNuLL(uiNameSpace getVariable ["EPOCH_loadingScreen",displayNull])}; player createDiarySubject ["server-info","Server-Info"]; player createDiarySubject ["server-features","Server-Features"]; player createDiarySubject ["server-rules","Server-Rules"]; player createDiarySubject ["server-updates","Server-Updates"]; player createDiarySubject ["server-community","Server-Community"]; player createDiaryRecord["server-info", ["Menu Subject"," <br/> * Text 1<br/><br/> * Text 2<br/> "]]; player createDiaryRecord["server-features", ["Menu Subject"," <br/> * Text 1<br/><br/> * Text 2<br/> "]]; player createDiaryRecord ["server-rules", ["Menu Subject"," <br/> * Text 1<br/><br/> * Text 2<br/> "]]; player createDiaryRecord ["server-updates", ["Menu Subject"," <br/> * Text 1<br/><br/> * Text 2<br/> "]]; player createDiaryRecord["server-community", ["Menu Subject"," <br/> * Text 1<br/><br/> * Text 2<br/> "]]; mgm and stonXer 2 Link to comment Share on other sites More sharing options...
Question
Pringlez
Trying to add my briefing.sqf to my server...
In my init.sqf i added
then put the briefing.sqf file into the mission file... But when I join the server nothing is in the briefing tab.
Any ideas?
Thanks in advance
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now