Where do i copy and paste the script you gave me? i just followed a tutorial on this really, because i have a key, and wanted it to unlock this door, thats why in the .lang file theres "storage" things. I got a few more things in the script,
////////////////////////////
// Run when the map starts
void OnStart()
{
AddUseItemCallback("", "Storage_1", "Storage", "Opens Storage", true);
}
void FUNCTION(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked(door, false, true);
PlaySoundAtEntity("", "unlock_door", door, 0, false);
RemoveItem(item);
}
////////////////////////////
// Run when entering map
void OnEnter()
{
}
////////////////////////////
// Run when leaving map
void OnLeave()
{
}
Thats what i have so far, do i just delete that and replace it with what you typed ?
Btw thank you