waitUntil { alive player && time > 0 && !isnull (finddisplay 46)};
sleep 5;
player createDiarySubject ["serverrules","Server Rules"];
player createDiarySubject ["controls","Controls"];
player createDiaryRecord ["serverrules",
[
"Server Rules",
"
<br/><font color = '#B70009'>If you break the rules your account will be banned from all our servers.</font color><br/>
<font color = '#B70009'>----------------------------------------------------------------------------------------</font color><br/>
<font color = '#B70009'>1. </font color>No Glitching.<br/>
<font color = '#B70009'>2. </font color>No Hacking.<br/>
<font color = '#B70009'>3. </font color>No Duping items or Krypto. This will result in an instant and perma ban!<br/>
<font color = '#B70009'>4. </font color>No Base Griefing.<br/>
<font color = '#B70009'>5. </font color>No Excessive Swearing.<br/>
<font color = '#B70009'>6. </font color>No Voice In Chat.<br/>
<font color = '#B70009'>7. </font color>No Racism.<br/>
"
]
];
// Controls Section
player createDiaryRecord ["controls",
[
"Controls",
"
<br/><font color = '#E4E00C'>General Controls</font color><br/><br/>
<font color = '#E4E00C'>I: </font color>Main Interaction key which is used for picking up items/money, interacting with cars, interact with traders and looting trash.<br/><br/>
<font color = '#E4E00C'>Mouse Wheel: </font color>Shows option to Search items<br/>
<font color = '#E4E00C'>~: </font color>Shows Debug Menu<br/>
<font color = '#E4E00C'>Ctrl + T: </font color>Opens Player Trade window<br/><br/><br/>
<font color = '#0CE413'>----------------------------------------------------------------------------------------</font color><br/>
<font color = '#0CE413'>Building Controls</font color><br/>
<font color = '#0CE413'>----------------------------------------------------------------------------------------</font color><br/>
<font color = '#0CE413'>Special Instructions</font color><br/><br/>
Before a player can start building, they must first gain some energy. This can be done in three ways...<br/><br/>
Vehicles - While in any vehicle with the engine running, the player will gain approximately 5 energy every 10 seconds.<br/><br/>
Solar/Wind Power - If the player is within 75 meters of a solar farm tower or wind turbine they will gain approximately 5 energy every 10 seconds.<br/><br/>
Energy Packs - By double clicking an energy pack in your inventory, there is an option to use. This will give the player energy instantly, but will use up the energy pack (small energy pack = 100 energy. large energy pack = 1000 energy).<br/>
<font color = '#0CE413'>----------------------------------------------------------------------------------------</font color><br/><br/>
<font color = '#0CE413'>1: </font color>Toggle Fixed snap building mode and place object<br/>
<font color = '#0CE413'>2: </font color>Toggle Free building mode and place object<br/>
<font color = '#0CE413'>3: </font color>Snap type<br/>
<font color = '#0CE413'>4: </font color>Build object (Used for building Storage Devices Tipi and Shelf Kit)<br/>
<font color = '#0CE413'>Space: </font color>Grab objects<br/>
<font color = '#0CE413'>Q: </font color>Center object in front of players view<br/>
<font color = '#0CE413'>E: </font color>Free Rotate<br/>
<font color = '#0CE413'>Page Up: </font color>Lift object<br/>
<font color = '#0CE413'>Page Down: </font color>Lower object<br/>
<font color = '#0CE413'>Home: </font color>Push object away from you<br/>
<font color = '#0CE413'>End: </font color>Move object towards you<br/>
<font color = '#0CE413'>Ctrl + I: </font color>Upgrade an existing structure<br/><br/><br/><br/>"
]
];
};
3. Save the file
4. You can add the briefing.sqf file to any folder in your mission.pbo, for the purpose of this guide I used a folder called "custom"
5. Now add the following line to your init.sqf or fn_init file (if you have a custom one) in your mission.pbo:
[] execVM "custom\briefing.sqf";
You're done. Now when you or your players press M you will have two new menu options called:
Server Rules
Controls
You can add as many custom menus as you see fit. Just add:
player createDiarySubject ["SHORTNAME","MENUNAME"];
Question
lowrey
Hi all,
This script is from Darkside Altis Life Server by Brun - All credit should be attributed to Darkside and the team:
1. Create a file called briefing.sqf (it can be called anything you like tbh).
2. in the briefing.sqf file add:
Link to comment
Share on other sites
3 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