lol, that wasn't aimed at you, ryu. I'll outline the process for everyone.
Create a new SQL table, called something like pvp_pos, or summin similiar, and make 6 columns; one for the character ID, and the other 5 to store mapID, x position, y position, z position, and orientation. Then, in the enterpvp command, make it set the position info in the new table. Then create your leavepvp command based on the original enterpvp one, and make it pull the info from the table and store them into variables, and use the variables in the TeleportTo function (not sure if you could access required columns directly in TeleportTo. If so, you wouldn't need to create variables.) VOILA! You have working pvp enter and leave commands. ^_^