feat: prevent exploit reports (#1091)
This commit is contained in:
parent
d87caaa6d7
commit
5a3e110f90
@ -144,5 +144,10 @@ namespace big
|
||||
{
|
||||
src->set_return_value<BOOL>(TRUE);
|
||||
}
|
||||
|
||||
void RETURN_FALSE(rage::scrNativeCallContext* src)
|
||||
{
|
||||
src->set_return_value<BOOL>(FALSE);
|
||||
}
|
||||
}
|
||||
}
|
@ -113,6 +113,8 @@ namespace big
|
||||
add_native_detour(0xEB354E5376BC81A7, all_scripts::HUD_FORCE_WEAPON_WHEEL);
|
||||
add_native_detour(0x158C16F5E4CF41F8, all_scripts::RETURN_TRUE); //bypass casino country restrictions
|
||||
|
||||
add_native_detour(RAGE_JOAAT("shop_controller"), 0x34616828CD07F1A1, all_scripts::RETURN_FALSE); // prevent exploit reports
|
||||
|
||||
add_native_detour(RAGE_JOAAT("carmod_shop"), 0x06843DA7060A026B, carmod_shop::SET_ENTITY_COORDS);
|
||||
add_native_detour(RAGE_JOAAT("carmod_shop"), 0x8E2530AA8ADA980E, carmod_shop::SET_ENTITY_HEADING);
|
||||
add_native_detour(RAGE_JOAAT("carmod_shop"), 0x34E710FF01247C5A, carmod_shop::SET_VEHICLE_LIGHTS);
|
||||
|
Reference in New Issue
Block a user