feat: Some small additions (#755)

This commit is contained in:
Bugisoft
2022-12-30 02:09:33 +01:00
committed by GitHub
parent 5bc81ee724
commit 089bcebc17
10 changed files with 79 additions and 6 deletions

View File

@ -27,12 +27,13 @@ namespace big
void IS_DLC_PRESENT(rage::scrNativeCallContext* src)
{
const auto hash = src->get_arg<rage::joaat_t>(0);
bool return_value = DLC::IS_DLC_PRESENT(hash);
BOOL return_value = DLC::IS_DLC_PRESENT(hash);
if (hash == 0x96F02EE6)
return_value = return_value || g.settings.dev_dlc;
src->set_return_value(return_value);
src->set_return_value<BOOL>(return_value);
}
void NETWORK_SET_THIS_SCRIPT_IS_NETWORK_SCRIPT(rage::scrNativeCallContext* src)