on my s2s hook when i include this like you are sposed to it crashes
return oSendToServer( Messege, Flags );
but when i dont include it the ammo is visual
when it is included it crashes on turn on
btw my hook works its through cshell and on top of that i have a full hs bypass
so im stuck idk whats rong
i hade it working i left for awile my pc was messed with by my stupid brother and it fucks up
Code
Code:
int cMisc::SendToServer(ILTMessage_Read *Message, unsigned int flags)
{
CAutoMessage cMsg;
uint8 ID = Message->Readuint8();
if(HackVar.UnlAmmo)
{
if(ID == 130)
{
cMsg.Reset();
cMsg.Writeuint8(130);
int iCount = 70;
if(Message->Size() >= 992) iCount = 97;
for(int i = 0; i < iCount; i++)
cMsg.Writeuint8(Message->Readuint8());
return oSendToServer( cMsg.Read(), flags );
}
}
return oSendToServer( Message, flags );
}