𝐅𝐄𝐀𝐓𝐔𝐑𝐄𝐒𝐓𝐈𝐂 𝐋𝐄𝐀𝐊𝐒
Открыть в Telegram
📌 Educational & Research Purpose Only 🔍 Sharing publicly available source code for learning ❌ No selling ❌ No buying ❌ No promotions ⚠️ I am not responsible for misuse 📚 For knowledge & awareness only MODs & Kernel Resources.☑️
Больше1 932
Подписчики
+724 часа
+517 дней
+21030 дней
Архив постов
1 932
if (Hexacrazycar) {
std::vector<ASTExtraVehicleBase*> VehicleBase;
GetAllActors(VehicleBase);
for (auto actor = VehicleBase.begin(); actor != VehicleBase.end(); actor++) {
auto Vehicle = *actor;
if (!Vehicle || !Vehicle->Mesh)
continue;
if (!Vehicle->RootComponent)
continue;
if (localPlayer && localPlayer->CurrentVehicle == Vehicle) {
auto RootComponent = static_cast<UPrimitiveComponent*>(Vehicle->K2_GetRootComponent());
if (RootComponent) {
if (Vehicle->GetMoveForwardRate() > 0) {
FVector Velocity;
auto Yaw = localPlayerController->PlayerCameraManager->CameraCache.POV.Rotation.Yaw;
float Radians = Yaw * 3.14159265359f / 180.0f; // M_PI ki jagah standard float value
float DesiredSpeed = 200.0f;
float FlySpeed = 10000.0f;
Velocity.X = DesiredSpeed * std::cos(Radians);
Velocity.Y = DesiredSpeed * std::sin(Radians);
Velocity.Z = FlySpeed;
RootComponent->SetAllPhysicsLinearVelocity(Velocity, true);
// MADE BY - HEXACORE
}
}
}
}
}