refactor(Features/looped): Resorted files into sub dirs
This commit is contained in:
parent
63753dfbfb
commit
777173d67c
11
BigBaseV2/src/features/looped/tunables/disable_phone.cpp
Normal file
11
BigBaseV2/src/features/looped/tunables/disable_phone.cpp
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
#include "features.hpp"
|
||||||
|
#include "script_global.hpp"
|
||||||
|
|
||||||
|
namespace big
|
||||||
|
{
|
||||||
|
void features::disable_phone()
|
||||||
|
{
|
||||||
|
if (g_settings.options["disable_phone"])
|
||||||
|
*script_global(19664).as<int*>() = 1;
|
||||||
|
}
|
||||||
|
}
|
@ -6,7 +6,7 @@ namespace big
|
|||||||
{
|
{
|
||||||
bool bNoBikeFall = g_settings.options["no_bike_fall"].get<bool>();
|
bool bNoBikeFall = g_settings.options["no_bike_fall"].get<bool>();
|
||||||
|
|
||||||
QUEUE_JOB_BEGIN_CLAUSE(=)
|
QUEUE_JOB_BEGIN_CLAUSE(= )
|
||||||
{
|
{
|
||||||
PED::SET_PED_CAN_BE_KNOCKED_OFF_VEHICLE(PLAYER::PLAYER_PED_ID(), bNoBikeFall);
|
PED::SET_PED_CAN_BE_KNOCKED_OFF_VEHICLE(PLAYER::PLAYER_PED_ID(), bNoBikeFall);
|
||||||
}QUEUE_JOB_END_CLAUSE
|
}QUEUE_JOB_END_CLAUSE
|
Reference in New Issue
Block a user