Hey guys there's this bug/issue (i dont know what it is) with beast mode. When activated i cannot move but when turned off i teleport to another position. Here's a video and the source. Video quality is shit:
Credits to @supercarz1991 and others whom i do not know for this source
Code:
ModelInfo* PlayerStruct = (ModelInfo*) g_LTClient->GetPlayer();
subitem = (SubMenuItem*)Main->Menu->GetItemByText(T("VIP"));
if(Main->Tools->IsValidPointer(subitem))
{
MenuItem * item = subitem->GetSubMenu()->GetItemByText(T("Beast Mode"));
{
if(item->GetValue() && PlayerStruct != 0 && Status)
{
WriteOpCode((void*) CameraUpdate, "\xC3", 1);
g_CommonLT->SetObjectFlags(g_LTClient->GetPlayer(), OFT_Flags, 0, FLAG_SOLID);
}
else
{
g_CommonLT->SetObjectFlags(g_LTClient->GetPlayer(), OFT_Flags, FLAG_SOLID, FLAG_SOLID);
WriteOpCode((void*) CameraUpdate, "\x83", 1);
}
}
}