mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-07-15 15:07:51 +08:00
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:
@ -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.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user