Tipologie server: Beta
*Resursă folosită: post715593.html#p715593
*ServerFiles utilizat: Mare calitate
*Syserr:
Poză:
*Detalii suplimentare:
Problemă la compilarea sursei game
Așa:F. Laurentiu scrie: ↑23 Mai 2020, 01:09Continut: Ascuns
Trebuie sa multumesti autorului pentru a putea vedea mesajul.

char chatbuf[CHAT_MAX_LEN + 1];
int len;
std::auto_ptr<SQLMsg> pMsg(DBManager::instance().DirectQuery("SELECT ptagcolor, ptag FROM player.player WHERE id = '%d'", ch->GetPlayerID()));
if (pMsg->Get()->uiNumRows == 0)
return false;
MYSQL_ROW row = mysql_fetch_row(pMsg->Get()->pSQLResult);
char const* bTagColor = row[0];
char const* bTag = row[1];
if (strcmp(bTag, ""))
len = snprintf(chatbuf, sizeof(chatbuf), "[|cFF%s%s|r] %s : %s", bTagColor, bTag, ch->GetName(), buf);
else
len = snprintf(chatbuf, sizeof(chatbuf), "%s : %s", ch->GetName(), buf);
[ Postat de pe Linux Laptop ] 
Utilizatori ce ce navighează pe acest forum: cosminusi93ksm și 30 vizitatori