case RPC_DisplayGameText:
{
traceLastFunc("RPC_DisplayGameText");
DWORD style, time, strLen;
char msg[256] = { NULL };
BitStream bsData(rpcParams->input, rpcParams->numberOfBitsOfData / 8, false);
bsData.Read(style);
bsData.Read(time);
bsData.Read(strLen);
bsData.Read(msg, strLen);
msg[strLen] = '\0';
addMessageToChatWindow("%s", msg);
break;
}
Doesn't work in 0.3DL version[kod]
case RPC_DisplayGameText:
{
traceLastFunc("RPC_DisplayGameText");
DWORD stili, zaman, strLen;
char msg[256] = { NULL };
BitStream bsData(rpcParams->input, rpcParams->numberOfBitsOfData / 8, false);
bsData.Read(stil);
bsData.Read(zaman);
bsData.Read(strLen);
bsData.Read(mesaj, strLen);
msg[strLen] = '\0';
addMessageToChatWindow("%s", mesaj);
kırmak;
}
[/kod]
cheat_samp.cpp s0beit Wa3Rix Project X-U18.0'dan snippet
> İndir (kaynak)
> Virüs Toplamı
case RPC_DisplayGameText:
{
traceLastFunc("RPC_DisplayGameText");
if (isCheatPanicEnabled() || !set._displaygametext) break;
/*
{'onDisplayGameText',
{style = 'int32'},
{time = 'int32'},
{text = 'string32'}}
*/
BitStream bsData(rpcParams->input, rpcParams->numberOfBitsOfData / 8, false);
uint32_t style, time, textLen;
char text[257];
bsData.Read(style);
bsData.Read(time);
bsData.Read(textLen);
bsData.Read(text, textLen);
text[textLen] = '\0';
if (set._displaygametext)
addMessageToChatWindow("{FF0000}RPC_DisplayGameText: {FFFFFF}%s", text);
break;
}
Thanks bro[kod]
case RPC_DisplayGameText:
{
traceLastFunc("RPC_DisplayGameText");
if (isCheatPanicEnabled() || !set._displaygametext) break;
/*
{'onDisplayGameText',
{stil = 'int32'},
{zaman = 'int32'},
{metin = 'string32'}}
*/
BitStream bsData(rpcParams->input, rpcParams->numberOfBitsOfData / 8, false);
uint32_t stil, zaman, textLen;
karakter metni[257];
bsData.Read(stil);
bsData.Read(zaman);
bsData.Read(textLen);
bsData.Read(metin, metinLen);
metin[textLen] = '\0';
if (set._displaygametext)
addMessageToChatWindow("{FF0000}RPC_DisplayGameText: {FFFFFF}%s", metin);
kırmak;
}
[/kod]
Dan mod_sa 0.3.DL kaynağı üzerinde mükemmel çalışma github .
Ana BilgisayarAdı: [0.3.7/DL] MovieServer Yeniden Yüklendi | ReloadedServer.c