waitUntil {!isNull player && player isEqualTo player}; if (player diarySubjectExists "controls") exitWith {}; player createDiarySubject ["credits","Credits"]; player createDiarySubject ["changelog","ChangeLog"]; player createDiarySubject ["serverrules","Allgemeine Regeln"]; player createDiarySubject ["policerules","Polizeiregeln"]; player createDiarySubject ["safezones","Safezones"]; //player createDiarySubject ["civrules","Zivilistenregeln"]; player createDiarySubject ["illegalitems","Illegale Aktivitäten"]; //player createDiarySubject ["gangrules","Gangregeln"]; //player createDiarySubject ["terrorrules","Rebellenregeln"]; player createDiarySubject ["controls","Befehle"]; /* Example player createDiaryRecord ["", //Container [ "", //Subsection " TEXT HERE

" ] ]; */ player createDiaryRecord ["credits", [ "ArmaLife", " ArmaLife is a GitHub project which aims to update and keep adding new features to the original 'Altis Life RPG' by Tonic.

" ] ]; player createDiaryRecord["changelog", [ "Altis Life Changelog", " The official changelog can be found in ArmaLife github. https://git.io/vVkhe

v4.4 release 3!
By: danielstuart14
Date: 31. May 2016

v4.4 release 2!
By: danielstuart14
Date: 20. March 2016

v4.4 release 1!
By: danielstuart14
Date: 12. February 2016

v4.3 release 4!
By: danielstuart14
Date: 31. January 2016

v4.3 release 3!
By: danielstuart14
Date: Not released

v4.3 release 2!
By: danielstuart14
Date: 22. January 2016

v4.3 release 1!
By: danielstuart14
Date: 19. January 2016

" ] ]; player createDiaryRecord["changelog", [ "Server Change Log", " This section is meant for people doing their own edits to the mission, DO NOT REMOVE THE ABOVE.

" ] ]; player createDiaryRecord ["serverrules", [ "Grundregeln", " Wer eine dieser Aussagen erfüllt muss mit einem Kick oder einem Bann rechnen:

1. Das Befreien aus dem Gefängnis mittels Bugs. Bugs müssen unverzüglich gemeldet werden!
2. Sich einem Roleplay mittels Selbstmord etc. entziehen! Dazu zählt auch die Flucht vor Tasern, Gefangennahme, Inhaftierung und dem Gefängnis. Sollten die Logdaten anzeigen, dass du während einer dieser Aktionen gestorben bist, wirst du gekickt oder gebannt.
3. Verdoppeln von Items oder Geld, sowie das Empfangen von Items oder Geld durch Hacker.
4. Genereller Combatlog. Kann in den meisten Fällen zur Zurücksetzung des Spielers führen.
5. Sich einen Vorteil durch Bugs und Systemfehler verschaffen.

" ] ]; player createDiaryRecord["safezones", [ "Safezones", " Was sind Safezones?

Eine Safezone oder Sicherheitsbereich ist ein Bereich in dem ohne Ausnahme folgendes verboten ist. Andere Spieler:
- Töten
- Ausrauben/Überfallen
- Überfahren/Anfahren
- Belästigen (egal in welcher Form)
- Erschießen
- Als Geisel nehmen


Welche Safezones gibt es?

- Die Städte Pyrgos, Kavala, Athira, Sofia
- Rebellenstützpunkte
- Tankstellen mit Shop (Ausrauben der Tankstelle ist dennoch erlaubt)
- Apfel-, Pfirsich-, Birnenplantagen
- Fahrzeughändler aller Art
- Shops aller Art (auch Waffenshop)
- Krankenhäuser
- ARK, THW
- Banken
- Polizeistationen
- Garagen (mit Ausnahme von Spielergaragen)


Wann verliert eine Safezone ihre Wirkung?

Eine Safezone verliert ihre Wirkung, wenn…:
- Ein Spieler in eine Safezone z.B. während eines Gefechts flüchtet
- Durch einen Admin z.B. bei einem Event die Safezone offiziell deaktiviert ist
- Sich ein Gefecht in eine Safezone verlagert

Zu beachten ist:
- Polizeibeamte dürfen ihrem Polizeidienst in Safezones immer nachgehen
- Für Spieler, die einen Tankstellenshop überfallen verliert die Safezone ihre Wirkung
- Gangverstecke sind keine Safezones


Verstöße innerhalb von Safezones werden mit enormen Strafen geahndet. Diese führen von zeitlich begrenzten Bans bis hin zu einer dauerhaften Verbannung vom Server.

" ] ]; player createDiaryRecord ["serverrules", [ "Bannable Offenses", " Consider this your one and only warning.

1. Hacking
2. Cheating
3. Exploiting (See 'Exploits')
4. Being kicked 3 or more times.

" ] ]; player createDiaryRecord ["serverrules", [ "Cop Interaction", " Items on this list may result in your removal from the server and/or ban, based on the admins discretion.

1. Civilians can be arrested for looking in cops' backpacks/vehicles. Constantly doing this will result in your removal from the server.
2. Civilians can be arrested for following cops in game in order to give away their position.
3. Civilians or Rebels who take up arms to kill cops in town or elsewhere for no RP reason will be considered RDMing. See RDMing section.
4. Following and or harassing cops for long periods of time will be considered griefing and/or spamming, and will result in your removal from the server.
5. Actively blocking cops from doing their duties can lead to your arrest. Constantly doing this will result in your removal from the server.

" ] ]; player createDiaryRecord ["serverrules", [ "Boats", " Items on this list may result in your removal from the server and/or ban, based on the admins discretion.

1. Repeatedly pushing boats without permission.
2. Pushing a boat with the intention of hurting or killing someone. This is not RP, it is just a flaw in the mechanics.
3. Purposefully running over swimmers/divers.

" ] ]; player createDiaryRecord ["serverrules", [ "Aviation", " Items on this list may result in your removal from the server and/or ban, based on the admins discretion.

1. Purposefully ramming a helicopter into anything. Other helicopters, vehicles, buildings.
2. Flying below 150m over the city constantly. Once is illegal, more than that you risk crashing into the city, thus against server rules.
3. Stealing helicopters without proper warning and significant time for the driver to lock the vehicle. If they land and run away without locking, fine, if they just get out and you get in before they get a chance to lock it, no no.

" ] ]; player createDiaryRecord ["serverrules", [ "Vehicles", " Items on this list may result in your removal from the server and/or ban, based on the admins discretion.

1. Purposefully running people over (VRDM). There are accidents, and then there is going out of your way to run someone over.
2. Purposefully throwing yourself in front of vehicles in order to die/get hurt.
3. Ramming into other vehicles in order to cause an explosion.
4. Constantly trying to enter vehicles that do not belong to you in order to grief the vehicle owner, and not trying to RP.
5. Stealing a vehicle just to crash it or otherwise destroy it.
6. Purchasing multiple vehicles for the purpose of doing any of the above.
7. The only reason for shooting at a vehicle would be to disable it and/or fire warning shots in a role-play scenario.You are not to deliberately destroy enemies vehicles.

" ] ]; player createDiaryRecord ["serverrules", [ "Communication Rules", " Items on this list may result in your removal from the server and/or ban, based on the admins discretion.

1. Side Chat may not be used to play music or otherwise micspam.
2. Spamming any chat channel will result in your removal.
4. Teamspeak channels are split up into areas for a reason. Cops must be in the cop channels at all times.
5. Civilians cannot be in any cop channels on teamspeak in order to gather information on their location or movements. Civs caught doing this will be removed the channel. Repeat offenders can be kicked or banned from both the game and teamspeak.

" ] ]; player createDiaryRecord ["serverrules", [ "Random Deathmatching (RDM)", " Items on this list may result in your removal from the server and/or ban, based on the admins discretion.

1. Killing anyone without a roleplay cause.
2. Declaring a rebellion is not a cause to kill anyone, even cops.
3. Cops and civilians/rebels can only commence in a shootout if there are reasons relating to a crime.
4. If you are killed in the crossfire of a fight, it is not RDM.
5. Killing someone in an attempt to protect yourself or others is not RDMing.
6. Shooting a player without giving reasonable time to follow demands is considered RDM.

These are all judged by admins on a case by case basis.

" ] ]; player createDiaryRecord ["serverrules", [ "New Life Rule", " The New Life Rule applies to police and civilians.

Items on this list may result in your removal from the server and/or ban, based on the admins discretion.

1. If you are killed you must wait 15 minutes before returning to the scene of your death.
2. If you die during roleplay your past crimes are forgotten, but you also cannot seek revenge.
3. If you are RDM'd, it is not a new life.
4. If you manually respawn, it is not a new life.
5. If you purposefully kill yourself to avoid roleplay, it is not a new life.

" ] ]; player createDiaryRecord ["serverrules", [ "Don't Be A Dick!", " If an admin has to tell you that you are being a dick, you are doing dickish things.
Causing others grief, disrupting roleplay, the list goes on.
Just don't be a dick okay?
This rule may be invoked at an admin's discretion.

" ] ]; // Police Section player createDiaryRecord ["policerules", [ "Crisis Negotiation", " Crisis Negotiation must be handled by a Sergeant. If one is not available, the person with the next highest rank must handle the situation.

" ] ]; player createDiaryRecord ["policerules", [ "The Federal Reserve", " 1. The Federal Reserve is illegal for civilians to enter, unless they have been given authorization. If civilians enter without authorization they are to be escorted off-site or arrested if they persist. 2. Helicopters flying over the Federal Reserve may be asked to leave and disabled if they refuse.
3. If the Federal Reserve is getting robbed, it is encouraged that all available officers move in to stop it.
4. Nearby officers should immediately head to the Federal Reserve to assist. Petty crimes can be dropped during a robbery.
5. Lethal force on bank robbers may be used if no other alternative is available. Every option to taze and arrest the person should be made first.
6. Police may not fire blindly into the building.
7. The police should evacuate the civilians from the building during a robbery.
8. Any civilian who actively makes an attempt to block the police from entering the building may be treated as an accomplice.
9. Supervisory officers may hire individuals or contract a group of people to work as security guards for the bank. See 'Contracting' section for more information.

" ] ]; player createDiaryRecord ["policerules", [ "Aviation", " 1. No helicopter can land within city limits without authorization from the highest ranking officer online. (Exceptions being what is listed below.)
Kavala: The hospital helipad (037129) or docks (031128).
Athira: The sports field (138185) or behind the DMV (140188).
Pyrgos: The fields North/East of DMV (170127)
Sofia: Opposite the car shop (258214) or the fields Southeast of the garage (257212)
Small towns: An appropriate location may be chosen. This is to be judged by officers on a case by case basis.

2. Helicopters may not land on roads.
3. Police may temporarily forbid landing at but it cannot remain closed for a long period of time.
4. Helicopters cannot fly below 150m over the city without authorization.
5. Helicopters cannot hover over the city. Cops may only hover over the city if there is an active police operation going on.

" ] ]; player createDiaryRecord ["policerules", [ "Illegal Areas", " 1. Gang areas are not considered illegal. Thus a cop may enter without a raid, but may not restrain or stop anyone inside without probable cause/illegal activity. (Talking to the gang NPC is NOT probable cause/illegal activity.)
2. Do not enter an illegal area unless it is part of a raid. see Raiding/Camping.
3. If you chase someone into an illegal area, call for backup.
4. Under no circumstances is an officer allowed to camp any illegal area.

" ] ]; player createDiaryRecord ["policerules", [ "Patrolling", " 1. Police may patrol the island's roads and towns searching for abandoned vehicles and criminal activity.
2. Patrols can be done on foot inside of a town, or in a vehicle when outside.
3. Patrols do not include illegal areas. See Raiding/Camping.

" ] ]; player createDiaryRecord ["policerules", [ "Checkpoints", " Cops are encouraged to setup checkpoints in strategic areas to help combat illegal activity and promote safety on the road.

1. A checkpoint must consist of 3 or more officers, utilizing 2 or more vehicles. An ATV does not count as one of the required vehicles, but may still be used.
2. A checkpoint can not be setup within 300m of an illegal area. Basically, you cannot set one up on top of an illegal area.
3. Checkpoints may only be setup on roads, but it does not have to be on a crossroad.
4. Checkpoints do not have to be marked on the map.

Proper Checkpoint Procedure:
1. Have the driver stop the vehicle at a safe distance and turn off the engine.
2. Ask the driver and any passengers if they have any weapons.
3. Ask the driver and any passengers to exit the vehicle. If they have weapons, do not immediately restrain them when they get out, tell them to lower their weapons and given them a reasonable amount of time to do so.
4. Ask them where they are headed to and from.
5. Ask if they will submit to a search.
6. If they allow a search, you may restrain them and search them.
7. If they do not submit to a search, you must let them go, unless there is probable cause.
8. After the search is done, you may allow them to re-enter their vehicle and drive away.
9. In case anything illegal is found, the person may be ticketed or arrested depending on the crime.

" ] ]; player createDiaryRecord ["policerules", [ "Vehicles", " 1. Vehicles in the parking lot, or are reasonably parked elsewhere should be left alone.
2. Vehicles that look abandoned, broken, with no driver, can be impounded.
3. Boats should be parked reasonably on shore.
4. Any vehicle that hasn't moved in a significant amount of time may be impounded.
5. Impounding is an essential job for a cop, it helps keep the server clean and less laggy.
6. If in doubt, always search the vehicle and message the owner(s) before impounding.
7. Police speedboats or Hunter HMGs may be used to assist in apprehending criminals. The weapon should be used to disable vehicles, not to blow them up.

" ] ]; player createDiaryRecord ["policerules", [ "Speeding", " The following speeds are to be enforced by the Altis Police Force for the absolute safety of the citizens of Kavala and all travelling beyond the city.

Inside major cities:
Small roads: 50km/h
Main roads: 65km/h
Outside major cities:
Small roads: 80km/h
Main roads: 110km/h

" ] ]; player createDiaryRecord ["policerules", [ "City Protocol", " 1. Officers may patrol major cities - Kavala, Athira, Pyrgos and Sofia.
2. Officers may stop by the car shop to make sure there are no cars that need to be impounded.
3. Officers may not stand around or loiter in the centre of town.
4. Officers may enter the town in a large number should a rebellious act occur. After the area is clear, they need to leave the town again.
5. Martial law may not be declared at any time.
6. The Police HQ buildings are illegal for civilians to enter without authorization, however it is NOT illegal for civilians to be nearby unless they are causing a nuisance.

" ] ]; player createDiaryRecord ["policerules", [ "Arresting and Ticketing", " Arresting should be done to criminals who are considered a danger to themselves or others.

1. You may not arrest someone if you have given them a ticket and they paid it.
2. You must tell the suspect why they are being arrested before you arrest them.
3. If a civilian is wanted, you may arrest them. Do not kill them, unless the situation falls under the 'Use of Lethal Force' section.

Ticketing a civilian is considered a warning for the civilian. If they break a law, but do not pose a threat to anyone, you may ticket a civilian.

1. Tickets must be a reasonable price.
2. Ticket prices should be based off of the crimes committed.
3. Refusal to pay a legit ticket is grounds for arrest.
4. Giving a civilian and illegitimate ticket, such as $100k for speeding, etc., is not allowed and will result in your removal from the police department.

A complete list of all crimes and the appropriate punishments should be given to officers during training. If in doubt, or if you have not been trained, ask a higher ranking officer what to do.

" ] ]; player createDiaryRecord ["policerules", [ "Weapons", " A cop is NEVER allowed to supply civilians with weapons. This will get you banned from the server and removed from being a cop.

Legal Weapons for Civilians to carry with a permit:
1. P07
2. Rook
3. ACP-C2
4. Zubr
5. 4-five
6. PDW2000

Any other weapon (Including Silenced P07 [Considered a Police Weapon]) is illegal.

1. Civilians are not allowed to have a weapon out within the town limits.
2. Civilians may have a gun out when they are not in the town. However they should submit to a license search if confronted by an officer and should have the gun lowered (Press Ctrl Twice).

" ] ]; player createDiaryRecord ["policerules", [ "Use of Non-Lethal Force", " At this time the Taser (Silenced P07) is the only form of Non-Lethal Force.

1. Taser should be used to incapacitate non complying civilians in order to restrain them.
2. Do not discharge your Taser unless you intend to incapacitate a civilian, randomly discharging your weapon will result in your suspension.
3. Only use your Taser in compliance with the laws and the rules, do NOT enforce your will on others.

" ] ]; player createDiaryRecord ["policerules", [ "Raiding/Camping", " Raiding is defined as a squad of police officers invading an area of high criminal activity in order to stop the criminals in illegal acts.

1. In order to raid an area, the cops must have at least 4 officers involved, one of which must be a Sergeant or above.
2. All civilians in a raid area may be restrained and searched. If nothing illegal is found, you must let them go.
3. If illegals are found during a search, you may proceed to arrest or fine as usual.
5. Lethal force is only authorized as described under 'Use of Lethal Force'.
6. After the area is secure, the officers must leave the area.
7. An area cannot be raided again for 20 minutes after a previous raid.
8. If the raid is a failure (All officers die), the 20 minute timer still applies to those officers.
9. Backup may be called in, but it may not consist of fallen officers (see 'New Life Rule').

Camping is defined as the prolong stay of an officer in an area.

1. Checkpoints are not considered camping. See Checkpoint section for a definition of proper checkpoint procedures.
2. See Bank Robbery and Agia Marina Protocol sections for more info on camping in the main town.
3. Camping of illegal areas is staying longer than needed after a raid, or if officers do not conduct a raid but continue to watch and take action against civilians entering the area.

" ] ]; player createDiaryRecord ["policerules", [ "Chain of Command", " The highest ranking officer on duty is in charge of the police force outside of admins currently online. The high ranking officer is expected to follow the rules and guidelines of his/her rank, and must report to the admin in case any action need be taken.

Police Chain of Command:
1. Chief
2. Deputy Chief
3. Superintendent
4. Captain
5. Lieutenant
6. Sergeant
7. Senior Patrol Officer
8. Patrol Officer
9. Cadet

Cops in game who are not enrolled/accepted into the SPD are the lowest tier and have no say in police operations.

" ] ]; player createDiaryRecord ["policerules", [ "Use of Lethal Force", " 1. Use of Lethal force is only permitted for the protection of your life, another officers life, or a civilians life, if and only if non-lethal force would not be effective.
2. Discharging of a weapon when not under threat or not during training exercises is not allowed. Officers caught in violation of this rule will be removed from the server and suspended from the SPD.
3. Failure to follow proper weapons discipline and procedure will get you removed from the server and suspended from the SPD.

" ] ]; player createDiaryRecord ["policerules", [ "TeamSpeak Rule", " 1. All cops must be on TeamSpeak 3 in a designated cop channel. Failure to be on TeamSpeak during an admin check will result in your immediate dismissal from the server.
2. Please join TeamSpeak BEFORE you spawn in as a cop, heck, join TeamSpeak before you even join the server.

" ] ]; // Illegal Items Section player createDiaryRecord ["illegalitems", [ "Rebel Rules", " A rebel is one who rises in armed resistance against a government. In this case it would be the police. However, due to the small amount of police compared to the possible amount of rebels, do not attack the police without a reason, please be civil and use common sense, and don't take the word rebel literally, but instead how it will make this server fun for all.

1. A rebel must first form a gang, and then declare intentions.
2. Resistance does not excuse RDMing (See RDMing in General Rules)
3. Resistance roleplay should be conducted in more ways than constantly robbing the bank or shooting police officers.
4. Resistance must be coordinated.
5. A PROPER reason must be behind each and every attack.

" ] ]; player createDiaryRecord ["illegalitems", [ "Gang Rules", " 1. Being in a gang is not illegal. Only when illegal crimes are committed.
2. Being in a gang area is not illegal. Only when partaking in illegal activities.
3. Gangs may hold and control gang areas. Other gangs may attack a controlling gang to compete for control of a gang area.
4. To declare war on another gang, the leader must announce it in global and all gang members of both gangs must be notified. For a more long term gang war, a declaration should be made on the forums.
5. Gangs may not kill unarmed civilians, unless said civilian is part of a rival gang and in your gangs controlled area.
6. Gangs may not kill civilians, unless they are under threat. Killing unarmed civilians because they do not comply is considered RDM, but you can injure/damage.

" ] ]; player createDiaryRecord ["illegalitems", [ "Illegal Vehicles", " A civilian in control of the following prohibited vehicles is subject to the consequences defined in the unauthorized control of a prohibited vehicle law.

1. Ifrit
2. Speedboat
3. Hunter
4. Police Offroad

" ] ]; player createDiaryRecord ["illegalitems", [ "Illegal Weapons", " A civilian in possession of the following is subject to the consequences as defined in the illegal possession of a firearm law.

1. MX Series
2. Katiba Series
3. TRG Series
4. Mk.20 Series
5. Mk.18 ABR
6. SDAR Rifle
7. Sting SMG
8. Silenced P07 (Taser)
9. Any explosives

" ] ]; player createDiaryRecord ["illegalitems", [ "Illegal Items", " The following items are illegal to posses:

1. Turtle
2. Cocaine
3. Heroin
4. Cannabis
5. Marijuana

" ] ]; // Controls Section player createDiaryRecord ["controls", [ "Police and medic controls", " F: Vehicle siren.
L: Speed radar (police only and weapon is P07 Suppressed).
Left Shift + L: Activates siren lights.
Left Shift + R: Restrain (police only).

" ] ]; player createDiaryRecord ["controls", [ "Civilian controls", " Left Shift + G: Knock out / stun (Weapon required. Used for robbing).
Spacebar: Place storage container.

" ] ]; player createDiaryRecord ["controls", [ "General controls", " Y: Open Player Menu.
U: Lock and unlock vehicles and houses.
T: Vehicle trunk and house virtual item storage.
Left Shift + B: Surrender (hands on head).
Left Windows: Main interaction key. Used for interacting with objects like vehicles, houses, ATMs, and restrained players. Can be rebound to a single key like H by pressing ESC->Configure->Controls->Custom->Use Action 10.
Left Shift + H: Holsters the weapon in your hands.
Left Ctrl + H: Revert holster action.
Shift + Spacebar: Jump.
Left Shift + O: (un)fade sound (ear plugs).

" ] ];