Elgenady
Veteran OT User
- Joined
- Aug 5, 2011
- Messages
- 1,637
- Solutions
- 35
- Reaction score
- 351
i use this code
but i got this error
no matching function for call to `Player::setStorage(std::string, std::string)'
candidates are: virtual bool Player::setStorage(uint32_t, const std::string&)
tfs 0.4
anyone know why??
i use this code in other source and work fine
Code:
setStorage(boost::lexical_cast<std::string>("15226"), boost::lexical_cast<std::string>(lobaty));
Code:
setStorage(boost::lexical_cast<std::string>("15226"), boost::lexical_cast<std::string>((lobaty- 1)));
but i got this error
no matching function for call to `Player::setStorage(std::string, std::string)'
candidates are: virtual bool Player::setStorage(uint32_t, const std::string&)
tfs 0.4
anyone know why??
i use this code in other source and work fine
Last edited: