Chce zrobic channel - tylko by na nim pisac trzeba miec storage 1251, 1.
game.cpp:
ERRORY:
error: no matching function for call to 'Player::getStorage(int, int)'
note: candidates are: virtual bool Creature::getStorage(const std::string&, std::string&) const
game.cpp:
Lua:
if(player->getStorage(1244, 1))
player->sendCancel("Nie masz uprawnien by tutaj pisac.");
else
return g_chat.talkToChannel(player, type, text, channelId);
return false;
ERRORY:
error: no matching function for call to 'Player::getStorage(int, int)'
note: candidates are: virtual bool Creature::getStorage(const std::string&, std::string&) const