banuliciraul123 0 Posted April 4, 2023 Share Posted April 4, 2023 Hi,i want to block mounts and ride in map1 , i make some changes in source and if i want to summon with right click dont work,but , if i drag item in slot works,or if i ride in other map then teleport in map1 , mount remain ( lion ) for example . Type 28. How can i solve it ? Link to comment Share on other sites More sharing options...
jKing 0 Posted April 5, 2023 Share Posted April 5, 2023 (edited) To unmount player after teleport you can just simply do something like this in input_login.cpp, Entergame function: if (ch->GetMapIndex() == INDEX) { ch->UnMount(true); } For disable moving item into slot, the method bool CHARACTER::MoveItem in char_item.cpp is what you are looking for Edited April 5, 2023 by jKing Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now