tentar
{
if (pUser-> pSD-> vipLevel && wTxt [0] == L '^')
{
if (pUser-> stopSayTick == 0)
{
VIPInfo vipInfo = g_VIPSystem.GetInfo (pUser-> pSD-> vipLevel);
if (vipInfo.specialChat && pUser-> pED-> vipChatTimestamp <GetTickCount ())
{
pUser-> pED-> vipChatTimestamp = GetTickCount () + vipInfo.chatDelay;
WCHAR wMsg [4096] = {0};
if (swprintf (wMsg, 4090, L "% s:% s", pUser-> pSD-> wszName e wTxt [1])> 0)
{
caractere de buff [8190];
int len = Assemble (buff, 8190, "cddSS", 0x4A, 0, 15, L "VIP", wMsg);
L2Server :: BroadcastToAllUser (len, buff);
}
desprotegido;
retorna falso;
}outro
{
desprotegido;
retorna falso;
}
}outro
{
pSocket-> SendSystemMessage (147); // é proibido conversar
desprotegido;
retorna falso;
}
}
use esse código e fale comigo ...