The project I have has an anti sobeit. But I can't transfer it to other projects. The codes that work in this project do not work there, everything is correct, but it does not work. Is there a solution to this?
C++:
bool antisobeit = false;
bool HookedRakClientInterface::RPC(int* uniqueID, BitStream* parameters, PacketPriority priority, PacketReliability reliability, char orderingChannel, bool shiftTimestamp)
{
traceLastFunc("HookedRakClientInterface::RPC(BitStream)");
if (uniqueID != nullptr)
{
if (*uniqueID == RPC_ClientCheck)
{
if (!antisobeit)
{
GTAfunc_showStyledText("~B~Anti-Sobeit ~W~removed.", 1000, 5);
antisobeit = true;
return false;
}
else
return false;
}
}
return g_RakClient->GetInterface()->RPC(uniqueID, parameters, priority, reliability, orderingChannel, shiftTimestamp);
}