Well then:
void OnStart()
{
SetEntityInteractionDisabled("musicphono", true);
AddUseItemCallback("", "swanlakerecord, "musicphono", "AllowInteract", true);
}
void AllowInteract (string &in asItem, string &in asEntity)
{
SetEntityInteractionDisabled("musicphono", false);
}
void PlayMusic (string &in asEntity, int alState)
{
SetWheelInteractionDisablesStuck(asEntity, false);
SetWheelStuckState(asEntity, alState, false);
SetEntityInteractionDisabled("swanlakerecord", false);
PlaySoundAtEntity("PlayMusic", "swanlakephonograph.snt", "musicphono", 0, false);
AddDebugMessage("State changed to: "+alState, false);
}
Merry christmas!