[Bots] Stopped default behaviour of the bots

This commit is contained in:
INeedBots 2020-11-14 02:44:59 -06:00
parent 7aaa64f02d
commit 0df43296f8

View File

@ -78,6 +78,10 @@ namespace Components
// Intercept sprintf for the connect string
Utils::Hook(0x48ADAB, Bots::BuildConnectString, HOOK_CALL).install()->quick();
// Stop default behavour of bots spinning and shooting
Utils::Hook(0x627021, 0x4BB9B0, HOOK_CALL).install()->quick();
Utils::Hook(0x627241, 0x4BB9B0, HOOK_CALL).install()->quick();
Command::Add("spawnBot", [](Command::Params* params)
{
unsigned int count = 1;