ziad 13 Posted November 10, 2018 Share Posted November 10, 2018 int _block_exp (lua_State * L) // disable experience to INT { LPCHARACTER ch = CQuestManager :: instance (). GetCurrentCharacterPtr (); ch-> block_exp = true; return 0; } int _unblock_exp (lua_State * L) // experience enable INT to { LPCHARACTER ch = CQuestManager :: instance (). GetCurrentCharacterPtr (); ch-> block_exp = false; return 0; } questlua_pc.cpp:2815: error: expected initializer before 'int' questlua_pc.cpp:2829: error: expected unqualified-id before '{' token questlua_pc.cpp:3043: error: expected `}' at end of input when i added this it gave me all these errors if anyone can help me to fix this please thanks Link to comment Share on other sites More sharing options...
LordZiege 279 Posted November 11, 2018 Share Posted November 11, 2018 Please post your questlua_pc.cpp via pastebin Link to comment Share on other sites More sharing options...
ziad 13 Posted November 11, 2018 Author Share Posted November 11, 2018 i got it right thank you , but ! theres a problem man .. when i use the anti exp i get like 20 30 lvl instead of losing exp and none is giving me an answer about that , i tried this source thing but still nthg .. idk what else to do i tried more than 15 quests and same 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