Toxic features and improve protections (#897)

This commit is contained in:
maybegreat48
2023-01-22 21:57:32 +00:00
committed by GitHub
parent ee99333f7e
commit 8173adb87f
58 changed files with 7912 additions and 6674 deletions

View File

@ -107,6 +107,7 @@ namespace big
looped::session_force_thunder();
looped::session_randomize_ceo_colors();
looped::session_auto_kick_host();
looped::session_block_jobs();
script::get_current()->yield();
}
@ -176,4 +177,16 @@ namespace big
script::get_current()->yield();
}
}
void backend::world_loop()
{
LOG(INFO) << "Starting script: World";
while (g_running)
{
looped::world_spawn_ped();
script::get_current()->yield();
}
}
}