SixNine
Active Member
- Joined
- Dec 12, 2018
- Messages
- 442
- Reaction score
- 40
TFS 1.2 game.cpp
tried adding
Nvm this option
does work. You can close thread
C++:
player->sendTextMessage(MESSAGE_STATUS_SMALL, "You may not send private messages unless you have reached level {:d} or have a premium account." minimumLevel);
tried adding
,
before minimumLevel but gives even more errors, then though about using different way of sending message but not sure if its correct way
C++:
std::ostringstream ss;
ss << "You may not send private messages unless you have reached level " << minimumLevel<< " or have a premium account.";
player->sendTextMessage(MESSAGE_STATUS_SMALL, ss.str());
Post automatically merged:
Nvm this option
C++:
std::ostringstream ss; ss << "You may not send private messages unless you have reached level " << minimumLevel<< " or have a premium account."; player->sendTextMessage(MESSAGE_STATUS_SMALL, ss.str());
Last edited: