Jump to content

[C++] pc.get_my_horse problem


Recommended Posts

Hey devs.

 

What is wrong with this code?

The problem is this:

https://metin2.download/picture/OHmIJQdlUZtShJQ9xQ95FTMX6jHLM684/.png

LPCHARACTER ch = CQuestManager::instance().GetCurrentCharacterPtr();
lua_pushboolean(L, ch->GetHorse() ? true : false);
return 1;
When the horse is already called, something happen.
 
Thanks.
Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.