void OnStart()
{
AddUseItemCallback("", "acid_container", "padlock_acid_1", "unlock_prison_section_1", true);
SetEntityPlayerInteractCallback("notesuicide", "PickNote", true);
}
void unlock_prison_section_1(string &in asItem, string &in asEntity)
{
SetPropHealth("padlock_acid_1", 0.0f);
RemoveItem("acid_container");
SetEntityActive("padlock_acid_1", false);
}
void PickNote(string &in item)
{
SetEntityActive("Enemy1", true);
SetEntityActive("Enemy2", true);
SetEntityActive("Enemy3", true);
SetEntityActive("Enemy4", true);
SetEntityActive("Enemy5", true);
SetEntityActive("Enemy6", true);
SetEntityActive("Enemy7", true);
SetEntityActive("Enemy8", true);
SetEntityActive("Enemy9", true);
StartPlayerLookAt("Enemy5", 2.0f, 2.0f, "StopPlayerLookAt");
AddTimer("StartCredit", 5, "StartCredits"); //Change 5 to how many seconds you want it to last.
}
void StartCredits(string &in asTimer)
{
StartCredits("ending_alexander.ogg", false, "Ending", "MainCredits", 9000);
AddDebugMessage("OVER 9000!!!1!!", false);
}