How to access CPools?
Frouk3 opened this issue · 4 comments
Frouk3 commented
Question: How
Izzotop commented
Frouk3 commented
But without plugin?
Izzotop commented
GetVehiclePool() == CPools::ms_pVehiclePool
// 0x42C250
bool CCarCtrl::IsAnyoneParking() {
for (auto i = 0; i < GetVehiclePool()->GetSize(); i++) {
if (auto vehicle = GetVehiclePool()->GetAt(i)) {
...
}
}
return false;
}
Frouk3 commented
ty