Topic: Changing Ninja
Hello,
i want to make a Rcon-Command where you get a "superninja", so you don't have to wait between attacking. So I created a Rcon command called "superninja".
Then, in player.h, I added a bool calld m_hasSuperNinja. I need to change that bool in m_pPlayer from gamecontext.cpp (there's the function thats called when the rcon gets executed). But how do I access m_pPlayer from gamecontext.cpp, so I can use that boolean in character.cpp?
Greets!