Add more spoofing options and added clang-format (#1020)

* feat(Spoofing): add spoofing
* feat(Spoofing): prepare code for player attach
* remove(PlayerAttach): isn't going to work due to netsync architecture
* fix(GUI): fix scaling
* feat(Project): add clang-format file
* feat(Classes): update classes
* fix(BlackHole): remove unnecessary cleanup
* fix(Formatting): fix formatting for initializer lists
* feat(clang-format): Set tab width and 1 space before comment

Co-authored-by: Yimura <24669514+Yimura@users.noreply.github.com>
This commit is contained in:
maybegreat48
2023-03-01 21:27:15 +00:00
committed by GitHub
parent 92aea20cd6
commit 97a8c5d60b
466 changed files with 55224 additions and 35596 deletions

View File

@ -27,7 +27,7 @@ namespace big
else
{
Vector3 entLoc = ENTITY::GET_ENTITY_COORDS(entity, true);
double dist = math::distance_between_vectors(self::pos, entLoc);
double dist = math::distance_between_vectors(self::pos, entLoc);
if (dist > 500)
{
@ -39,11 +39,13 @@ namespace big
{
entity::delete_entity(entity);
}
else g_notification_service->push_error("Weapons", "Failed to take control of entity.");
else
g_notification_service->push_error("Weapons", "Failed to take control of entity.");
}
}
}
else g_notification_service->push_error("Weapons", "No entity found.");
else
g_notification_service->push_error("Weapons", "No entity found.");
}
}
}