I'm not sure if this is the right place but...
I'm trying to code something that make the player able to transfer from a map to a other with a option window (kind like what TheUnproPro make with is monsterbook). The game run correctly but when I click the option for transfer to the next map the song from that map start but I'm stuck in my previous map and I can't move and the option windows is still there.
Someone can help me with that?
Is your option window done via script or event? If script, do you actually do a return to scene command? Might help to include the script so we can see what you're doing - otherwise we can only guess at what you're doing wrong. If you do post a script, make sure you enclose it in code tags (to keep the formatting and make it easier to read), and enclose the whole lot in spoiler tags if it's a long script.
I'm not sure if this should go in RGSSx Script Support or VX Ace Support - it will depend on whether you're using a script to do it or an event. In any case, it doesn't belong here 😉 I'll move it when you post some answers.
I think you still need a return_scene even if they choose transfer - you've got to have some method of getting out of the window and back to the map.
I don't have Ace open and am about to go out, but have you set the transfer stuff to happen the same way Game_Interpreter does it when you do the Transfer event command? Nothing else missing from there?
The other thing you could do is just turn on a switch when they choose to transfer and then return to the scene, and have an autorun common event conditioned by that switch that does a Transfer Player command then turns the switch off again. That will allow the existing map/player/interpreter functionality to handle the actual transfer, while all your script does is trigger it to happen.