Bot Metin2 Dev 4873 Posted June 2, 2018 Bot Share Posted June 2, 2018 Hello, I have one question for you: There is some function like:pc.fish() or something like that to know when a player has fished? Link to comment Share on other sites More sharing options...
Bot Metin2 Dev 4873 Posted June 5, 2018 Author Bot Share Posted June 5, 2018 UP! Link to comment Share on other sites More sharing options...
Bot Metin2 Dev 4873 Posted June 30, 2018 Author Bot Share Posted June 30, 2018 Up Link to comment Share on other sites More sharing options...
DarkAng3l 25 Posted June 30, 2018 Share Posted June 30, 2018 int pc_check_fishing(lua_State* L) { LPCHARACTER pChar = CQuestManager::instance().GetCurrentCharacterPtr(); if (pChar != NULL) lua_pushnumber(L, pChar->m_pkFishingEvent != NULL); else lua_pushnumber(L, 0); return 1; } Like this ? This function return true if player fishing. 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