Small problem witch script Code text of error {main (6,1):ERR : expected ';' }
:
script:
Quote:////////////////////////////
// Run first time starting map
void OnStart()
{
AddUseItemCallback("", "key_tower_1", "prison_section_1", "UsedKeyOnDoor", true)
}
void UsedKeyOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("prison_section_1", false, true);
PlaySoundAtEntity("", "unlockdoor", "prison_section_1", 0, false);
RemoveItem("key_tower_1");
}
////////////////////////////
// Run when entering map
void OnEnter()
{
}
////////////////////////////
// Run when leaving map
void OnLeave()
{
}
What is wrong in the names are well written.
Sorry for may Englisch.