refactor(Features/looped): Resorted files into sub dirs

This commit is contained in:
Yimura 2021-01-15 22:56:58 +01:00
parent 63753dfbfb
commit 777173d67c
No known key found for this signature in database
GPG Key ID: 54EFAD29393A6E78
16 changed files with 17 additions and 6 deletions

View 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;
}
}

View File

@ -6,7 +6,7 @@ namespace big
{
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);
}QUEUE_JOB_END_CLAUSE