Chookez 71 Posted July 17, 2018 Share Posted July 17, 2018 Hello. I would like to ask for help on one thing. How can I order time in C ++ to get up and down in mount? Sorry my english is bad. I'am hungary. Link to comment Share on other sites More sharing options...
Solution ridetpro 116 Posted July 17, 2018 Solution Share Posted July 17, 2018 (edited) // Intro pc_mount function from questlua_pc.cpp // Under LPCHARACTER ch = CQuestManager::instance().GetCurrentCharacterPtr(); // Add int CalcLastMoveSec = (get_dword_time() - ch->GetLastMountTime()) / 1000 + 0.5; if (CalcLastMoveSec < 1) // Replace 1 with seconds number. { return 0; } Do same for unmount function intro questlua_pc Edited August 25, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Chookez 71 Posted July 17, 2018 Author Share Posted July 17, 2018 Thank you for your help. Very big thanks dear ridetpro. 1 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